/* ── Reset & Variables ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --pink:    #e91e8c;
  --purple:  #9c27b0;
  --orange:  #ff6b35;
  --yellow:  #f9d423;
  --green:   #22c55e;
  --blue:    #2196f3;
  --red:     #ff1744;
  --bg:      #fafafa;
  --bg2:     #f3f0ff;
  --text:    #1a1a2e;
  --muted:   #666;
  --card:    #fff;
  --border:  rgba(0,0,0,0.08);
  --rainbow: linear-gradient(90deg, #ff0000, #ff8800, #ffdd00, #00cc44, #0088ff, #8800ff);
  --rainbow-diag: linear-gradient(135deg, #ff0000, #ff8800, #ffdd00, #00cc44, #0088ff, #8800ff);
}

html { scroll-behavior: smooth; }
body { font-family: 'Nunito', sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ── Navbar ──────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; height: 68px;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border-bottom: 3px solid transparent;
  border-image: var(--rainbow) 1;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.12); }
.nav-logo-img { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-weight: 700; font-size: 15px; color: var(--text);
               position: relative; transition: color .2s; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -3px;
                       width: 0; height: 2px; background: var(--rainbow-diag);
                       transition: width .25s; }
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--pink); }
.nav-cta { background: var(--rainbow-diag); color: #fff !important;
           padding: 8px 18px; border-radius: 20px; font-weight: 800; }
.nav-cta::after { display: none !important; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px;
       border-radius: 50px; font-weight: 800; font-size: 15px; cursor: pointer;
       border: none; transition: transform .2s, opacity .2s, box-shadow .2s;
       font-family: 'Nunito', sans-serif; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.btn-rainbow { background: var(--rainbow-diag); color: #fff; }
.btn-purple  { background: var(--purple); color: #fff; }
.btn-pink    { background: var(--pink); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border: 2.5px solid rgba(255,255,255,.7); }
.btn-outline-white:hover { background: rgba(255,255,255,.15); }
.btn-white-solid { background: #fff; color: var(--text); font-weight: 800; }
.btn-small { padding: 9px 20px; font-size: 13px; margin-top: 12px; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero { min-height: 100vh; position: relative; display: flex; align-items: center;
        justify-content: center; text-align: center; overflow: hidden; padding: 80px 24px 60px; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(160deg, #1a0533 0%, #0d1b3e 40%, #1a0533 70%, #2d0a4e 100%);
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(233,30,140,.25) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 30%, rgba(33,150,243,.2) 0%, transparent 50%),
              radial-gradient(ellipse at 60% 80%, rgba(255,107,53,.15) 0%, transparent 40%);
}

.rainbow-stripe {
  position: absolute; top: 0; left: 0; right: 0; height: 6px; z-index: 10;
  background: var(--rainbow);
}

.hero-content { position: relative; z-index: 5; max-width: 720px; }
.hero-logo { width: 160px; height: auto; margin: 0 auto 24px; filter: drop-shadow(0 8px 32px rgba(0,0,0,.5)); }
.hero-title { font-family: 'Poppins', sans-serif; font-size: clamp(2.4rem, 6vw, 4rem);
              font-weight: 900; color: #fff; margin-bottom: 12px; line-height: 1.1; }
.hero-title .year {
  background: var(--rainbow-diag); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle { font-size: clamp(1rem, 2.5vw, 1.25rem); color: rgba(255,255,255,.75);
                 margin-bottom: 32px; font-weight: 700; }

.hero-date-box { display: inline-flex; flex-direction: column; align-items: center;
                 background: rgba(255,255,255,.1); backdrop-filter: blur(8px);
                 border: 1.5px solid rgba(255,255,255,.2); border-radius: 16px;
                 padding: 16px 32px; margin-bottom: 36px; gap: 4px; }
.hero-date-label { font-size: 12px; font-weight: 800; letter-spacing: 2px;
                   text-transform: uppercase; color: rgba(255,255,255,.6); }
.hero-date { font-size: 1.3rem; font-weight: 900; color: #fff; }

/* Countdown */
.countdown { display: flex; align-items: center; gap: 8px; justify-content: center;
             margin-bottom: 36px; flex-wrap: wrap; }
.cd-block { display: flex; flex-direction: column; align-items: center;
            background: rgba(255,255,255,.1); backdrop-filter: blur(8px);
            border: 1px solid rgba(255,255,255,.15); border-radius: 16px;
            padding: 16px 20px; min-width: 76px; }
.cd-num { font-family: 'Poppins', sans-serif; font-size: 2.2rem; font-weight: 900;
          color: #fff; line-height: 1; }
.cd-label { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.55);
            text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.cd-sep { font-size: 2rem; font-weight: 900; color: rgba(255,255,255,.4); align-self: center; }

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
                    color: rgba(255,255,255,.4); font-size: 1.5rem;
                    animation: bounce 2s infinite; }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ── Sections ────────────────────────────────────────────────── */
.sec { padding: 90px 24px; }
.sec-alt { background: var(--bg2); }

/* Section Image Header */
.sec-img-header { position: relative; width: 100%; height: 380px; overflow: hidden; }
.sec-img-header img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.sec-img-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.35) 0%, rgba(0,0,0,.55) 100%);
                   display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.sec-img-overlay .sec-label { margin-bottom: 0; }
.sec-img-overlay .sec-title { margin-bottom: 0; text-align: center; }
.sec-rainbow-banner {
  background: var(--rainbow-diag); padding: 72px 24px;
  position: relative; overflow: hidden;
}
.sec-rainbow-banner::before {
  content: '🏳️‍🌈'; position: absolute; right: -20px; top: 50%;
  transform: translateY(-50%); font-size: 12rem; opacity: .08;
}
.container { max-width: 1100px; margin: 0 auto; }
.sec-label { display: inline-block; font-size: 12px; font-weight: 800;
             letter-spacing: 2px; text-transform: uppercase; color: var(--pink);
             background: rgba(233,30,140,.1); border: 1px solid rgba(233,30,140,.2);
             padding: 4px 14px; border-radius: 20px; margin-bottom: 12px; }
.sec-title { font-family: 'Poppins', sans-serif; font-size: clamp(1.8rem, 4vw, 2.6rem);
             font-weight: 900; margin-bottom: 14px; }
.sec-desc { font-size: 1.05rem; color: var(--muted); max-width: 620px; line-height: 1.7;
            margin-bottom: 48px; }

/* ── Program Grid ────────────────────────────────────────────── */
.program-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.prog-card { background: var(--card); border-radius: 24px; overflow: hidden;
             box-shadow: 0 4px 24px rgba(0,0,0,.07); display: flex; flex-direction: column;
             transition: transform .2s, box-shadow .2s; border: 1.5px solid var(--border); }
.prog-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,.12); }
.prog-card[data-color="rainbow"] { border: none; background: linear-gradient(160deg, #1a0533, #0d1b3e); }

.prog-date-col { padding: 20px 22px 0; display: flex; align-items: baseline; gap: 8px; }
.prog-weekday { font-size: 12px; font-weight: 800; text-transform: uppercase;
                letter-spacing: 1.5px; color: var(--muted); }
.prog-day { font-family: 'Poppins', sans-serif; font-size: 2.4rem; font-weight: 900;
            line-height: 1; }
.prog-month { font-size: 13px; font-weight: 700; color: var(--muted); }
.prog-card[data-color="purple"] .prog-day { color: var(--purple); }
.prog-card[data-color="pink"] .prog-day { color: var(--pink); }
.prog-card[data-color="rainbow"] .prog-day,
.prog-card[data-color="rainbow"] .prog-weekday,
.prog-card[data-color="rainbow"] .prog-month { color: rgba(255,255,255,.8); }

.prog-info { padding: 16px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.prog-badge { display: inline-block; font-size: 10px; font-weight: 800; padding: 3px 10px;
              border-radius: 20px; background: rgba(0,0,0,.06); color: var(--muted);
              margin-bottom: 12px; }
.prog-badge-rainbow { background: var(--rainbow-diag); color: #fff; }
.prog-img { width: 100%; border-radius: 14px; margin-bottom: 14px; aspect-ratio: 16/9; object-fit: cover; }
.prog-parade-icon { font-size: 4rem; margin-bottom: 14px; }
.prog-parade-logo { width: 100%; max-width: 220px; height: auto; margin-bottom: 16px; display: block; }
.prog-title { font-family: 'Poppins', sans-serif; font-size: 1.1rem; font-weight: 800;
              margin-bottom: 8px; }
.prog-card[data-color="rainbow"] .prog-title { color: #fff; }
.prog-meta { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.prog-card[data-color="rainbow"] .prog-meta { color: rgba(255,255,255,.6); }
.prog-desc { font-size: 13.5px; color: var(--muted); line-height: 1.6; flex: 1; }
.prog-card[data-color="rainbow"] .prog-desc { color: rgba(255,255,255,.7); }
.prog-main { position: relative; }

/* ── Route ───────────────────────────────────────────────────── */
.route-map-wrap { border-radius: 20px; overflow: hidden; border: 1.5px solid var(--border);
                  box-shadow: 0 8px 32px rgba(0,0,0,.1); margin-bottom: 36px; }
.route-info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.route-info-card { background: var(--card); border-radius: 16px; padding: 24px 20px;
                   text-align: center; border: 1.5px solid var(--border);
                   box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.route-info-icon { font-size: 2rem; display: block; margin-bottom: 10px; }
.route-info-card h4 { font-weight: 800; font-size: 14px; margin-bottom: 6px; }
.route-info-card p { font-size: 13px; color: var(--muted); }

/* ── Gallery ─────────────────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.gallery-hero-item { grid-row: 1 / 3; position: relative; border-radius: 18px;
                     overflow: hidden; cursor: pointer; }
.gallery-hero-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-hero-item:hover img { transform: scale(1.04); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.3);
                   display: flex; align-items: center; justify-content: center;
                   opacity: 0; transition: opacity .2s; color: #fff; font-weight: 800; font-size: 1.1rem; }
.gallery-hero-item:hover .gallery-overlay { opacity: 1; }
.gallery-placeholder { background: var(--bg2); border-radius: 18px; border: 2px dashed rgba(0,0,0,.12);
                        aspect-ratio: 4/3; display: flex; flex-direction: column;
                        align-items: center; justify-content: center; gap: 8px; }
.gallery-placeholder span { font-size: 2.5rem; }
.gallery-placeholder p { font-size: 13px; color: var(--muted); font-weight: 700; }

/* ── Shop ────────────────────────────────────────────────────── */
.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.shop-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: center;
               background: var(--card); border-radius: 24px; overflow: hidden;
               box-shadow: 0 4px 24px rgba(0,0,0,.07); border: 1.5px solid var(--border); }
.shop-img-wrap { overflow: hidden; }
.shop-img-wrap img { width: 100%; height: 260px; object-fit: cover; }
.shop-img-pearl { height: 260px; background: linear-gradient(135deg,#f3e8ff,#fce7f3); display:flex; align-items:center; justify-content:center; }
.shop-text { padding: 32px; }
.shop-text h3 { font-family: 'Poppins', sans-serif; font-size: 1.25rem; font-weight: 800; margin-bottom: 10px; }
.shop-text p { color: var(--muted); line-height: 1.7; margin-bottom: 20px; }

/* ── Sponsors ────────────────────────────────────────────────── */
.sponsors-grid { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; align-items: center; }
.sponsor-card { background: var(--card); border-radius: 16px; padding: 32px 40px;
                border: 1.5px solid var(--border); display: flex; align-items: center;
                justify-content: center; min-width: 220px; transition: transform .2s, box-shadow .2s; }
.sponsor-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.1); }
.sponsor-card img { max-height: 60px; width: auto; filter: grayscale(20%); }
.sponsor-empty { flex-direction: column; gap: 8px; border-style: dashed; }
.sponsor-empty span { font-size: 14px; color: var(--muted); font-weight: 700; }
.sponsor-empty a { font-size: 13px; color: var(--pink); font-weight: 800; }

/* ── Footer ──────────────────────────────────────────────────── */
.footer { background: var(--text); color: rgba(255,255,255,.8); }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 64px 24px 40px;
                display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.7; margin-bottom: 16px; }
.footer-social { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-social a { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.6);
                   background: rgba(255,255,255,.07); padding: 6px 14px; border-radius: 20px;
                   transition: background .2s; }
.footer-social a:hover { background: rgba(255,255,255,.15); color: #fff; }
.footer-col h4 { font-size: 13px; font-weight: 800; text-transform: uppercase;
                 letter-spacing: 1px; color: rgba(255,255,255,.4); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,.65); font-weight: 600;
                      transition: color .2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { max-width: 1100px; margin: 0 auto; padding: 0 24px 28px; }
.rainbow-line-footer { height: 3px; background: var(--rainbow); border-radius: 2px;
                        margin-bottom: 20px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.35); text-align: center; }

/* ── Perlen Pride ────────────────────────────────────────────── */
:root { --pearl: #7c3aed; --pearl2: #a855f7; }

.btn-pearl { background: linear-gradient(135deg, #7c3aed, #ec4899); color: #fff; }
.btn-outline-pearl { background: transparent; color: var(--pearl); border: 2.5px solid var(--pearl); font-weight: 800; }
.btn-outline-pearl:hover { background: rgba(124,58,237,.08); }

.perlen-hero-card {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(135deg, #f3e8ff, #fce7f3);
  border: 2px solid rgba(124,58,237,.2);
  border-radius: 20px; padding: 28px 32px; margin: 36px 0 32px;
}
.perlen-date-badge {
  display: flex; flex-direction: column; align-items: center;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #fff; border-radius: 16px; padding: 16px 20px;
  min-width: 80px; text-align: center; flex-shrink: 0;
}
.perlen-day { font-size: 2.5rem; font-weight: 900; line-height: 1; font-family: 'Poppins', sans-serif; }
.perlen-month { font-size: 0.8rem; font-weight: 700; margin-top: 4px; opacity: .9; }
.perlen-info { flex: 1; min-width: 200px; }
.perlen-info h3 { font-size: 1.35rem; font-weight: 800; color: var(--pearl); margin-bottom: 6px; }
.perlen-info p { color: var(--text); font-size: 0.95rem; }

.perlen-program {
  display: flex; flex-direction: column; gap: 0;
  border: 2px solid rgba(124,58,237,.15);
  border-radius: 16px; overflow: hidden;
}
.perlen-prog-item {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(124,58,237,.1);
  background: #fff;
  transition: background .2s;
}
.perlen-prog-item:last-child { border-bottom: none; }
.perlen-prog-item:hover { background: #f9f0ff; }
.perlen-time {
  font-size: 1.1rem; font-weight: 900; font-family: 'Poppins', sans-serif;
  color: var(--pearl); min-width: 56px; flex-shrink: 0; padding-top: 2px;
}
.perlen-prog-item strong { font-size: 1.0rem; font-weight: 800; color: var(--text); }
.perlen-prog-item p { font-size: 0.88rem; color: var(--muted); margin-top: 2px; }

/* ── Mobile Nav ──────────────────────────────────────────────── */
.nav-toggle { display: none; flex-direction: column; gap: 6px;
              background: none; border: none; cursor: pointer;
              padding: 10px; min-width: 44px; min-height: 44px;
              align-items: center; justify-content: center; z-index: 200; }
.nav-toggle span { display: block; width: 26px; height: 3px;
                   background: var(--text); border-radius: 3px;
                   transition: all .3s; transform-origin: center; }
.nav-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ── Responsive ──────────────────────────────────────────────── */
@media(max-width:900px) {
  .navbar { padding: 0 18px; }
  .program-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .route-info-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-hero-item { grid-row: auto; }
  .shop-grid { grid-template-columns: 1fr; }
  .shop-teaser { grid-template-columns: 1fr; }
  .shop-img-wrap img { height: 220px; }
  .shop-text { padding: 32px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }

  /* ── Mobile Hamburger ── */
  .nav-toggle { display: flex !important; }
  .nav-links {
    display: none !important;
    position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98);
    flex-direction: column !important;
    align-items: center; justify-content: center; gap: 28px;
    z-index: 150; overflow-y: auto;
    padding: 40px 20px;
  }
  .nav-links.open { display: flex !important; }
  .nav-links li { list-style: none; }
  .nav-links a { font-size: 1.4rem !important; font-weight: 800 !important;
                 color: var(--text) !important; padding: 8px 0; }
  .nav-links a:hover { color: var(--pink) !important; }
  .nav-links .nav-cta { background: var(--rainbow-diag) !important;
                        color: #fff !important; padding: 12px 28px !important;
                        border-radius: 50px !important; margin-top: 8px; }
}

@media(max-width:640px) {
  .countdown { gap: 4px; }
  .cd-block { padding: 12px 14px; min-width: 64px; }
  .cd-num { font-size: 1.7rem; }
  .cd-sep { font-size: 1.5rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-logo { width: 120px; }
  .sec { padding: 60px 18px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; justify-content: center; }
}
