/* ============================================
   TARA LASHES — Custom Styles
   Premium Dark Luxury Beauty Salon
   ============================================ */

/* Base & Typography */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osmanx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
}

::selection {
  background: rgba(201, 168, 76, 0.3);
  color: #faf8f4;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0a1a0f;
}
::-webkit-scrollbar-thumb {
  background: rgba(201, 168, 76, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(201, 168, 76, 0.5);
}

/* ============================================
   NAVBAR
   ============================================ */
#navbar {
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
}

#navbar.scrolled {
  background: rgba(10, 26, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ============================================
   HERO
   ============================================ */
#hero {
  min-height: 100vh;
  min-height: 100dvh;
}

/* ============================================
   REVEAL ANIMATIONS (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  /* Stagger children */
  .reveal-delay-100 { transition-delay: 100ms; }
  .reveal-delay-200 { transition-delay: 200ms; }
  .reveal-delay-300 { transition-delay: 300ms; }
}

/* Ensure content is visible even without JS */
@media not all and (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.03) 0%, transparent 60%);
  pointer-events: none;
  border-radius: inherit;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
}

.gallery-item img {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* ============================================
   FORM ELEMENTS
   ============================================ */
select option {
  background: #0d1f18;
  color: #f5f0e8;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
}

/* ============================================
   MOBILE MENU
   ============================================ */
#mobileMenu {
  animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-link {
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mobile-link:last-child {
  border-bottom: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 640px) {
  .font-serif {
    line-height: 1.15;
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  #hero {
    padding-top: 6rem;
  }
}
