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

/* ==================== NAVBAR ==================== */
#navbar.scrolled {
  background: rgba(27, 18, 16, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #C89B5F;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

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

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

/* ==================== MENU TABS ==================== */
.menu-tab {
  cursor: pointer;
}

.menu-tab.active {
  background: #C89B5F;
  color: #1B1210;
  border-color: #C89B5F;
}

/* ==================== GALLERY LIGHTBOX ==================== */
#lightbox {
  animation: fadeIn 0.3s ease;
}

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

#lightbox-img {
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ==================== PRICING CARDS ==================== */
.pricing-card {
  transition: transform 0.5s ease, border-color 0.5s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
}

/* ==================== TESTIMONIAL SWIPER ==================== */
.testimonial-swiper .swiper-pagination-bullet {
  background: #C89B5F;
  opacity: 0.3;
  width: 10px;
  height: 10px;
  transition: all 0.3s ease;
}

.testimonial-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  width: 28px;
  border-radius: 5px;
}

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

  .animate-bounce {
    animation: none;
  }

  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==================== MOBILE AOS OVERRIDE ==================== */
@media (max-width: 768px) {
  [data-aos] {
    duration: 500ms !important;
  }
}

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

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

::-webkit-scrollbar-thumb {
  background: #C89B5F;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #D9B483;
}

/* ==================== SELECTION ==================== */
::selection {
  background: rgba(200, 155, 95, 0.3);
  color: #1B1210;
}

/* ==================== FORM STYLES ==================== */
input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 0 3px rgba(200, 155, 95, 0.15);
}
