/* ==================== BASE ==================== */
html {
  scroll-padding-top: 64px;
}

/* ==================== NAVBAR (ADAPTIVE) ==================== */
#navbar .nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.8);
}

#navbar .nav-link:hover {
  color: #CC6B1F;
}

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

#navbar .nav-link:hover::after,
#navbar .nav-link.active::after {
  width: 100%;
}

#navbar .nav-link.active {
  color: #CC6B1F;
}

#navbar .nav-icon {
  color: #FFFFFF;
}

#navbar .brand-name {
  color: #FFFFFF;
}

#navbar .nav-cta {
  background: #B45309;
  color: #FFFFFF;
}

#navbar.scrolled {
  background: rgba(245, 240, 235, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

#navbar.scrolled .nav-link {
  color: #78716C;
}

#navbar.scrolled .nav-link:hover {
  color: #B45309;
}

#navbar.scrolled .nav-link::after {
  background: #B45309;
}

#navbar.scrolled .nav-link.active {
  color: #B45309;
}

#navbar.scrolled .nav-icon {
  color: #1C1917;
}

#navbar.scrolled .brand-name {
  color: #1C1917;
}

#navbar.scrolled .nav-cta {
  background: #B45309;
}

.mobile-nav-link.active {
  color: #CC6B1F;
}

/* ==================== HERO CAROUSEL ==================== */
.hero-slide {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-dot.active {
  width: 1.25rem;
  border-radius: 9999px;
  background: #CC6B1F;
}

/* ==================== BACK TO TOP ==================== */
#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

/* ==================== REDUCED MOTION ==================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-aos] { opacity: 1 !important; transform: none !important; }
}

@media (max-width: 768px) {
  [data-aos] { duration: 500ms !important; }
}

/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #F5F0EB; }
::-webkit-scrollbar-thumb { background: #B45309; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #CC6B1F; }

::selection { background: rgba(180, 83, 9, 0.2); color: #1C1917; }
