/* ===== BASE & RESET ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
}

::selection {
  background: rgba(201, 169, 110, 0.3);
  color: #fff;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0d0d0d;
}
::-webkit-scrollbar-thumb {
  background: #2e2e2e;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #C9A96E;
}

/* ===== PARTICLES ===== */
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #C9A96E;
  border-radius: 50%;
  opacity: 0;
  animation: floatParticle 8s infinite ease-in-out;
}

@keyframes floatParticle {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0.5); }
  10% { opacity: 0.6; }
  50% { opacity: 0.3; transform: translateY(-120px) scale(1); }
  90% { opacity: 0; }
}

/* ===== HERO ANIMATIONS ===== */
.hero-eyebrow {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

.hero-headline {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.5s;
}

.hero-subtitle {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.8s;
}

.hero-ctas {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 1.1s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== SECTION ANIMATIONS ===== */
.section-eyebrow,
.section-title,
.section-subtitle {
  opacity: 0;
  transform: translateY(25px);
}

.section-eyebrow.animated,
.section-title.animated,
.section-subtitle.animated {
  animation: fadeInUp 0.7s ease forwards;
}

.section-subtitle.animated {
  animation-delay: 0.2s;
}

.section-title.animated {
  animation-delay: 0.1s;
}

/* ===== SERVICE CARDS ===== */
.service-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

.service-card.animated {
  opacity: 1;
  transform: translateY(0);
}

/* ===== GALLERY ITEMS ===== */
.gallery-item {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.gallery-item.animated {
  opacity: 1;
  transform: scale(1);
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.5s ease;
}

.testimonial-card.animated {
  opacity: 1;
  transform: translateY(0);
}

/* ===== HEADER SCROLL ===== */
#header.scrolled {
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 169, 110, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

#header.scrolled .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

/* ===== MOBILE MENU ===== */
.mobile-link {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

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

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

/* ===== ACTIVE NAV LINK ===== */
.nav-link.active {
  color: #C9A96E !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-headline {
    font-size: 2.5rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-headline {
    font-size: 3.5rem;
  }
}
