/* ============================================================
   Église Primitive de la Pentecôte — Premium CSS Stylesheet
   ============================================================ */

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

/* ── CSS Custom Properties ─────────────────────────────── */
:root {
  --purple-deep:    #0d0620;
  --purple-dark:    #1a0a3a;
  --purple-mid:     #2d1464;
  --purple-accent:  #5b2d9e;
  --purple-light:   #8b5fcf;
  --gold:           #f0a500;
  --gold-light:     #ffd166;
  --gold-pale:      #fff3cd;
  --white:          #ffffff;
  --off-white:      #f8f6ff;
  --text-light:     rgba(255,255,255,0.85);
  --text-muted:     rgba(255,255,255,0.55);
  --glass-bg:       rgba(255,255,255,0.06);
  --glass-border:   rgba(255,255,255,0.12);
  --shadow-gold:    0 0 40px rgba(240,165,0,0.2);
  --shadow-purple:  0 8px 32px rgba(13,6,32,0.6);
  --radius-sm:      8px;
  --radius-md:      16px;
  --radius-lg:      28px;
  --nav-height:     80px;
  --transition:     all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--purple-deep);
  color: var(--text-light);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Animated background particles */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(91,45,158,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(240,165,0,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(45,20,100,0.3) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body > * { position: relative; z-index: 1; }

/* ── Typography ────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
  color: var(--white);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; color: var(--gold); }

p { margin-bottom: 1rem; color: var(--text-light); }

a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }

img, svg { max-width: 100%; height: auto; display: block; }

ul { list-style: none; }

/* ── Layout ────────────────────────────────────────────── */
.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section-sm {
  padding: 60px 0;
}

/* ── Gold Divider ──────────────────────────────────────── */
.divider-gold {
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 0 auto 2rem;
}

.divider-gold-left {
  margin-left: 0;
  margin-right: auto;
}

/* ── Eyebrow ───────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* ── Tag / Badge ───────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(240,165,0,0.15);
  border: 1px solid rgba(240,165,0,0.3);
  color: var(--gold);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--gold), #d4840a);
  color: var(--purple-deep);
  box-shadow: 0 4px 20px rgba(240,165,0,0.3);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(240,165,0,0.45);
  color: var(--purple-deep);
}

.btn-outline {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: none;
}

.btn-outline:hover {
  background: rgba(240,165,0,0.12);
  color: var(--gold);
  border-color: var(--gold-light);
}

.btn-white {
  background: var(--white);
  color: var(--purple-deep);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--off-white);
  color: var(--purple-deep);
}

/* ── Header / Navigation ───────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(13,6,32,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 1.5rem;
}

/* Logo Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  text-decoration: none;
  transition: var(--transition);
}

.brand:hover { opacity: 0.9; }

.brand-logo {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-main {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.85;
}

/* Navigation */
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-light);
  white-space: nowrap;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.nav-link:hover {
  color: var(--white);
  background: var(--glass-bg);
}

.nav-link.active {
  color: var(--gold);
  background: rgba(240,165,0,0.1);
}

.nav-cta {
  margin-left: 8px;
  padding: 9px 20px;
  background: linear-gradient(135deg, var(--gold), #d4840a);
  color: var(--purple-deep) !important;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.82rem;
}

.nav-cta:hover {
  box-shadow: 0 4px 16px rgba(240,165,0,0.4);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}

/* ── Hero Section ──────────────────────────────────────── */
.hero {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0 60px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 0% 50%, rgba(91,45,158,0.3) 0%, transparent 60%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(0deg, var(--purple-deep), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-content { position: relative; z-index: 2; }

.hero h1 {
  background: linear-gradient(135deg, #fff 0%, var(--gold-light) 60%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.25rem;
}

.hero p.lead {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-media {
  position: relative;
  z-index: 2;
}

.hero-media img, .hero-media svg {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-gold);
}

.hero-badge {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  box-shadow: var(--shadow-purple);
}

.hero-badge-icon {
  width: 36px;
  height: 36px;
  background: rgba(240,165,0,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.hero-badge-text span {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.hero-badge-text strong {
  font-size: 0.85rem;
  color: var(--gold);
}

/* ── Stats Strip ───────────────────────────────────────── */
.stats-strip {
  background: var(--glass-bg);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 32px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  padding: 16px;
}

.stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ── Section Headers ───────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); }

/* ── Cards Grid ────────────────────────────────────────── */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple-accent), var(--gold));
  opacity: 0;
  transition: var(--transition);
}

.card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(240,165,0,0.25);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(13,6,32,0.5);
}

.card:hover::before { opacity: 1; }

.card-icon {
  width: 52px;
  height: 52px;
  background: rgba(240,165,0,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(240,165,0,0.2);
}

.card h3 { margin-bottom: 0.6rem; font-size: 1.15rem; }
.card p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 0; }

/* Ministry card variant */
.card-ministry {
  position: relative;
  overflow: hidden;
}

.card-ministry img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}

/* ── Split Layout ──────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }

.split-content { }
.split-content h2 { margin-bottom: 1rem; }
.split-content p { color: var(--text-muted); }

.split-media img, .split-media svg {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-purple);
}

/* ── Alternate Section ─────────────────────────────────── */
.section-alt {
  background: rgba(255,255,255,0.025);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

/* ── Quote / Verse Block ───────────────────────────────── */
.verse-block {
  text-align: center;
  padding: 64px 32px;
  position: relative;
}

.verse-block::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Playfair Display', serif;
  font-size: 8rem;
  color: var(--gold);
  opacity: 0.1;
  line-height: 1;
}

.verse-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  color: var(--white);
  max-width: 780px;
  margin: 0 auto 1rem;
  font-style: italic;
  line-height: 1.5;
}

.verse-ref {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Schedule Table ────────────────────────────────────── */
.schedule-grid {
  display: grid;
  gap: 16px;
}

.schedule-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  transition: var(--transition);
}

.schedule-item:hover {
  border-color: rgba(240,165,0,0.3);
  background: rgba(240,165,0,0.05);
}

.schedule-day {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  min-width: 60px;
  text-align: center;
}

.schedule-divider {
  width: 1px;
  height: 40px;
  background: var(--glass-border);
}

.schedule-info strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.schedule-info span {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ── Gallery Grid ──────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-sm);
  position: relative;
  cursor: pointer;
}

.gallery-item img, .gallery-item svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,6,32,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

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

.gallery-item.large { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

/* ── Events ────────────────────────────────────────────── */
.event-card {
  display: flex;
  gap: 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
}

.event-card:hover {
  border-color: rgba(240,165,0,0.3);
  transform: translateX(4px);
}

.event-date-box {
  text-align: center;
  min-width: 64px;
  background: rgba(240,165,0,0.1);
  border: 1px solid rgba(240,165,0,0.2);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  height: fit-content;
}

.event-date-box .month {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 600;
}

.event-date-box .day {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.event-info h3 { margin-bottom: 0.4rem; font-size: 1.1rem; }
.event-info p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 0.5rem; }

.event-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.event-meta span {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 500;
}

/* ── Values / Feature List ─────────────────────────────── */
.values-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.value-item:hover {
  background: rgba(240,165,0,0.06);
  border-color: rgba(240,165,0,0.25);
}

.value-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-item h4 { margin-bottom: 0.3rem; font-size: 0.95rem; color: var(--white); }
.value-item p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ── Contact ───────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.contact-info-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: rgba(240,165,0,0.1);
  border: 1px solid rgba(240,165,0,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-text strong {
  display: block;
  color: var(--white);
  font-size: 0.88rem;
  margin-bottom: 2px;
}

.contact-info-text span, .contact-info-text a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Contact Form */
.contact-form {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(240,165,0,0.05);
  box-shadow: 0 0 0 3px rgba(240,165,0,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-group textarea { height: 130px; resize: vertical; }

.form-group select option { background: var(--purple-dark); }

/* ── Footer ────────────────────────────────────────────── */
.site-footer {
  background: rgba(0,0,0,0.4);
  border-top: 1px solid var(--glass-border);
  padding-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 1.2rem;
}

.footer-brand .brand-logo {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.footer-brand .brand-main {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  display: block;
  line-height: 1.25;
}

.footer-brand .brand-sub {
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  opacity: 0.8;
}

.footer-about p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-col h5 {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer-contact-list {
  display: grid;
  gap: 12px;
}

.footer-contact-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.footer-contact-list li span.icon {
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-list a { color: var(--text-muted); }
.footer-contact-list a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.footer-bottom a { color: var(--text-muted); font-size: 0.8rem; }
.footer-bottom a:hover { color: var(--gold); }

/* ── Ministry page ─────────────────────────────────────── */
.ministry-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 22px;
  border-radius: 100px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
  background: rgba(240,165,0,0.12);
  border-color: rgba(240,165,0,0.3);
  color: var(--gold);
}

/* ── Community page ────────────────────────────────────── */
.outreach-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.outreach-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-purple);
}

.outreach-card-header {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.outreach-card-body {
  padding: 24px;
}

.outreach-card-body h3 { margin-bottom: 0.5rem; font-size: 1rem; }
.outreach-card-body p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ── Page hero (inner pages) ───────────────────────────── */
.page-hero {
  padding: 80px 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(91,45,158,0.3) 0%, transparent 70%);
}

.page-hero .container { position: relative; z-index: 1; }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--glass-border); }
.breadcrumb .current { color: var(--gold); }

/* ── Alert / Notice ────────────────────────────────────── */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid;
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}

.alert-success {
  background: rgba(34,197,94,0.1);
  border-color: rgba(34,197,94,0.25);
  color: #86efac;
}

.alert-error {
  background: rgba(239,68,68,0.1);
  border-color: rgba(239,68,68,0.25);
  color: #fca5a5;
}

/* ── CTA Banner ────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--purple-mid) 0%, var(--purple-accent) 50%, #7c3aed 100%);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 0%, rgba(240,165,0,0.15) 0%, transparent 60%);
}

.cta-banner > * { position: relative; z-index: 1; }

.cta-banner h2 { margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.8); max-width: 520px; margin: 0 auto 2rem; }

/* ── Privacy ───────────────────────────────────────────── */
.privacy-content {
  max-width: 760px;
  margin: 0 auto;
}

.privacy-content h2 {
  font-size: 1.3rem;
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.privacy-content p { color: var(--text-muted); font-size: 0.92rem; }
.privacy-content ul { padding-left: 1.2rem; margin-bottom: 1rem; }
.privacy-content ul li { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 0.4rem; list-style: disc; }
.privacy-content ul li::marker { color: var(--gold); }

/* ── Thank you page ────────────────────────────────────── */
.thankyou-box {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.thankyou-icon {
  width: 80px;
  height: 80px;
  background: rgba(240,165,0,0.15);
  border: 1px solid rgba(240,165,0,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 2rem;
}

/* ── Scroll animations ─────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { order: -1; max-width: 420px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-reverse { direction: ltr; }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.large { grid-column: span 1; grid-row: span 1; }
}

@media (max-width: 768px) {
  :root { --nav-height: 68px; }

  .menu-toggle { display: flex; }

  .site-nav {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10,5,25,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 6px;
    overflow-y: auto;
    z-index: 999;
  }

  .site-nav.nav-open { display: flex; }

  .nav-link {
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: 10px;
    width: 100%;
  }

  .nav-cta {
    margin: 8px 0 0;
    text-align: center;
    padding: 14px;
  }

  .hero { padding: 60px 0 48px; min-height: auto; }

  .cards-3 { grid-template-columns: 1fr; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-2 { grid-template-columns: 1fr; }
  .values-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .gallery-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 48px 24px; }
  .contact-form { padding: 28px; }
  .event-card { flex-direction: column; gap: 16px; }
}
