/* ══════════════════════════════════════════════
   Foot Reflexology — Custom Styles
   ══════════════════════════════════════════════ */

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #fdf0f1;
}
::-webkit-scrollbar-thumb {
  background: #a82e46;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #8a2235;
}

/* Navbar scroll state */
#navbar.scrolled {
  box-shadow: 0 4px 20px rgba(138, 34, 53, 0.1);
}

/* Hero parallax-like feel */
#hero {
  scroll-snap-align: start;
}

/* Section reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
  .reveal-delay-5 { transition-delay: 0.5s; }
}

/* Service card hover glow */
.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

/* Mobile menu transitions */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}
#mobile-menu.open {
  max-height: 400px;
  opacity: 1;
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 0 3px rgba(168, 46, 70, 0.15);
}

/* Selection color */
::selection {
  background: #fce3e6;
  color: #5c1926;
}

/* Print styles */
@media print {
  #navbar, #hero, #contact, footer {
    background: white !important;
    color: black !important;
  }
  a {
    color: black !important;
    text-decoration: underline !important;
  }
}
