/* ===== Base ===== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

/* ===== Hero fade-in animation ===== */
@keyframes hero-fade-in {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  animation: hero-fade-in 1.2s ease-out both;
}

.hero-content .hero-delay-1 {
  animation: hero-fade-in 1.2s ease-out 0.2s both;
}

.hero-content .hero-delay-2 {
  animation: hero-fade-in 1.2s ease-out 0.4s both;
}

.hero-content .hero-delay-3 {
  animation: hero-fade-in 1.2s ease-out 0.6s both;
}

.hero-content .hero-delay-4 {
  animation: hero-fade-in 1.2s ease-out 0.8s both;
}

/* ===== Scroll fade-in sections ===== */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Hamburger menu ===== */
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #333333;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===== Mobile nav slide-down ===== */
.nav-links {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.nav-links.open {
  max-height: 300px;
}

@media (min-width: 768px) {
  .nav-links {
    max-height: none;
    overflow: visible;
  }
}

/* ===== Gold divider gradient ===== */
.gold-divider {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    #C9A96E 20%,
    #C9A96E 80%,
    transparent
  );
}

/* ===== Nav shadow on scroll ===== */
.nav-scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* ===== Active nav link ===== */
.nav-link {
  position: relative;
  transition: color 0.2s ease;
}

.nav-link.active {
  color: #A8B5A0;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #A8B5A0;
  border-radius: 1px;
}

/* ===== Timeline dots ===== */
.timeline-dot {
  width: 12px;
  height: 12px;
  min-width: 12px;
  background-color: #C9A96E;
  border-radius: 50%;
}
