/* ============================================
   Fancy Nails & Spa — Custom Styles
   Premium Dark Luxury | Emerald + Cream + Gold
   ============================================ */

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

body {
  background-color: #030705;
  color: #FAF8F5;
}

::selection {
  background: rgba(212, 168, 83, 0.3);
  color: #FAF8F5;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #060E0A;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #059669, #D4A853);
  border-radius: 4px;
}

/* ---------- Gold Gradient Text ---------- */
.gold-gradient-text {
  background: linear-gradient(135deg, #D4A853 0%, #E8C97A 40%, #D4A853 70%, #B8912A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Section Labels ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #D4A853;
  font-weight: 500;
}

.section-label::before,
.section-label::after {
  content: '';
  height: 1px;
  width: 32px;
  background: linear-gradient(90deg, transparent, #D4A853);
}

.section-label::after {
  background: linear-gradient(90deg, #D4A853, transparent);
}

/* ---------- Section Titles ---------- */
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: #FAF8F5;
}

/* ---------- Navbar ---------- */
#navbar.scrolled #nav-inner {
  background: rgba(3, 7, 5, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 168, 83, 0.1);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #D4A853, #E8C97A);
  transition: width 0.3s ease;
}

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

/* ---------- Mobile Menu ---------- */
.mobile-menu-open {
  overflow: hidden;
}

.mobile-menu-open #mobile-menu {
  pointer-events: auto;
  opacity: 1;
}

.mobile-menu-open #menu-icon-open {
  display: none;
}

.mobile-menu-open #menu-icon-close {
  display: block;
}

.mobile-menu-link {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
}

.mobile-menu-open .mobile-menu-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-open .mobile-menu-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-open .mobile-menu-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu-open .mobile-menu-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu-open .mobile-menu-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu-open .mobile-menu-link:nth-child(5) { transition-delay: 0.3s; }

/* ---------- Scroll Indicator ---------- */
.scroll-line {
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, #D4A853);
  animation: scrollDown 2s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ---------- Service Cards ---------- */
.service-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ---------- Gallery Items ---------- */
.gallery-item {
  cursor: pointer;
}

/* ---------- Testimonial Cards ---------- */
.testimonial-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ---------- Contact Cards ---------- */
.contact-card {
  background: rgba(255, 255, 255, 0.02);
}

/* ---------- Scroll Reveal (Below Fold Only) ---------- */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(40px);
  }

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

/* ---------- Back to Top ---------- */
#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ---------- Input Focus ---------- */
input:focus,
textarea:focus {
  border-color: rgba(212, 168, 83, 0.6) !important;
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.1);
}

/* ---------- Button Shine Effect ---------- */
button[style*="linear-gradient"],
a[style*="linear-gradient"] {
  position: relative;
  overflow: hidden;
}

button[style*="linear-gradient"]::before,
a[style*="linear-gradient"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
}

button[style*="linear-gradient"]:hover::before,
a[style*="linear-gradient"]:hover::before {
  left: 100%;
}
