/* ===== CUSTOM STYLES FOR ALL INCLUSIVE MASSAGE THERAPY ===== */

:root {
  --color-bg: #120E0B;
  --color-bg-alt: #1A1210;
  --color-gold: #C8956C;
  --color-gold-light: #D4A878;
  --color-terracotta: #A0604A;
  --color-sand: #E8D5C4;
  --color-sand-muted: #C4B4A2;
  --color-dark: #1A1210;
}

/* Reset & base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
#navbar {
  background: transparent;
  transition: background 0.5s ease, box-shadow 0.5s ease, backdrop-filter 0.5s ease;
}

#navbar.scrolled {
  background: rgba(18, 14, 11, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(200, 149, 108, 0.1);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Mobile menu */
#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.menu-line {
  display: block;
}

#menu-btn.active .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(3px, 3px);
}

#menu-btn.active .menu-line:nth-child(2) {
  opacity: 0;
}

#menu-btn.active .menu-line:nth-child(3) {
  transform: rotate(-45deg) translate(3px, -3px);
  width: 1.25rem;
}

/* ===== HERO ===== */
#hero {
  position: relative;
}

.animate-scroll-dot {
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
  0% { top: -16px; opacity: 0; }
  50% { opacity: 1; }
  100% { top: 48px; opacity: 0; }
}

/* ===== SERVICE CARDS ===== */
.service-card {
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.5s ease, box-shadow 0.5s ease;
}

.service-card:hover {
  box-shadow: 0 20px 60px rgba(200, 149, 108, 0.08);
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.5s ease, box-shadow 0.5s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 149, 108, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .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; }
}

/* ===== GOLD ACCENT ANIMATIONS ===== */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ===== FORM STYLES ===== */
select option {
  background: var(--color-bg);
  color: var(--color-sand);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
  html {
    scroll-padding-top: 70px;
  }
}

/* ===== FOCUS STYLES ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* ===== SELECTION ===== */
::selection {
  background: rgba(200, 149, 108, 0.3);
  color: var(--color-sand);
}
