/* ============================================
   Dennis James Salon — Custom Styles
   Premium Dark Luxury Theme
   ============================================ */

/* --- Base & Utilities --- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Gold Button --- */
.gold-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #F2D06B 0%, #C9A84C 50%, #A8893E 100%);
  color: #0a1628;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.25);
}

.gold-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.35);
  background: linear-gradient(135deg, #f5d878 0%, #d4b456 50%, #b8994a 100%);
}

.gold-btn:active {
  transform: translateY(0);
}

/* --- Nav Links --- */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #C9A84C;
  transition: width 0.3s ease;
}

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

/* --- Mobile Nav Links --- */
.mobile-nav-link {
  position: relative;
}

/* --- Header States --- */
#site-header.scrolled {
  background: rgba(7, 15, 30, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* --- Service Cards --- */
.service-card {
  perspective: 1000px;
}

.service-card > div {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover > div {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  .service-card > div,
  .gold-btn,
  .group img {
    transition: none;
  }

  .group:hover img {
    transform: none;
  }
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #070f1e;
}

::-webkit-scrollbar-thumb {
  background: rgba(201, 168, 76, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(201, 168, 76, 0.5);
}

/* --- Selection --- */
::selection {
  background: rgba(201, 168, 76, 0.3);
  color: #F2D06B;
}

/* --- Form Select Arrow --- */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C9A84C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* --- Mobile Menu Animation --- */
#mobile-menu {
  transform: translateX(100%);
}

#mobile-menu.open {
  transform: translateX(0);
}
