/* ================================================================
   Moskee Al-Hijra — Premium Design System
   ================================================================ */

/* ---- Google Fonts Import ---- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ---- Design Tokens — Dark (default) ---- */
:root {
  --bg-deep:        #020d06;
  --bg-dark:        #041409;
  --bg-card:        #071a0e;
  --bg-surface:     #0c2414;
  --gold:           #c8902e;
  --gold-light:     #e6b040;
  --gold-dark:      #966818;
  --gold-subtle:    rgba(200, 144, 46, 0.12);
  --emerald:        #1b7a52;
  --emerald-light:  #24a56e;
  --emerald-subtle: rgba(27, 122, 82, 0.15);
  --white:          #edf5f0;
  --text:           #b8d4c2;
  --text-muted:     #4d7a5e;
  --border:         rgba(200, 144, 46, 0.22);
  --border-subtle:  rgba(255,255,255,0.06);
  --shadow-lg:      0 24px 64px rgba(0,0,0,0.65);
  --shadow-md:      0 8px 32px rgba(0,0,0,0.45);
  --ease:           cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:       cubic-bezier(0, 0, 0.2, 1);
  --ease-bounce:    cubic-bezier(0.34, 1.56, 0.64, 1);
  --nav-height:     72px;
  --radius:         12px;
  --radius-sm:      8px;
  --radius-lg:      20px;
  --logo-bg:        rgba(255,255,255,0.92);
  --logo-radius:    8px;
  --ramadan-bar-height: 0px;
}

/* ---- Design Tokens — Light theme ---- */
[data-theme="light"] {
  --bg-deep:       #f4faf6;
  --bg-dark:       #e6f2ea;
  --bg-card:       #ffffff;
  --bg-surface:    #eef7f1;
  --white:         #0d1f14;
  --text:          #0d1f14;
  --text-muted:    #3d6650;
  --border:        rgba(200, 144, 46, 0.38);
  --border-subtle: rgba(0,0,0,0.08);
  --shadow-lg:     0 24px 64px rgba(0,0,0,0.14);
  --shadow-md:     0 8px 32px rgba(0,0,0,0.09);
  --logo-bg:       transparent;
  --logo-radius:   0px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* Selection */
::selection { background: var(--gold); color: var(--bg-deep); }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
}

.display {
  font-family: 'Cinzel Decorative', cursive;
  font-weight: 700;
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: var(--ramadan-bar-height, 0px); left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
  background: rgba(6, 9, 15, 0.4);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
}

.nav--scrolled {
  background: rgba(6, 9, 15, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border-subtle);
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}

.nav--hidden { transform: translateY(-100%); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 42px;
  height: 42px;
  background: var(--gold-subtle);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-title {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.nav-logo-sub {
  font-size: 0.65rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}

.nav-link:hover,
.nav-link--active { color: var(--white); background: var(--border-subtle); }

.nav-cta {
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--gold);
  color: var(--bg-deep);
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,150,63,0.35);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.2s;
  cursor: pointer;
}

.hamburger:hover { background: var(--border-subtle); }

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.hamburger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger--open span:nth-child(2) { opacity: 0; }
.hamburger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2,10,5,0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.mobile-menu--open {
  display: flex;
  opacity: 1;
  transform: scale(1);
}

.mobile-link {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 12px 32px;
  border-radius: var(--radius-sm);
  transition: color 0.2s;
}

.mobile-link:hover { color: var(--white); }

.mobile-close {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 1.5rem;
  color: var(--text-muted);
  background: var(--border-subtle);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.mobile-close:hover { color: var(--white); background: var(--bg-surface); }

/* ---- Layout ---- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section--alt  { background: var(--bg-dark); }
.section--darker { background: var(--bg-deep); }

/* ---- Eyebrow ---- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.eyebrow::before,
.eyebrow::after {
  content: '';
  flex: 0 0 36px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

/* ---- Section Typography ---- */
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.12;
}

.section-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.7;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--bg-deep);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,150,63,0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gold);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--bg-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,150,63,0.25);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap 0.2s, opacity 0.2s;
}

.btn-text:hover { gap: 10px; opacity: 0.85; }

/* ---- Cards ---- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--border);
  box-shadow: var(--shadow-lg);
}

.card--gold-top { border-top: 2px solid var(--gold); }
.card--emerald-top { border-top: 2px solid var(--emerald); }
.card--featured { border: 2px solid var(--gold); transform: scale(1.02); }
.card--featured:hover { transform: scale(1.02) translateY(-6px); }

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
  line-height: 1;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.card-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg-deep);
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 55% at 50% 35%, rgba(27,122,82,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(200,144,46,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(2,13,6,0.9) 0%, transparent 50%);
  pointer-events: none;
}

/* Islamic geometric pattern overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background-image:
    repeating-linear-gradient(0deg, var(--gold) 0, var(--gold) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(90deg, var(--gold) 0, var(--gold) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(45deg, var(--gold) 0, var(--gold) 1px, transparent 1px, transparent 42px),
    repeating-linear-gradient(-45deg, var(--gold) 0, var(--gold) 1px, transparent 1px, transparent 42px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.85;
}

.hero-title {
  font-family: 'Cinzel Decorative', cursive;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 24px;
}

.hero-title span { color: var(--gold); }

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
  z-index: 2;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---- Page Hero (subpages) ---- */
.page-hero {
  min-height: 42vh;
  display: flex;
  align-items: center;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-subtle);
  padding: calc(var(--nav-height) + 60px) 0 80px;
}

/* ---- Section Header ---- */
.section-header {
  margin-bottom: 52px;
}

.section-header--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---- Prayer Widget ---- */
.prayer-widget-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.prayer-widget-wrap iframe {
  width: 100%;
  height: 320px;
  border: none;
  display: block;
}

.prayer-link {
  display: block;
  padding: 14px 20px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  border-top: 1px solid var(--border-subtle);
  transition: background 0.2s;
}

.prayer-link:hover { background: var(--gold-subtle); }

/* ---- Pillars ---- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.pillar-item {
  text-align: center;
  padding: 40px 24px;
  border-right: 1px solid var(--border-subtle);
  transition: background 0.3s;
}

.pillar-item:last-child { border-right: none; }
.pillar-item:hover { background: var(--gold-subtle); }

.pillar-number {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 2.5rem;
  color: var(--gold);
  opacity: 0.3;
  margin-bottom: 6px;
  line-height: 1;
}

.pillar-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.pillar-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---- Donation ---- */
.donate-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0;
}

.donate-amount {
  border: 1.5px solid var(--border-subtle);
  color: var(--text-muted);
  background: var(--bg-card);
  padding: 10px 26px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.donate-amount:hover,
.donate-amount--selected {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-subtle);
}

.donate-amount--custom { border-style: dashed; }

/* ---- Quote Block ---- */
.quote-block {
  border-left: 3px solid var(--gold);
  padding: 20px 28px;
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  background: var(--bg-card);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 32px 0;
}

.quote-block cite {
  display: block;
  font-style: normal;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  margin-top: 8px;
}

.quote-block--center {
  border-left: none;
  border-top: 2px solid var(--gold);
  border-radius: var(--radius-sm);
  text-align: center;
  padding: 36px 48px;
}

/* ---- Education Table ---- */
.edu-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.edu-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.92rem;
  color: var(--text-muted);
}

.edu-table td:first-child {
  color: var(--white);
  font-weight: 600;
  width: 55%;
}

.edu-table tr:last-child td { border-bottom: none; }

/* ---- Membership ---- */
.membership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.price-tag {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 2.8rem;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
  margin: 16px 0 4px;
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.plan-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.plan-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--bg-deep);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.feature-list {
  margin: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.feature-list li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---- Contact Form ---- */
.contact-form {
  display: grid;
  gap: 16px;
}

.form-input {
  width: 100%;
  background: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  color: var(--white);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}

.form-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,150,63,0.12);
}

.form-input::placeholder { color: var(--text-muted); }

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

/* ---- Info Blocks (contact) ---- */
.info-grid {
  display: grid;
  gap: 14px;
}

.info-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 2px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.info-block:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.info-block-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.info-value {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ---- Step Timeline ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.step-item {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
}

.step-num {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 2.2rem;
  color: var(--gold);
  opacity: 0.25;
  margin-bottom: 12px;
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.step-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- Tags ---- */
.tag {
  display: inline-block;
  background: var(--gold-subtle);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

/* ---- Image Placeholder ---- */
.img-placeholder {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gold);
  font-size: 3rem;
}

.img-placeholder span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ---- Map Placeholder ---- */
.map-placeholder {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}

.map-placeholder .map-icon { font-size: 3.5rem; }
.map-placeholder .map-addr {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
}

.map-placeholder .map-city {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ================================================================
   MOSQUE PHOTOS (Over Ons)
   ================================================================ */
.mosque-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.mosque-photo {
  margin: 0;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.mosque-photo img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.mosque-photo:hover img { transform: scale(1.03); }
.mosque-photo figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 16px;
  background: linear-gradient(to top, rgba(3,9,18,0.85), transparent);
  color: var(--gold);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
}
@media (max-width: 600px) {
  .mosque-photos { grid-template-columns: 1fr; }
  .mosque-photo img { height: 200px; }
}

/* ================================================================
   TIMELINE (Over Ons)
   ================================================================ */
.timeline {
  position: relative;
  padding-left: 32px;
  margin-top: 48px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 8px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--emerald), transparent);
}
.timeline__item {
  position: relative;
  margin-bottom: 48px;
}
.timeline__item:last-child { margin-bottom: 0; }

.timeline__marker {
  position: absolute;
  left: -27px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--emerald);
  box-shadow: 0 0 0 4px rgba(27, 122, 82, 0.15);
}
.timeline__marker--gold {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 144, 46, 0.15);
}

.timeline__year {
  display: inline-block;
  font-family: 'Cinzel Decorative', cursive;
  font-size: .8rem;
  color: var(--gold);
  letter-spacing: .08em;
  margin-bottom: 8px;
  background: rgba(200, 144, 46, 0.1);
  border: 1px solid rgba(200, 144, 46, 0.25);
  padding: 3px 10px;
  border-radius: 20px;
}
.timeline__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.timeline__content p {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: .95rem;
}

@media (min-width: 768px) {
  .timeline { padding-left: 48px; }
  .timeline::before { left: 16px; }
  .timeline__marker { left: -37px; width: 16px; height: 16px; }
  .timeline__content p { font-size: 1rem; }
}

/* ---- Footer ---- */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 64px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s, padding-left 0.2s;
}

.footer-links a:hover { color: var(--gold); padding-left: 4px; }

.footer-address {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.social-links { display: flex; flex-direction: column; gap: 10px; }

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s, gap 0.2s;
}

.social-link:hover { color: var(--gold); gap: 14px; }

.social-link-icon {
  width: 32px; height: 32px;
  background: var(--bg-surface);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: background 0.2s;
}

.social-link:hover .social-link-icon { background: var(--gold-subtle); }

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---- WhatsApp Float ---- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  z-index: 998;
  transition: transform 0.2s var(--ease-bounce), box-shadow 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.06);
  box-shadow: 0 10px 32px rgba(37,211,102,0.55);
}

.whatsapp-float--pulse { animation: waPulse 2.5s ease-in-out; }

@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 6px 40px rgba(37,211,102,0.8); }
}

/* ---- Scroll Reveal ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pillar-grid { grid-template-columns: repeat(3, 1fr); }
  .membership-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .section { padding: 64px 0; }
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-item { border-right: none; border-bottom: 1px solid var(--border-subtle); }
  .pillar-item:last-child { border-bottom: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .membership-grid { grid-template-columns: 1fr; }
  .card--featured { transform: none; }
  .quote-block--center { padding: 24px; }
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 14px; border-radius: 50%; }
  .donate-amounts { justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
  .pillar-grid { grid-template-columns: 1fr; }
  .section-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
}

/* ================================================================
   BEM Supplement — classes used by HTML pages
   ================================================================ */

/* Section variants */
.section--dark { background: var(--bg-dark); }

/* Grid aliases (BEM) */
.grid { display: grid; gap: 24px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid--4 { grid-template-columns: 1fr 1fr; }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 480px) {
  .grid--4 { grid-template-columns: 1fr; }
}

/* Button aliases (BEM) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  border: 1.5px solid transparent;
}

.btn--gold {
  background: var(--gold);
  color: var(--bg-deep);
  border-color: var(--gold);
}
.btn--gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,150,63,0.4);
}

.btn--outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn--outline:hover {
  background: var(--gold);
  color: var(--bg-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,150,63,0.25);
}

.btn--full { width: 100%; }

/* Nav logo BEM */
.nav-logo__ar {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 1.1rem;
  color: var(--gold);
  line-height: 1;
}
.nav-logo__text {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}

/* Nav CTA link */
.nav-link--cta {
  background: var(--emerald);
  color: #ffffff !important;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
}
.nav-link--cta:hover {
  background: var(--emerald-light);
  transform: translateY(-1px);
}

/* Mobile link CTA */
.mobile-link--cta {
  color: var(--gold) !important;
  font-weight: 800;
}

/* ---- Hero BEM ---- */
.hero__geo {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    repeating-linear-gradient(0deg, var(--gold) 0, var(--gold) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(90deg, var(--gold) 0, var(--gold) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(45deg, var(--gold) 0, var(--gold) 1px, transparent 1px, transparent 42px),
    repeating-linear-gradient(-45deg, var(--gold) 0, var(--gold) 1px, transparent 1px, transparent 42px);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 0 24px;
  margin: 0 auto;
  text-align: center;
}
.hero__eyebrow {
  display: block;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0.85;
  font-family: serif;
}
.hero__title {
  font-family: 'Cinzel Decorative', cursive;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero__title-sub {
  font-size: 0.6em;
  color: var(--gold);
  letter-spacing: 0.15em;
  display: inline-block;
}
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 540px;
  margin: 0 auto 40px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  animation: scrollBounce 2s ease-in-out infinite;
  z-index: 2;
}

/* ---- Page Hero BEM ---- */
.page-hero__geo {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image:
    repeating-linear-gradient(0deg, var(--gold) 0, var(--gold) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(90deg, var(--gold) 0, var(--gold) 1px, transparent 1px, transparent 60px);
  pointer-events: none;
}
.page-hero { position: relative; overflow: hidden; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero__eyebrow {
  display: block;
  font-family: serif;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 16px;
  opacity: 0.8;
}
.page-hero__title {
  font-family: 'Cinzel Decorative', cursive;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.page-hero__sub {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 600px;
}

/* ---- Section Header BEM ---- */
.section-header {
  margin-bottom: 52px;
}
.section-header .eyebrow { justify-content: flex-start; }
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.12;
}
.section-header p {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.7;
}

/* ---- Split layout ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split--reverse .split__text { order: 2; }
.split--reverse .split__visual { order: 1; }
.split__text h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.15;
}
.split__text p { color: var(--text-muted); line-height: 1.75; }
.split__text .eyebrow { justify-content: flex-start; }
.split__visual { display: flex; align-items: stretch; }

@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split__text { order: 1; }
  .split--reverse .split__visual { order: 2; }
}

/* ---- Card BEM ---- */
.card__icon {
  width: 52px; height: 52px;
  background: var(--gold-subtle);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--gold);
}
.card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.card__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.card__link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  transition: opacity 0.2s;
}
.card__link:hover { opacity: 0.75; }
.card__prayer-name {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.card__price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.card__price small {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}
.card__list {
  margin: 14px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.card__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  color: var(--text-muted);
}
.card__list li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---- Pillar BEM ---- */
.pillar {
  text-align: center;
  padding: 40px 24px;
  border-right: 1px solid var(--border-subtle);
  transition: background 0.3s;
}
.pillar:last-child { border-right: none; }
.pillar:hover { background: var(--gold-subtle); }
.pillar__num {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 2.8rem;
  color: var(--gold);
  opacity: 0.3;
  margin-bottom: 8px;
  line-height: 1;
}
.pillar__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.pillar__text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---- Stats ---- */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item { text-align: center; }
.stat-num {
  display: block;
  font-family: 'Cinzel Decorative', cursive;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.5px;
}
@media (max-width: 768px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
}

/* ---- Footer BEM ---- */
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 64px;
}
.footer__col { display: flex; flex-direction: column; gap: 0; }
.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer__logo-ar {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 1.4rem;
  color: var(--gold);
}
.footer__logo-text {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
}
.footer__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 260px;
}
.footer__heading {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__link {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.2s, padding-left 0.2s;
}
.footer__link:hover { color: var(--gold); padding-left: 4px; }
.footer__address {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: normal;
}
.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.footer__social-link {
  width: 36px; height: 36px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.footer__social-link:hover {
  background: var(--gold-subtle);
  color: var(--gold);
  border-color: var(--border);
}
.footer__bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---- Quote Block BEM ---- */
.quote-block {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 64px 24px;
  text-align: center;
}
.quote-block__text {
  font-family: serif;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--gold);
  line-height: 1.6;
  margin-bottom: 16px;
  direction: rtl;
}
.quote-block__source {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: normal;
}

/* ---- Contact Info ---- */
.contact-info {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 32px;
  height: 100%;
}
.contact-info__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
}
.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.contact-info__item:last-of-type { border-bottom: none; }
.contact-info__icon {
  width: 40px; height: 40px;
  background: var(--gold-subtle);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-info__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.contact-info__value {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.contact-info__link { transition: color 0.2s; }
.contact-info__link:hover { color: var(--gold); }
.contact-info__hours {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}
.contact-info__hours-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.contact-info__hours p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- Map embed ---- */
.map-embed {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  overflow: hidden;
}
.map-embed__inner {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
}

/* ---- Form BEM ---- */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a8fa8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-select option { background: var(--bg-card); color: var(--white); }
.form-textarea { min-height: 120px; resize: vertical; }

/* ---- Bank Card ---- */
.bank-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 28px;
}
.bank-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
}
.bank-card__body { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.bank-card__row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}
.bank-card__row:last-child { border-bottom: none; padding-bottom: 0; }
.bank-card__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}
.bank-card__value {
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 500;
}
.bank-card__note {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 4px;
}

/* ---- FAQ ---- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 2px solid transparent;
  border-radius: var(--radius-sm);
  transition: border-color 0.2s;
  overflow: hidden;
}
.faq-item[open],
.faq-item:hover { border-left-color: var(--gold); }
.faq-item__question {
  padding: 18px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__question::after {
  content: '+';
  color: var(--gold);
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-item[open] .faq-item__question::after { transform: rotate(45deg); }
.faq-item__answer {
  padding: 0 20px 18px;
}
.faq-item__answer p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- Membership Cards ---- */
.membership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: start;
  max-width: 780px;
  margin: 0 auto;
}
.membership-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-top: 2px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.membership-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.membership-card--featured {
  border: 2px solid var(--gold);
  transform: scale(1.03);
  position: relative;
}
.membership-card--featured:hover { transform: scale(1.03) translateY(-6px); }
.membership-card__badge {
  display: inline-block;
  background: var(--gold);
  color: var(--bg-deep);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
  align-self: flex-start;
}
.membership-card__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.membership-card__price {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin: 8px 0 4px;
}
.membership-card__price small {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-muted);
}
.membership-card__features {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 16px 0 24px;
  flex: 1;
}
.membership-card__features li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.87rem;
  color: var(--text-muted);
}
.membership-card__features li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}
@media (max-width: 1024px) {
  .membership-grid { grid-template-columns: 1fr 1fr; }
  .membership-card--featured { transform: none; }
}
@media (max-width: 768px) {
  .membership-grid { grid-template-columns: 1fr; }
}

/* ---- Visual Block (about page) ---- */
.visual-block {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.visual-block__inner {
  text-align: center;
  padding: 40px;
}
.visual-block__ar {
  font-family: 'Cinzel Decorative', cursive;
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--gold);
  opacity: 0.5;
  display: block;
  margin-bottom: 16px;
}
.visual-block__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---- Edu table wrapper ---- */
.edu-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
}
.edu-table thead tr {
  background: var(--bg-surface);
}
.edu-table th {
  padding: 14px 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.edu-table tbody tr:nth-child(even) { background: rgba(255,255,255,0.015); }
.edu-table tbody tr:hover { background: var(--gold-subtle); }

/* ---- Prayer widget large ---- */
.prayer-widget-wrap--large iframe { height: 550px; }
@media (max-width: 768px) {
  .prayer-widget-wrap--large iframe { height: 420px; }
}

/* ---- Map placeholder ---- */
.map-placeholder {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  width: 100%;
}

/* ---- Membership form ---- */
.membership-form { display: grid; gap: 16px; }

/* ---- Pillar grid responsive ---- */
@media (max-width: 1024px) {
  .pillar-grid { grid-template-columns: repeat(3, 1fr); }
  .pillar { border-right: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
}
@media (max-width: 768px) {
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar { border-right: none; }
}

/* ================================================================
   LOGO IMAGE
   ================================================================ */
.nav-logo__img {
  width: 150px;
  height: 52px;
  object-fit: contain;
  object-position: center;
  display: block;
  /* Dark mode: white badge with gold border — intentional design */
  background: #ffffff;
  border-radius: 8px;
  padding: 4px 10px;
  border: 1px solid rgba(201, 150, 63, 0.35);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.nav-logo:hover .nav-logo__img {
  border-color: var(--gold);
  box-shadow: 0 2px 12px rgba(201,150,63,0.3);
}

/* Light mode: logo sits on matching background, no border needed */
[data-theme="light"] .nav-logo__img {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 2px 0;
  mix-blend-mode: multiply;
}

.footer__logo-img {
  width: 160px;
  height: 56px;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #ffffff;
  border-radius: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(201, 150, 63, 0.25);
  margin-bottom: 14px;
}

[data-theme="light"] .footer__logo-img {
  background: transparent;
  border: none;
  padding: 0;
  mix-blend-mode: multiply;
}

/* ================================================================
   THEME TOGGLE BUTTON
   ================================================================ */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: var(--gold-subtle);
  color: var(--gold);
  border-color: var(--border);
  transform: rotate(20deg);
}

.theme-toggle svg { pointer-events: none; }

/* ================================================================
   LIGHT THEME OVERRIDES
   ================================================================ */

/* Navbar */
[data-theme="light"] .nav {
  background: rgba(240, 248, 242, 0.6);
}
[data-theme="light"] .nav--scrolled {
  background: rgba(240, 248, 242, 0.96);
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
}
[data-theme="light"] .nav-link { color: #2e5440; }
[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link--active { color: #0d1f14; background: rgba(0,0,0,0.05); }
[data-theme="light"] .hamburger span { background: #0d1f14; }

/* Mobile menu */
[data-theme="light"] .mobile-menu { background: rgba(240,248,242,0.99); }
[data-theme="light"] .mobile-link { color: #2e5440; }
[data-theme="light"] .mobile-link:hover { color: #0d1f14; }
[data-theme="light"] .mobile-close { color: #2e5440; background: rgba(0,0,0,0.06); }

/* Headings */
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4 { color: #0d1f14; }

/* Hero */
[data-theme="light"] .hero {
  background: linear-gradient(150deg, #d6eedd 0%, #f4faf6 50%, #f0ead8 100%);
}
[data-theme="light"] .hero::before {
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(27,122,82,0.10) 0%, transparent 65%);
}
[data-theme="light"] .hero__title { color: #0d1f14; }
[data-theme="light"] .hero__eyebrow { color: var(--gold); opacity: 1; }

/* Page hero */
[data-theme="light"] .page-hero { background: linear-gradient(135deg, #d6eedd 0%, #f2ebe0 100%); border-bottom-color: rgba(0,0,0,0.08); }
[data-theme="light"] .page-hero__title { color: #0d1f14; }

/* Quote block */
[data-theme="light"] .quote-block { background: #dff0e6; }

/* Scrollbar */
[data-theme="light"] ::-webkit-scrollbar-track { background: #f4f1eb; }

/* Cards in light mode get a subtle shadow instead of dark bg */
[data-theme="light"] .card {
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  border-color: var(--border);
}

/* Contact info, bank card, FAQ in light mode */
[data-theme="light"] .contact-info,
[data-theme="light"] .bank-card,
[data-theme="light"] .prayer-widget-wrap,
[data-theme="light"] .step-item {
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.08);
}

[data-theme="light"] .faq-item { border-color: rgba(0,0,0,0.07); }

/* Edu table */
[data-theme="light"] .edu-table tbody tr:nth-child(even) { background: rgba(0,0,0,0.02); }

/* Footer */
[data-theme="light"] .footer { background: #d8eede; border-top-color: var(--border); }

/* Smooth theme transition on all key elements */
body,
.nav,
.card,
.footer,
.mobile-menu,
.contact-info,
.bank-card,
.faq-item,
.quote-block,
.page-hero,
.prayer-widget-wrap {
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

/* ================================================================
   RAMADAN BAR
   ================================================================ */
.ramadan-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--ramadan-bar-height, 46px);
  z-index: 1002;
  background: linear-gradient(90deg, #0a1628 0%, #162d5a 40%, #1a3666 60%, #0a1628 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 48px;
  gap: 14px;
  border-bottom: 1px solid rgba(200, 144, 46, 0.35);
  overflow: hidden;
}

.ramadan-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(200,144,46,0.06) 30%,
    rgba(200,144,46,0.08) 50%,
    rgba(200,144,46,0.06) 70%,
    transparent 100%);
  pointer-events: none;
}

.ramadan-bar__icon {
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
  opacity: 0.9;
  animation: ramadanIconPulse 3s ease-in-out infinite;
}
.ramadan-bar__icon:last-of-type { animation-delay: 1.5s; }

@keyframes ramadanIconPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

.ramadan-bar__text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--gold);
  white-space: nowrap;
}

.ramadan-bar__text strong {
  font-family: serif;
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.ramadan-bar__sep {
  opacity: 0.5;
}

.ramadan-bar__sub {
  font-size: 0.8rem;
  opacity: 0.85;
}

.ramadan-bar__close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(200,144,46,0.25);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1rem;
  line-height: 1;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s, background 0.2s;
}

.ramadan-bar__close:hover {
  opacity: 1;
  background: rgba(200,144,46,0.15);
}

@media (max-width: 640px) {
  .ramadan-bar { padding: 0 36px 0 12px; gap: 8px; }
  .ramadan-bar__sub { display: none; }
  .ramadan-bar__sep { display: none; }
  .ramadan-bar__text { gap: 0; }
}

/* ================================================================
   HERO — RAMADAN NIGHT SKY
   ================================================================ */
.hero--ramadan {
  background:
    radial-gradient(ellipse 140% 90% at 18% 75%, #1e4a90 0%, #0c1e50 35%, #040d20 70%, #020810 100%) !important;
  padding-top: calc(var(--nav-height) + var(--ramadan-bar-height, 0px));
}

/* Hide the default geometric pattern in ramadan hero */
.hero--ramadan .hero__geo { display: none; }

/* Night sky wrapper */
.hero__night-sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* ---- Crescent Moon ---- */
.hero__moon-wrap {
  position: absolute;
  left: 16%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(56vw, 520px);
  filter:
    drop-shadow(0 0 30px rgba(180,210,255,0.22))
    drop-shadow(0 0 80px rgba(160,195,255,0.12));
  animation: moonFloat 9s ease-in-out infinite;
}

.hero__moon-svg {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes moonFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(0px); }
  50%       { transform: translate(-50%, -50%) translateY(-10px); }
}

/* ---- Stars ---- */
.hero__stars-wrap {
  position: absolute;
  inset: 0;
}

.hero__star {
  position: absolute;
  border-radius: 50%;
  background: #ffd700;
  animation: starTwinkle var(--dur, 3s) ease-in-out infinite var(--delay, 0s);
}

.hero__star--white { background: #e8f0ff; }

.hero__star--sparkle {
  background: transparent;
  border-radius: 0;
  width: 8px !important;
  height: 8px !important;
}
.hero__star--sparkle::before,
.hero__star--sparkle::after {
  content: '';
  position: absolute;
  background: #ffd700;
  border-radius: 2px;
}
.hero__star--sparkle::before {
  width: 2px; height: 100%;
  left: 50%; top: 0;
  transform: translateX(-50%);
}
.hero__star--sparkle::after {
  width: 100%; height: 2px;
  top: 50%; left: 0;
  transform: translateY(-50%);
}

@keyframes starTwinkle {
  0%, 100% { opacity: var(--op-min, 0.35); transform: scale(1); }
  50%       { opacity: 1;                   transform: scale(var(--scale, 1.4)); }
}

/* Bokeh glow blobs (like in image) */
.hero__bokeh {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(140,190,255,0.12) 0%, transparent 70%);
  pointer-events: none;
  animation: bokehDrift var(--dur, 8s) ease-in-out infinite var(--delay, 0s);
}

@keyframes bokehDrift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  33%       { transform: translate(12px, -8px) scale(1.05); opacity: 0.9; }
  66%       { transform: translate(-8px, 6px) scale(0.95); opacity: 0.5; }
}

/* Light theme: hide night sky background */
[data-theme="light"] .hero--ramadan {
  background: linear-gradient(150deg, #d6eedd 0%, #f4faf6 50%, #f0ead8 100%) !important;
}
[data-theme="light"] .hero__night-sky { display: none; }
[data-theme="light"] .ramadan-bar {
  background: linear-gradient(90deg, #dfeef5 0%, #e8f5fd 50%, #dfeef5 100%);
  border-bottom-color: rgba(200, 144, 46, 0.3);
}

@media (max-width: 768px) {
  .hero__moon-wrap {
    width: min(88vw, 380px);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.55;
  }
}

/* ================================================================
   PRAYER TIMES TABLE — Maandoverzicht
   ================================================================ */
.pt-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.pt-nav__btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border-subtle);
  color: var(--gold);
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.pt-nav__btn:hover { background: var(--gold-subtle); border-color: var(--gold); }
.pt-nav__label {
  font-size: 1.05rem; font-weight: 700;
  color: var(--white);
  min-width: 190px; text-align: center;
}
.pt-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}
.pt-table {
  width: 100%; border-collapse: collapse; font-size: 0.875rem;
  min-width: 480px;
}
.pt-table thead th {
  padding: 0.8rem 1rem;
  text-align: left;
  font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--gold);
  background: rgba(200, 144, 46, 0.06);
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}
.pt-table tbody tr {
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.15s;
}
.pt-table tbody tr:last-child { border-bottom: none; }
.pt-table tbody tr:hover { background: rgba(255,255,255,0.03); }
.pt-table tbody td {
  padding: 0.65rem 1rem;
  color: var(--text);
  white-space: nowrap;
}
.pt-table .pt-day {
  font-weight: 600; color: var(--text-muted);
  width: 36px; font-size: 0.8rem;
}
.pt-table .pt-date { color: var(--text-muted); font-size: 0.85rem; }
.pt-table tr.pt-today { background: var(--gold-subtle) !important; }
.pt-table tr.pt-today .pt-day { color: var(--gold); font-weight: 700; }
.pt-table tr.pt-today td { color: var(--white); }
.pt-table tr.pt-friday .pt-day { color: var(--emerald-light); }
.pt-loading {
  text-align: center; padding: 3rem;
  color: var(--text-muted); font-size: 0.9rem;
}
.pt-nav__today {
  margin-left: 0.5rem;
  padding: 6px 16px; border-radius: 20px;
  background: var(--gold-subtle); border: 1px solid var(--border);
  color: var(--gold); font-size: 0.78rem; font-weight: 600;
  cursor: pointer; transition: background 0.2s;
}
.pt-nav__today:hover { background: rgba(200,144,46,0.2); }
.pt-iqama-bar {
  margin-top: 1.25rem; padding: 0.75rem 1.25rem;
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem;
  font-size: 0.8rem; color: var(--text-muted);
}
.pt-iqama-bar__label { font-weight: 600; color: var(--gold); }
.pt-iqama-bar strong { color: var(--text); }
.pt-note {
  margin-top: 1rem; font-size: 0.73rem;
  color: var(--text-muted); text-align: center; line-height: 1.6;
}

@media (max-width: 620px) {
  /* De wrapper-achtergrond fungeert als rasterkleur; gap: 1px maakt lijnen zichtbaar */
  .pt-table-wrap {
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 1px;
  }
  .pt-table { min-width: 0; display: contents; }
  .pt-table thead, .pt-table tbody { display: contents; }

  /* Elke rij = grid met 1px gap tussen cellen */
  .pt-table tr {
    display: grid;
    grid-template-columns: 28px 52px repeat(5, 1fr);
    gap: 1px;
    background: var(--border-subtle); /* zichtbaar als kolomlijn door gap */
  }

  /* Cellen krijgen eigen achtergrond zodat de gap als lijn zichtbaar wordt */
  .pt-table th,
  .pt-table td {
    background: var(--bg-card);
    padding: 0.5rem 0.25rem;
    font-size: 0.68rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
  }

  /* Header */
  .pt-table thead tr { background: rgba(200,144,46,0.18); }
  .pt-table thead th {
    background: rgba(200,144,46,0.08);
    font-size: 0.58rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0;
    padding: 0.4rem 0.25rem;
    text-transform: uppercase;
  }
  .pt-table thead th:first-child,
  .pt-table thead th:nth-child(2) { text-align: left; padding-left: 0.55rem; }

  /* Dag & datum */
  .pt-table .pt-day  { text-align: left; padding-left: 0.55rem; font-size: 0.62rem; width: auto; }
  .pt-table .pt-date { text-align: left; font-size: 0.65rem; color: var(--text-muted); }

  /* Vandaag */
  .pt-table tr.pt-today th,
  .pt-table tr.pt-today td { background: rgba(200,144,46,0.13); font-weight: 700; }
  .pt-table tr.pt-today .pt-day { color: var(--gold); }

  /* Vrijdag */
  .pt-table tr.pt-friday .pt-day { color: var(--emerald-light); }

  .pt-nav__label { min-width: 130px; font-size: 0.9rem; }
  .pt-iqama-bar { font-size: 0.72rem; gap: 0.35rem 0.85rem; }
}

/* ===== TABS ===== */
.tabs-bar {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border-subtle);
  margin-bottom: 2.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tabs-bar::-webkit-scrollbar { display: none; }
.tab-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: .85rem 1.5rem;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.tab-btn:hover { color: var(--white); }
.tab-btn.tab-btn--active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.tab-panel { display: none; }
.tab-panel.tab-panel--active { display: block; }

/* Sub-tabs (binnen een tab-panel) */
.subtabs-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 2rem;
}
.subtab-btn {
  background: var(--border-subtle);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: inherit;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: .6rem 1.25rem;
  transition: all .2s;
  white-space: nowrap;
  flex: 1;
}
.subtab-btn:hover { border-color: var(--gold); color: var(--white); }
.subtab-btn.subtab-btn--active {
  background: var(--gold-subtle);
  border-color: var(--gold);
  color: var(--gold);
}
.subtab-panel { display: none; }
.subtab-panel.subtab-panel--active { display: block; }
@media (max-width: 540px) {
  .tab-btn { font-size: .82rem; padding: .75rem .9rem; }
}
