/* ===== Custom Styles for Premier Lash & Brow ===== */

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0a1220;
}
::-webkit-scrollbar-thumb {
  background: #1a2d4f;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c9a22b;
}

/* Header scroll state */
header.scrolled {
  background: rgba(10, 18, 32, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 162, 43, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Nav link underline animation */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: #c9a22b;
  transition: width 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
}

/* Mobile menu link */
.mobile-nav-link {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s ease;
}

/* Service cards */
.service-card {
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(201, 162, 43, 0.08);
}

/* Gallery items */
.gallery-item {
  cursor: pointer;
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  border-radius: inherit;
  transition: border-color 0.3s ease;
  pointer-events: none;
}
.gallery-item:hover::after {
  border-color: rgba(201, 162, 43, 0.4);
}

/* Review cards */
.review-card {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* Select styling */
select option {
  background: #111e36;
  color: #fff;
  padding: 8px;
}

/* Focus visible for accessibility */
*:focus-visible {
  outline: 2px solid #c9a22b;
  outline-offset: 2px;
}

/* ===== Scroll Reveal Animations =====
   Progressive enhancement: only active when JS runs
   and user prefers motion.
*/
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.revealed {
    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; }
  .reveal-delay-6 { transition-delay: 0.6s; }
}

/* If JS is disabled, content is always visible (no .reveal class added) */
.no-js .reveal,
.js .reveal {
  /* JS will add .revealed class */
}
