/* Custom styles — progressive enhancement on top of Tailwind */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Header scroll state */
#site-header.scrolled #logo-text,
#site-header.scrolled #logo-sub {
  color: white;
}

#site-header.scrolled .nav-link {
  color: rgba(255,255,255,0.85);
}

#site-header.scrolled .nav-link:hover {
  color: white;
}

#site-header.scrolled .menu-line {
  background: white;
}

#site-header.scrolled .mobile-nav-link {
  color: #6c1a2e;
}

/* Selection color */
::selection {
  background: #c22d4a;
  color: white;
}

/* Focus visible styles */
:focus-visible {
  outline: 2px solid #c22d4a;
  outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #fdf2f4;
}
::-webkit-scrollbar-thumb {
  background: #e8a0b8;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c22d4a;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  .reveal, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
  }
}

/* Print styles */
@media print {
  #site-header, #mobile-menu, .reveal, .reveal-left, .reveal-right {
    display: none !important;
  }
  body {
    color: #000;
    background: #fff;
  }
}
