/* =========================================================
   One Love Manassas - Custom High-Performance Modern CSS
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,600;0,800;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary-gold: #ffca28;
  --primary-accent: #ff4081;
  --secondary-accent: #00e5ff;
  --dark-bg: #121214;
  --dark-surface: #1a1a1f;
  --dark-surface-elevated: #24242c;
  --text-main: #f0f0f3;
  --text-muted: #a0a0ab;
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-gold: rgba(255, 202, 40, 0.35);
  --glow-gold: 0 0 25px rgba(255, 202, 40, 0.25);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base enhancements */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #0c0b10;
  color: var(--text-main);
  overflow-x: hidden;
}

/* Header & Branding fixes */
.Header-branding-logo,
.Mobile-bar-branding-logo {
  max-height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  transition: var(--transition);
}

.Header-branding:hover .Header-branding-logo {
  transform: scale(1.04);
}

/* Active navigation state & styling */
.Header-nav-item,
.Footer-nav-item,
.Mobile-overlay-nav-item {
  font-family: 'Outfit', sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  transition: var(--transition) !important;
}

.Header-nav-item:hover,
.Footer-nav-item:hover {
  color: var(--primary-gold) !important;
  text-shadow: 0 0 10px rgba(255, 202, 40, 0.5);
}

.Header-nav-item.is-active,
.Footer-nav-item.is-active {
  color: var(--primary-gold) !important;
  border-bottom: 2px solid var(--primary-gold);
}

/* Optimized Hero Slideshow */
.Index-gallery-wrapper {
  position: relative;
  overflow: hidden;
  background: #000;
  min-height: 65vh;
}

@media (min-width: 768px) {
  .Index-gallery-wrapper {
    min-height: 82vh;
  }
}

.Index-gallery-item {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.75s ease-in-out, transform 0.75s ease-in-out;
  transform: scale(1.02);
  z-index: 1;
}

.Index-gallery-item.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.Index-gallery-item-image {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.Index-gallery-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Gradient overlay on hero images for text and controls contrast */
.Index-gallery-item-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12, 11, 16, 0.4) 0%,
    rgba(12, 11, 16, 0.1) 40%,
    rgba(12, 11, 16, 0.75) 100%
  );
  pointer-events: none;
}

/* Slide Caption Overlay */
.hero-caption {
  position: absolute;
  bottom: 12%;
  left: 6%;
  right: 6%;
  z-index: 3;
  max-width: 780px;
  pointer-events: none;
  animation: heroTextFade 0.8s ease forwards;
}

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

.hero-caption-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 30px;
  background: rgba(255, 202, 40, 0.2);
  border: 1px solid var(--primary-gold);
  color: var(--primary-gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 14px;
  backdrop-filter: blur(8px);
}

.hero-caption-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 5.5vw, 56px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 14px;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.7);
}

.hero-caption-desc {
  font-size: clamp(14px, 2vw, 18px);
  color: #e0e0e8;
  line-height: 1.6;
  margin-bottom: 22px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-caption-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #ffca28, #ff8f00);
  color: #121214 !important;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(255, 202, 40, 0.35);
  transition: var(--transition);
}

.hero-caption-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(255, 202, 40, 0.5);
  color: #000 !important;
}

/* Slideshow navigation controls */
.Index-gallery-control {
  z-index: 10 !important;
  cursor: pointer;
  background: rgba(20, 20, 26, 0.5) !important;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.Index-gallery-control:hover {
  background: rgba(255, 202, 40, 0.85) !important;
  border-color: var(--primary-gold);
  transform: scale(1.1);
}

.Index-gallery-control:hover svg {
  stroke: #121214 !important;
  fill: #121214 !important;
}

.Index-gallery-indicators {
  z-index: 10 !important;
  bottom: 20px !important;
  display: flex;
  gap: 10px;
}

.Index-gallery-indicators-item {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.Index-gallery-indicators-item.is-active {
  background: var(--primary-gold) !important;
  transform: scale(1.3);
  box-shadow: var(--glow-gold);
}

/* Category cards hover enhancements */
.art-category-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--dark-surface);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
  display: block;
}

.art-category-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--primary-gold);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), var(--glow-gold);
}

.art-category-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.art-category-card:hover img {
  transform: scale(1.05);
}

/* Feature cards in Marketplace / Panels / Workshops */
.feature-card {
  background: var(--dark-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.feature-card-image {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
  aspect-ratio: 4 / 3;
}

.feature-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-card:hover .feature-card-image img {
  transform: scale(1.06);
}

.feature-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 20px;
}

.feature-card .card-btn {
  align-self: flex-start;
  padding: 9px 22px;
  border-radius: 30px;
  background: transparent;
  border: 1.5px solid var(--primary-gold);
  color: var(--primary-gold);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: var(--transition);
}

.feature-card .card-btn:hover {
  background: var(--primary-gold);
  color: #121214;
  box-shadow: var(--glow-gold);
}

/* Parallax Section Overlays */
#newsletter-signup {
  background: linear-gradient(135deg, rgba(15, 12, 25, 0.92), rgba(20, 20, 35, 0.88)),
              url('../images/hero_festival_main.jpg') center/cover no-repeat fixed !important;
  padding: 90px 20px;
}

#about {
  background: linear-gradient(135deg, rgba(12, 11, 16, 0.94), rgba(25, 18, 30, 0.9)),
              url('../images/hero_festival_lineup.jpg') center/cover no-repeat fixed !important;
  padding: 90px 20px;
}

/* Map Interactive Embed */
.map-responsive-container {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  margin: 25px 0;
}

.map-responsive-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Custom Page Hero (About, Contact, Schedule, Register) */
.page-hero {
  padding: 130px 20px 80px;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at 50% 20%, rgba(255, 202, 40, 0.12), transparent 60%),
              linear-gradient(180deg, #111018 0%, #0c0b10 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.page-hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(255, 202, 40, 0.15);
  border: 1px solid var(--primary-gold);
  color: var(--primary-gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.page-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 800;
  color: #fff;
  margin: 0 auto 18px;
  max-width: 900px;
  line-height: 1.15;
}

.page-hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Clean Form Controls */
.modern-form-group {
  margin-bottom: 22px;
  text-align: left;
}

.modern-form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #ddd;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.modern-form-input,
.modern-form-textarea,
.modern-form-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  outline: none;
  transition: var(--transition);
  box-sizing: border-box;
}

.modern-form-input:focus,
.modern-form-textarea:focus,
.modern-form-select:focus {
  border-color: var(--primary-gold);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 15px rgba(255, 202, 40, 0.2);
}

.modern-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #ffca28, #ff8f00);
  color: #121214;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 25px rgba(255, 202, 40, 0.35);
  width: 100%;
}

.modern-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 202, 40, 0.5);
  filter: brightness(1.05);
}

/* Schedule Tabs and Timeline */
.schedule-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 40px auto;
  flex-wrap: wrap;
}

.schedule-tab-btn {
  background: var(--dark-surface);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
}

.schedule-tab-btn.is-active,
.schedule-tab-btn:hover {
  background: var(--primary-gold);
  color: #121214;
  border-color: var(--primary-gold);
  box-shadow: var(--glow-gold);
}

.schedule-item-card {
  background: var(--dark-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 24px;
  transition: var(--transition);
}

.schedule-item-card:hover {
  border-color: var(--primary-gold);
  transform: translateX(6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.schedule-time-badge {
  min-width: 120px;
  background: rgba(255, 202, 40, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--primary-gold);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  text-align: center;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.05em;
}

.schedule-details {
  flex-grow: 1;
}

.schedule-category-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--secondary-accent);
  margin-bottom: 6px;
}

.schedule-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}

.schedule-location {
  font-size: 14px;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-item {
  background: var(--dark-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  text-align: left;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary-gold);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.faq-item.is-open {
  border-color: var(--border-gold);
}

.faq-item.is-open .faq-answer {
  max-height: 250px;
  padding: 0 24px 22px;
}

.faq-icon {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  color: var(--primary-gold);
}

/* Mobile Overlay Enhancements */
body.mobile-menu-open .Mobile-overlay {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(0) !important;
  z-index: 9999 !important;
}

.Mobile-overlay {
  background: rgba(12, 11, 16, 0.98) !important;
  backdrop-filter: blur(16px);
  transition: opacity 0.35s ease, transform 0.35s ease !important;
}

/* Toast message for newsletter / forms */
.toast-notice {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #1e1b2e;
  border: 1.5px solid var(--primary-gold);
  color: #fff;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  font-weight: 600;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* Responsiveness adjustments */
@media (max-width: 768px) {
  .schedule-item-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .schedule-time-badge {
    min-width: unset;
    width: 100%;
    text-align: left;
  }
  .hero-caption {
    bottom: 8%;
    left: 4%;
    right: 4%;
  }
}

/* =========================================================
   Home Page Hero - The Arts Showcase
   ========================================================= */
.hero-home {
  padding: 100px 20px 70px;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at 50% 12%, rgba(255, 202, 40, 0.16), transparent 55%),
              linear-gradient(180deg, #13121b 0%, #0c0b10 100%);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.hero-home::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 202, 40, 0.08) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  opacity: 0.6;
  pointer-events: none;
}

.hero-arts-banner-wrap {
  max-width: 860px;
  margin: 0 auto 18px;
  padding: 0 10px;
  position: relative;
  z-index: 2;
}

.hero-arts-banner-img {
  width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.6));
}

.hero-arts-lead {
  font-size: clamp(15px, 2vw, 17px);
  color: #cfd0dc;
  max-width: 820px;
  margin: 0 auto 36px;
  line-height: 1.65;
  position: relative;
  z-index: 2;
}

.hero-arts-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto 36px;
  position: relative;
  z-index: 2;
}

@media (max-width: 1024px) {
  .hero-arts-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .hero-arts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

.hero-art-card {
  display: flex;
  flex-direction: column;
  background: var(--dark-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.hero-art-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--primary-gold);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), var(--glow-gold);
}

.hero-art-card-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #15141c;
  position: relative;
}

.hero-art-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-art-card:hover .hero-art-card-img-wrap img {
  transform: scale(1.08);
}

.hero-art-card-info {
  padding: 12px 8px;
  text-align: center;
  background: #16151f;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-art-card-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #fff;
  margin: 0 0 2px;
  text-transform: uppercase;
}

.hero-art-card-sub {
  font-size: 11px;
  color: var(--primary-gold);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

.hero-arts-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

/* =========================================================
   Unified Modern Footer
   ========================================================= */
.modern-footer {
  background: #08070b !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 70px 20px 40px;
  text-align: center;
  position: relative;
  z-index: 10;
  width: 100%;
  box-sizing: border-box;
}

.modern-footer-logo {
  max-height: 55px;
  width: auto;
  margin-bottom: 24px;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}

.modern-footer-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.modern-footer-nav a {
  color: #b0b0be !important;
  text-decoration: none !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  transition: var(--transition) !important;
}

.modern-footer-nav a:hover,
.modern-footer-nav a.is-active {
  color: var(--primary-gold) !important;
  text-shadow: 0 0 10px rgba(255, 202, 40, 0.4);
}

.modern-footer-partners {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.modern-footer-partner-img {
  max-height: 44px;
  width: auto;
  border-radius: 8px;
  opacity: 0.85;
  transition: var(--transition);
  background: #ffffff;
  padding: 4px 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.modern-footer-partner-img:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 202, 40, 0.35);
}

.modern-footer-copy {
  color: #717182;
  font-size: 13px;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

/* Global Layout Overrides for Standalone Stability */
.Loader,
.Parallax-host-outer,
.Index-nav,
.sqs-announcement-bar-dropzone {
  display: none !important;
}

.Site,
.Site-inner,
.Index,
.Index-page {
  background-color: #0c0b10 !important;
}

.Header--top {
  display: block !important;
}

@media (min-width: 861px) {
  .Mobile {
    display: none !important;
  }
}

@media (max-width: 860px) {
  .Mobile {
    display: block !important;
  }
  .Header--top {
    display: none !important;
  }
}

