/* ============================================================
   FestivalCalendar.online — Main Stylesheet
   ============================================================ */

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

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  --bg:            #0D0B14;
  --surface:       #1A1528;
  --card:          #231D35;
  --card-hover:    #2A2340;
  --border:        rgba(139, 92, 246, 0.15);
  --border-bright: rgba(139, 92, 246, 0.35);

  --orange:  #FF6B35;
  --orange-dark: #E55520;
  --purple:  #8B5CF6;
  --purple-dark: #6D35E8;
  --teal:    #14B8A6;
  --gold:    #F59E0B;
  --cream:   #FDF8F2;

  --text-primary:   #F8F4FF;
  --text-secondary: #B8A9D0;
  --text-muted:     #7A6E99;

  --font: 'Inter', system-ui, -apple-system, sans-serif;

  --radius-card: 12px;
  --radius-btn:  8px;
  --radius-pill: 999px;
  --radius-input: 8px;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.35);
  --shadow-hover: 0 8px 40px rgba(139,92,246,0.18);
  --shadow-btn: 0 2px 12px rgba(255,107,53,0.35);

  --nav-height: 68px;
  --container: 1200px;
  --section-pad: 80px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
input, select, textarea { font-family: var(--font); }

/* ── Container ─────────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ── Typography ────────────────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 600; }
p  { color: var(--text-secondary); line-height: 1.7; }

.text-orange  { color: var(--orange); }
.text-purple  { color: var(--purple); }
.text-teal    { color: var(--teal); }
.text-gold    { color: var(--gold); }
.text-cream   { color: var(--cream); }
.text-muted   { color: var(--text-muted); }
.text-center  { text-align: center; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: var(--radius-btn);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(255,107,53,0.5); }
.btn-secondary {
  background: var(--purple);
  color: #fff;
}
.btn-secondary:hover { background: var(--purple-dark); transform: translateY(-1px); }
.btn-outline {
  border: 1.5px solid var(--border-bright);
  color: var(--text-primary);
  background: transparent;
}
.btn-outline:hover { border-color: var(--purple); background: rgba(139,92,246,0.1); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: #0fa899; transform: translateY(-1px); }
.btn-ghost { color: var(--text-secondary); }
.btn-ghost:hover { color: var(--text-primary); }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── Navigation ────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(13, 11, 20, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--nav-height);
}
.nav-logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  flex-shrink: 0;
  letter-spacing: -0.01em;
}
.nav-logo:hover { color: var(--orange); }
.nav-links {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.nav-links a {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.15s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text-primary); background: rgba(255,255,255,0.06); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-toggle {
  display: none;
  font-size: 1.3rem;
  color: var(--text-primary);
  padding: 4px 8px;
}

/* Mobile Nav */
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: var(--nav-height); left: 0; right: 0;
    background: var(--surface); flex-direction: column; padding: 16px; border-bottom: 1px solid var(--border); gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 16px; border-radius: var(--radius-btn); }
  .nav-toggle { display: block; }
  .nav-actions .btn-outline { display: none; }
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(139,92,246,0.18) 0%, transparent 70%),
              radial-gradient(ellipse 50% 50% at 80% 80%, rgba(255,107,53,0.1) 0%, transparent 60%),
              var(--bg);
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%238B5CF6' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255,107,53,0.1);
  border: 1px solid rgba(255,107,53,0.2);
}
.hero h1 { margin-bottom: 20px; }
.hero h1 span { color: var(--orange); }
.hero-sub { font-size: 1.15rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto 36px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }

/* Search Bar */
.search-bar {
  background: var(--surface);
  border: 1.5px solid var(--border-bright);
  border-radius: var(--radius-card);
  padding: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 4px 32px rgba(139,92,246,0.12);
}
.search-bar input,
.search-bar select {
  flex: 1;
  min-width: 140px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  color: var(--text-primary);
  padding: 10px 14px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.search-bar input::placeholder { color: var(--text-muted); }
.search-bar input:focus,
.search-bar select:focus { border-color: var(--purple); }
.search-bar select option { background: var(--card); }
.search-bar .btn { flex-shrink: 0; }

/* ── Sections ──────────────────────────────────────────────── */
.section { padding: var(--section-pad) 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 100px 0; }
.section-alt { background: var(--surface); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header p { max-width: 560px; margin: 12px auto 0; }
.section-header .section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 10px;
}

/* ── Festival Cards ────────────────────────────────────────── */
.festivals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.festival-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}
.festival-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-bright);
}
.card-image {
  height: 160px;
  background: linear-gradient(135deg, rgba(139,92,246,0.3), rgba(255,107,53,0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.card-image-placeholder { font-size: 3rem; }
.card-body { padding: 18px; }
.card-title { color: var(--text-primary); margin: 8px 0 4px; font-size: 1.05rem; line-height: 1.3; }
.card-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }
.card-description { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 16px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-footer { display: flex; align-items: center; justify-content: space-between; }
.price-tag {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(20,184,166,0.12);
  color: var(--teal);
  border: 1px solid rgba(20,184,166,0.2);
}
.price-tag.paid {
  background: rgba(245,158,11,0.1);
  color: var(--gold);
  border-color: rgba(245,158,11,0.2);
}

/* Category Badge */
.category-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(139,92,246,0.15);
  color: var(--purple);
  border: 1px solid rgba(139,92,246,0.25);
}
.category-badge.music   { background: rgba(255,107,53,0.12); color: var(--orange); border-color: rgba(255,107,53,0.25); }
.category-badge.food    { background: rgba(245,158,11,0.12); color: var(--gold); border-color: rgba(245,158,11,0.25); }
.category-badge.art     { background: rgba(139,92,246,0.12); color: var(--purple); border-color: rgba(139,92,246,0.25); }
.category-badge.wellness { background: rgba(20,184,166,0.12); color: var(--teal); border-color: rgba(20,184,166,0.25); }
.category-badge.cultural { background: rgba(255,107,53,0.12); color: var(--orange); border-color: rgba(255,107,53,0.25); }
.category-badge.spiritual { background: rgba(139,92,246,0.12); color: #C084FC; border-color: rgba(192,132,252,0.25); }

/* Featured Badge */
.featured-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: #0D0B14;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

/* ── Category Grid ─────────────────────────────────────────── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.category-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: block;
}
.category-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-bright);
  background: var(--card-hover);
}
.category-card .cat-emoji { font-size: 2.2rem; display: block; margin-bottom: 10px; }
.category-card .cat-name { font-size: 0.95rem; font-weight: 600; color: var(--text-primary); }
.category-card .cat-count { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

/* ── Cities Grid ───────────────────────────────────────────── */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.city-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.city-card:hover { transform: translateY(-2px); border-color: var(--border-bright); background: var(--card-hover); }
.city-icon { font-size: 1.6rem; flex-shrink: 0; }
.city-info .city-name { font-weight: 600; color: var(--text-primary); font-size: 0.95rem; }
.city-info .city-meta { font-size: 0.8rem; color: var(--text-muted); }

/* ── Pricing ───────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  align-items: stretch;
}
.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.pricing-card.featured {
  border-color: var(--orange);
  background: linear-gradient(160deg, rgba(255,107,53,0.08) 0%, var(--card) 60%);
  position: relative;
}
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
}
.pricing-name { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.pricing-price { font-size: 2.2rem; font-weight: 800; color: var(--text-primary); line-height: 1; }
.pricing-price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.pricing-desc { font-size: 0.9rem; color: var(--text-secondary); }
.pricing-features { flex: 1; }
.pricing-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.pricing-features li::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; }
.pricing-features li:last-child { border-bottom: none; }

/* ── How It Works ──────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  text-align: center;
  position: relative;
}
.step-card { padding: 8px; }
.step-number {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--purple));
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.step-card h3 { color: var(--text-primary); margin-bottom: 8px; }

/* ── CTA Banner ────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, rgba(139,92,246,0.25) 0%, rgba(255,107,53,0.15) 100%);
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: 20px;
  padding: 64px 48px;
  text-align: center;
}
.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p { max-width: 500px; margin: 0 auto 32px; }
.cta-banner .btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Forms ─────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.875rem; font-weight: 500; color: var(--text-secondary); }
.form-control {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-input);
  color: var(--text-primary);
  padding: 11px 14px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-control::placeholder { color: var(--text-muted); }
.form-control:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(139,92,246,0.12); }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control option { background: var(--card); }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.form-check input { accent-color: var(--purple); width: 16px; height: 16px; }
.form-check span { font-size: 0.9rem; color: var(--text-secondary); }
.form-success {
  display: none;
  background: rgba(20,184,166,0.12);
  border: 1px solid rgba(20,184,166,0.3);
  color: var(--teal);
  padding: 14px 20px;
  border-radius: var(--radius-btn);
  font-size: 0.95rem;
  text-align: center;
  margin-top: 16px;
}

/* ── Filter Chips ──────────────────────────────────────────── */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 32px;
}
.filter-chip {
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: var(--card);
  color: var(--text-secondary);
  transition: all 0.15s ease;
}
.filter-chip:hover,
.filter-chip.active {
  border-color: var(--purple);
  background: rgba(139,92,246,0.12);
  color: var(--text-primary);
}
.filter-label { font-size: 0.875rem; color: var(--text-muted); font-weight: 500; }

/* ── Email Signup ──────────────────────────────────────────── */
.email-signup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  text-align: center;
}
.email-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 24px auto 0;
  flex-wrap: wrap;
}
.email-form input { flex: 1; min-width: 220px; }

/* ── For Organizers / Vendors ──────────────────────────────── */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 36px 32px;
}
.info-card .card-icon { font-size: 2.5rem; margin-bottom: 16px; }
.info-card h3 { color: var(--text-primary); margin-bottom: 10px; }
.info-card ul li {
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex; gap: 8px;
}
.info-card ul li::before { content: '→'; color: var(--orange); font-weight: 700; }
.info-card ul li:last-child { border-bottom: none; }
.info-card .btn { margin-top: 20px; }

/* ── Page Hero (inner pages) ───────────────────────────────── */
.page-hero {
  padding: 64px 0 48px;
  text-align: center;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(139,92,246,0.14) 0%, transparent 70%);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-bottom: 14px; }
.page-hero .page-hero-sub { max-width: 560px; margin: 0 auto; }

/* ── Event Detail ──────────────────────────────────────────── */
.event-hero {
  background: linear-gradient(160deg, rgba(139,92,246,0.2) 0%, rgba(255,107,53,0.1) 100%);
  border-radius: var(--radius-card);
  padding: 48px;
  margin-bottom: 40px;
}
.event-meta-bar {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.event-meta-item { display: flex; align-items: center; gap: 6px; font-size: 0.9rem; color: var(--text-secondary); }
.event-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.event-tag {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  background: rgba(139,92,246,0.1);
  color: var(--purple);
  border: 1px solid rgba(139,92,246,0.2);
}
.event-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.event-content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}
.event-sidebar {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  position: sticky;
  top: calc(var(--nav-height) + 20px);
}
.event-sidebar h4 { margin-bottom: 16px; color: var(--text-primary); }

/* ── Legal Pages ───────────────────────────────────────────── */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px;
}
.legal-content h1 { margin-bottom: 8px; }
.legal-content .legal-date { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 36px; }
.legal-content h2 { margin: 36px 0 14px; font-size: 1.2rem; }
.legal-content p { margin-bottom: 16px; }
.legal-content ul { padding-left: 20px; list-style: disc; }
.legal-content ul li { padding: 4px 0; color: var(--text-secondary); font-size: 0.95rem; }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 64px 0 24px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.footer-brand p { font-size: 0.875rem; line-height: 1.65; margin-bottom: 0; }
.footer-entity { color: var(--purple) !important; font-size: 0.8rem !important; font-weight: 500; margin-top: 10px !important; }
.site-footer h4 { color: var(--text-primary); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { display: flex; flex-direction: column; gap: 8px; }
.site-footer ul a { font-size: 0.875rem; color: var(--text-muted); transition: color 0.15s; }
.site-footer ul a:hover { color: var(--text-primary); }
.footer-contact p { font-size: 0.875rem; }
.footer-contact a { color: var(--orange); }
.footer-contact a:hover { color: var(--orange-dark); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }

/* ── Utilities ─────────────────────────────────────────────── */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.divider { height: 1px; background: var(--border); margin: 40px 0; }
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
}
.badge-orange { background: rgba(255,107,53,0.12); color: var(--orange); border: 1px solid rgba(255,107,53,0.2); }
.badge-purple { background: rgba(139,92,246,0.12); color: var(--purple); border: 1px solid rgba(139,92,246,0.2); }
.badge-teal   { background: rgba(20,184,166,0.12); color: var(--teal); border: 1px solid rgba(20,184,166,0.2); }
.mb-0  { margin-bottom: 0; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.flex   { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* Fade-in animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.5s ease forwards; }
.fade-up-delay-1 { animation-delay: 0.1s; opacity: 0; animation-fill-mode: forwards; }
.fade-up-delay-2 { animation-delay: 0.2s; opacity: 0; animation-fill-mode: forwards; }
.fade-up-delay-3 { animation-delay: 0.3s; opacity: 0; animation-fill-mode: forwards; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .event-content-grid { grid-template-columns: 1fr; }
  .event-sidebar { position: static; }
  .two-col-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --section-pad: 56px; }
  .hero { padding: 72px 0 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-banner { padding: 40px 24px; }
  .email-signup { padding: 32px 20px; }
  .event-hero { padding: 28px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .search-bar { flex-direction: column; }
  .search-bar input, .search-bar select { width: 100%; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .cities-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }
}

/* ── No Results / Loading ──────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 16px; }
.empty-state h3 { color: var(--text-secondary); margin-bottom: 8px; }

/* ── Misc ──────────────────────────────────────────────────── */
.sticky-note {
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: var(--radius-btn);
  padding: 12px 16px;
  font-size: 0.875rem;
  color: var(--gold);
}
.divider-text {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 24px 0;
}
.divider-text::before,
.divider-text::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ── Theme Toggle Button ───────────────────────────────────── */
.theme-toggle {
  background: transparent;
  border: 1.5px solid var(--border-bright);
  border-radius: var(--radius-pill);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  line-height: 1;
  padding: 0;
}
.theme-toggle:hover {
  border-color: var(--orange);
  background: rgba(255, 107, 53, 0.1);
  transform: rotate(18deg) scale(1.08);
}

/* ── Light Theme — Spring / Summer Festival Day ────────────── */
html[data-theme="light"] {
  --bg:            #FFFBF4;
  --surface:       #FEF3E0;
  --card:          #FFFFFF;
  --card-hover:    #FFF8EE;
  --border:        rgba(201, 120, 30, 0.14);
  --border-bright: rgba(201, 120, 30, 0.38);

  --orange:      #D94F0A;
  --orange-dark: #B83D08;
  --purple:      #6D28D9;
  --purple-dark: #5B21B6;
  --teal:        #0D9488;
  --gold:        #B45309;
  --cream:       #FFFBF4;

  --text-primary:   #1A1008;
  --text-secondary: #6B5A40;
  --text-muted:     #9B8A70;

  --shadow-card: 0 4px 24px rgba(180, 80, 10, 0.09);
  --shadow-hover: 0 8px 40px rgba(180, 80, 10, 0.14);
  --shadow-btn: 0 2px 12px rgba(217, 79, 10, 0.28);
}

html[data-theme="light"] .site-nav {
  background: rgba(255, 251, 244, 0.95);
  border-bottom-color: rgba(201, 120, 30, 0.18);
}
html[data-theme="light"] .nav-links a { color: var(--text-secondary); }
html[data-theme="light"] .nav-links a:hover,
html[data-theme="light"] .nav-links a.active { color: var(--text-primary); background: rgba(0,0,0,0.05); }

html[data-theme="light"] .hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(251, 191, 36, 0.30) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 80% 80%, rgba(255, 107, 53, 0.14) 0%, transparent 60%),
    var(--bg);
}
html[data-theme="light"] .hero::before {
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D94F0A' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

html[data-theme="light"] .search-bar {
  box-shadow: 0 4px 32px rgba(180, 80, 10, 0.10);
}

html[data-theme="light"] .card-image {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.20), rgba(255, 107, 53, 0.15));
}

html[data-theme="light"] .page-hero {
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(251, 191, 36, 0.24) 0%, transparent 70%);
  border-bottom-color: rgba(201, 120, 30, 0.14);
}

html[data-theme="light"] .event-hero {
  background: linear-gradient(160deg, rgba(251, 191, 36, 0.14) 0%, rgba(255, 107, 53, 0.10) 100%);
}

html[data-theme="light"] .cta-banner {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.14) 0%, rgba(255, 107, 53, 0.08) 100%);
  border-color: rgba(201, 120, 30, 0.28);
}

html[data-theme="light"] .email-signup {
  border-color: rgba(201, 120, 30, 0.20);
}

html[data-theme="light"] .pricing-card.featured {
  background: linear-gradient(160deg, rgba(217, 79, 10, 0.06) 0%, var(--card) 60%);
}

html[data-theme="light"] .site-footer {
  background: var(--surface);
  border-top-color: rgba(201, 120, 30, 0.18);
}

html[data-theme="light"] .festival-card:hover {
  box-shadow: 0 8px 40px rgba(180, 80, 10, 0.14);
}

/* category badge tint adjustments for light bg */
html[data-theme="light"] .category-badge       { background: rgba(109,40,217,0.08);  border-color: rgba(109,40,217,0.20);  }
html[data-theme="light"] .category-badge.music { background: rgba(217,79,10,0.08);   border-color: rgba(217,79,10,0.22);   }
html[data-theme="light"] .category-badge.food  { background: rgba(180,83,9,0.08);    border-color: rgba(180,83,9,0.22);    }
html[data-theme="light"] .category-badge.art   { background: rgba(109,40,217,0.08);  border-color: rgba(109,40,217,0.20);  }
html[data-theme="light"] .category-badge.wellness  { background: rgba(13,148,136,0.08); border-color: rgba(13,148,136,0.22); }
html[data-theme="light"] .category-badge.cultural  { background: rgba(217,79,10,0.08);  border-color: rgba(217,79,10,0.22);  }
html[data-theme="light"] .category-badge.spiritual { background: rgba(109,40,217,0.08); color: var(--purple); border-color: rgba(109,40,217,0.20); }

html[data-theme="light"] .featured-badge { color: #fff; }

html[data-theme="light"] .step-number {
  box-shadow: 0 4px 16px rgba(217,79,10,0.22);
}
