/* ============================================
   Collection 806 — Custom Styles
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Outfit', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Navigation
   ============================================ */
#navbar {
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
  background-color: rgba(58, 15, 69, 0.9);
  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: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #f5b731, #f9a8d4);
  transition: width 0.3s ease;
}

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

.cta-nav-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, #f5b731, #d4880f);
  color: #3a0f45;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.cta-nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 183, 49, 0.3);
  color: #3a0f45;
}

/* Mobile Menu */
#mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

#mobile-menu.active .mobile-nav-link {
  animation: fadeInUp 0.4s ease forwards;
}

#mobile-menu .mobile-nav-link:nth-child(1) { animation-delay: 0.05s; }
#mobile-menu .mobile-nav-link:nth-child(2) { animation-delay: 0.1s; }
#mobile-menu .mobile-nav-link:nth-child(3) { animation-delay: 0.15s; }
#mobile-menu .mobile-nav-link:nth-child(4) { animation-delay: 0.2s; }
#mobile-menu .mobile-nav-link:nth-child(5) { animation-delay: 0.25s; }

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

.menu-line {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#menu-toggle.active .menu-line:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

#menu-toggle.active .menu-line:nth-child(2) {
  opacity: 0;
}

#menu-toggle.active .menu-line:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
  width: 1.25rem;
}

/* ============================================
   Hero
   ============================================ */
.hero-orb {
  animation: float 8s ease-in-out infinite;
}

.orb-1 { animation-delay: 0s; }
.orb-2 { animation-delay: -2.5s; }
.orb-3 { animation-delay: -5s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -20px) scale(1.05); }
  66% { transform: translate(-10px, 15px) scale(0.95); }
}

.hero-shape {
  animation: rotate 20s linear infinite;
}

.shape-1 { animation-delay: 0s; }
.shape-2 { animation-delay: -5s; }
.shape-3 { animation-delay: -10s; }
.shape-4 { animation-delay: -15s; }
.shape-5 { animation-delay: -7s; }

@keyframes rotate {
  from { transform: rotate(0deg) translateX(5px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(5px) rotate(-360deg); }
}

.hero-badge {
  animation: badgeIn 0.8s ease forwards;
}

@keyframes badgeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   Buttons
   ============================================ */
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #f5b731, #d4880f);
  color: #3a0f45;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 60px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ffe08a, #f5b731);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

.cta-primary:hover::before {
  opacity: 1;
}

.cta-primary span,
.cta-primary .cta-arrow {
  position: relative;
  z-index: 1;
}

.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(245, 183, 49, 0.35);
}

.cta-arrow {
  transition: transform 0.3s ease;
}

.cta-primary:hover .cta-arrow {
  transform: translateX(4px);
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background: transparent;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 60px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}

/* ============================================
   Section Headings
   ============================================ */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #f5b731;
  background: rgba(245, 183, 49, 0.1);
  border: 1px solid rgba(245, 183, 49, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 50px;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: white;
}

/* ============================================
   Menu Cards
   ============================================ */
.menu-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.menu-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ============================================
   Gallery
   ============================================ */
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(58, 15, 69, 0.6) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item img {
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* ============================================
   Visit Cards
   ============================================ */
.visit-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.visit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.25);
}

/* ============================================
   Form
   ============================================ */
.form-input {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
  border-color: #f5b731;
  box-shadow: 0 0 0 4px rgba(245, 183, 49, 0.15);
}

.form-input option {
  background: #3a0f45;
  color: white;
}

/* ============================================
   Scroll Reveal (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .reveal.revealed {
    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; }
  .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ============================================
   Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 640px) {
  .cta-primary,
  .cta-secondary {
    width: 100%;
    justify-content: center;
  }
}
