@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --color-green: #ACB544;
  --color-green-light: #7AB634;
  --color-green-dark: #1D6D46;
  --color-brown: #8b5a2b;
  --color-brown-light: #a67446;
  --color-cream: #fbf9f6;
  --color-orange: #cc5526;
  --color-text-main: #333333;
  --color-text-muted: #666666;
  --color-orange-bright: #Eb8123;
  --color-blue-light: #58B5D7;
  --color-blue: #1D719E;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--color-cream);
  color: var(--color-text-main);
}

body {
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Marcellus', serif;
}

/* Global overrides for inline Tailwind utility classes */
.font-\[\'Playfair_Display\'\] {
  font-family: 'Marcellus', serif !important;
}

.font-\[\'Outfit\'\] {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* Typography Utilities */
.hero-title {
  font-family: 'Marcellus', serif;
  font-size: 3rem;
  line-height: 1.1;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
}
@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: #f1f1f1;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
  margin-top: 1rem;
  margin-bottom: 2rem;
  max-width: 600px;
}
@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.section-title {
  font-family: 'Marcellus', serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-green-dark);
  margin-bottom: 0.5rem;
  text-align: center;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

/* Layout Utilities */
.container-custom {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* Components */
.btn-primary {
  display: inline-block;
  background-color: var(--color-orange);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(210, 105, 30, 0.3);
}
.btn-primary:hover {
  background-color: #b55a1a;
  transform: translateY(-2px);
  box-shadow: 0 6px 10px -1px rgba(210, 105, 30, 0.4);
}

.btn-secondary {
  display: inline-block;
  background-color: white;
  color: var(--color-green-dark);
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.btn-secondary:hover {
  background-color: #f1f1f1;
  transform: translateY(-2px);
  box-shadow: 0 6px 10px -1px rgba(0, 0, 0, 0.15);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  transition: all 0.3s ease;
  background-color: transparent;
  padding: 1rem 0;
}
.navbar.scrolled {
  background-color: rgba(251, 249, 246, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  padding: 0.5rem 0;
}
.navbar.scrolled .nav-link {
  color: var(--color-text-main);
}
.navbar.scrolled .logo-text {
  color: var(--color-green-dark);
}
.navbar.scrolled .logo-title {
  color: var(--color-green-dark);
}
.navbar.scrolled .logo-subtitle {
  color: var(--color-brown);
}
.nav-link {
  color: white;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 0.875rem;
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.hover\:\!text-astagina-orange:hover {
  color: #eab308 !important;
}
.nav-link.active,
.nav-link.\!text-astagina-orange {
  color: #eab308 !important;
  font-weight: 600;
}

/* Mobile Menu Active & Hover Overrides to Yellow */
#mobile-menu a.text-astagina-orange {
  color: #eab308 !important;
}
#mobile-menu a.hover\:text-astagina-orange:hover {
  color: #eab308 !important;
}

/* Cards */
.event-card {
  background-color: white;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid rgba(0,0,0,0.02);
}
.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

/* Image wrappers */
.img-wrapper {
  overflow: hidden;
  border-radius: 1rem;
}
.img-wrapper img {
  transition: transform 0.5s ease;
}
.img-wrapper:hover img {
  transform: scale(1.05);
}

/* FAQ Accordion */
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding: 1rem 0;
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--color-green-dark);
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  color: var(--color-text-muted);
}
.faq-item.active .faq-answer {
  max-height: 500px;
  margin-top: 1rem;
}
.faq-item.active .lucide-chevron-down {
  transform: rotate(180deg);
}
.faq-icon {
  transition: transform 0.3s ease;
}

/* Mobile Menu */
#mobile-menu {
  display: none;
}
#mobile-menu.open {
  display: flex;
}

/* Swiper Custom Pagination & Dot Animations */
.swiper-pagination-bullet {
  background: var(--color-green) !important;
  width: 8px !important;
  height: 8px !important;
  opacity: 0.3 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.swiper-pagination-bullet-active {
  background: var(--color-orange) !important;
  width: 24px !important;
  border-radius: 4px !important;
  opacity: 1 !important;
}

/* Navbar Logo Scroll Toggles */
#navbar.scrolled .navbar-logo-white {
  display: none !important;
}
#navbar.scrolled .navbar-logo-dark {
  display: block !important;
}
#navbar:not(.scrolled) .navbar-logo-white {
  display: block !important;
}
#navbar:not(.scrolled) .navbar-logo-dark {
  display: none !important;
}

/* Slow Pulse Animation for Festival Logo */
.animate-pulse-slow {
  animation: pulse-slow 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-slow {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: .92;
    transform: scale(1.03);
  }
}

/* Premium Infinite Marquee Styles */
.marquee-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Luxury visual fades on the edges */
.marquee-container::before,
.marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}
.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, #fbf9f6 0%, rgba(251, 249, 246, 0) 100%);
}
.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, #fbf9f6 0%, rgba(251, 249, 246, 0) 100%);
}

.marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
}

.animate-marquee-left {
  animation: scroll-left 45s linear infinite;
}

.animate-marquee-right {
  animation: scroll-right 45s linear infinite;
}

/* Interactive playfulness: pause marquee on hover */
.marquee-track:hover {
  animation-play-state: paused;
}

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

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

/* Optimize navbar layout spacing and breathing room on larger screens */
@media (min-width: 1024px) {
  .navbar .container-custom {
    max-width: 1280px !important; /* Elegant boundary: holds links together beautifully without hugging screen edges */
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .navbar .hidden.lg\:flex {
    gap: 1.25rem !important; /* Perfect distance: elements feel unified and spacious */
  }
  .nav-link {
    font-size: 0.85rem;
  }
}

@media (min-width: 1440px) {
  .navbar .container-custom {
    max-width: 1360px !important; /* Keeps navbar items centered and integrated on wide displays */
  }
  .navbar .hidden.lg\:flex {
    gap: 1.5rem !important; /* Balanced widescreen gaps */
  }
  .nav-link {
    font-size: 0.925rem;
  }
}

/* Optimize footer layout bounds to align perfectly with the navbar on larger screens */
@media (min-width: 1024px) {
  footer .container-custom {
    max-width: 1280px !important;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1440px) {
  footer .container-custom {
    max-width: 1360px !important;
  }
}



