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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

::selection {
  background: rgba(201, 168, 76, 0.3);
  color: #f5f0e8;
}

/* ===== NAVBAR ===== */
.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%;
}

#navbar.scrolled {
  background: rgba(10, 24, 15, 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);
}

/* ===== MOBILE NAV ===== */
.mobile-nav-link {
  position: relative;
}

#mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

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

.hero-line {
  display: block;
  animation: slideUp 0.8s ease forwards;
  opacity: 0;
  transform: translateY(40px);
}

.hero-line:nth-child(1) { animation-delay: 0.2s; }
.hero-line:nth-child(2) { animation-delay: 0.4s; }
.hero-line:nth-child(3) { animation-delay: 0.6s; }

.hero-fade {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
  animation-delay: 0.8s;
}

.hero-image {
  opacity: 0;
  animation: slideInRight 1s ease forwards;
  animation-delay: 0.5s;
}

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

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== SCROLL INDICATOR ===== */
@keyframes scrollIndicator {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(16px); }
}

.animate-scroll-indicator {
  animation: scrollIndicator 1.5s ease-in-out infinite;
}

/* ===== MARQUEE ===== */
.marquee-track {
  animation: marquee 30s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  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; }

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

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

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

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

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

/* ===== MENU HOVER ===== */
#menu ul li {
  border-bottom: 1px solid rgba(245, 240, 232, 0.05);
  padding-bottom: 1.25rem;
}

#menu ul li:last-child {
  border-bottom: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  #hero h1 {
    font-size: 3rem;
  }

  #hero h1 .hero-line:nth-child(3) {
    font-size: 1.5rem !important;
  }

  .hero-image {
    margin-top: 3rem;
  }

  .floating-badge {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    margin-top: 1.5rem;
  }
}

@media (max-width: 640px) {
  #hero h1 {
    font-size: 2.5rem;
  }
}
