/* ═══════════════════════════════════════════════════════════
   Beauty by Jess — Premium Dark Luxury Styles
   ═══════════════════════════════════════════════════════════ */

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

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

body {
  overflow-x: hidden;
}

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

/* ── Gold Gradient Button ── */
.gold-btn {
  background: linear-gradient(135deg, #D4A853 0%, #c49a3f 50%, #a07d30 100%);
  color: #0C0C0C;
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
  border-radius: 4px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.gold-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #f0d890 0%, #e8c96a 50%, #D4A853 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gold-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 168, 83, 0.35);
}

.gold-btn:hover::before {
  opacity: 1;
}

.gold-btn span,
.gold-btn svg,
.gold-btn > * {
  position: relative;
  z-index: 1;
}

/* ── Navigation ── */
#navbar {
  background: transparent;
}

#navbar.scrolled {
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 168, 83, 0.1);
  box-shadow: 0 4px 30px 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, #f0d890);
  transition: width 0.3s ease;
}

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

.nav-link:hover {
  color: #e8c96a !important;
}

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

#mobile-menu.closed {
  opacity: 0 !important;
  pointer-events: none !important;
}

.mobile-link {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  font-style: italic;
}

/* Hamburger animation */
#bar1.open {
  transform: rotate(45deg) translate(5px, 5px);
}

#bar2.open {
  opacity: 0;
}

#bar3.open {
  transform: rotate(-45deg) translate(5px, -5px);
  width: 100%;
}

/* ── Hero Particles ── */
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, #D4A853 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
  opacity: 0.5;
}

.particle.gold {
  width: 6px;
  height: 6px;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0.3;
  }
  25% {
    transform: translateY(-20px) translateX(10px) scale(1.2);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-10px) translateX(-10px) scale(0.8);
    opacity: 0.5;
  }
  75% {
    transform: translateY(-30px) translateX(5px) scale(1.1);
    opacity: 0.6;
  }
}

/* ── Service Cards ── */
.service-card {
  background: rgba(12, 12, 12, 0.6);
  border: 1px solid rgba(212, 168, 83, 0.08);
  border-radius: 8px;
  padding: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.service-card:hover {
  border-color: rgba(212, 168, 83, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(212, 168, 83, 0.06);
}

/* ── Testimonial Cards ── */
.testimonial-card {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
  .particle {
    animation: none;
    opacity: 0.3;
  }
}

/* ── Back to Top ── */
.back-to-top {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

.back-to-top:hover {
  transform: translateY(-3px);
}

/* ── Form Styles ── */
select option {
  background: #0C0C0C;
  color: #FDFBF7;
}

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

::-webkit-scrollbar-track {
  background: #0C0C0C;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #D4A853, #a07d30);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #f0d890, #D4A853);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .gold-btn {
    padding: 0.65rem 1.5rem;
    font-size: 0.75rem;
  }
}
