/*
Theme Name: ICH - Islamic Center of Harrison
Theme URI: https://www.ichnj.com
Author: Islamic Center of Harrison
Author URI: https://www.ichnj.com
Description: A modern, elegant WordPress theme for the Islamic Center of Harrison. Features include automatic prayer time parsing from uploaded Excel schedules, current prayer highlighting, Monthly Muazzin newsletter management, SEO-optimized local mosque schema markup, and a fully customizable homepage — all manageable without touching code.
Version: 2.0.0
Requires at least: 5.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ich-theme
Tags: one-column, custom-colors, custom-logo, featured-images, translation-ready
*/

/* ══════════════════════════════════════
   CSS Variables
   ══════════════════════════════════════ */
:root {
  --gold: #C8A45C;
  --gold-light: #E8D5A3;
  --gold-dark: #A07D3A;
  --teal: #1A6B5A;
  --teal-deep: #0E4A3E;
  --teal-light: #2A8B74;
  --cream: #FAF7F0;
  --cream-dark: #F0EBE0;
  --charcoal: #2B2B2B;
  --text: #3A3A3A;
  --text-light: #6B6B6B;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 12px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  line-height: 1.7;
}
a { transition: all 0.25s; }
img { max-width: 100%; height: auto; }

/* ══════════════════════════════════════
   Navigation
   ══════════════════════════════════════ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(200, 164, 92, 0.15);
  transition: all 0.4s ease;
}
.site-nav.scrolled { background: rgba(250, 247, 240, 0.97); box-shadow: var(--shadow-sm); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--teal-deep);
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 42px;
  height: 42px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-family: 'Amiri', serif;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}
.nav-logo .custom-logo {
  height: 42px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}
.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.nav-logo-text span {
  display: block;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-menu li { list-style: none; }
.nav-menu a {
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
}
.nav-menu a:hover { background: rgba(26,107,90,0.08); color: var(--teal); }
.nav-donate {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}
.nav-donate:hover { background: var(--teal-deep) !important; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(26,107,90,0.3); }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--charcoal); margin: 5px 0; border-radius: 2px; transition: 0.3s; }

/* ══════════════════════════════════════
   Buttons
   ══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  font-family: 'Source Sans 3', sans-serif;
}
.btn-gold { background: var(--gold); color: var(--charcoal); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,164,92,0.4); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.35); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-deep); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,107,90,0.3); }
.btn-sm { padding: 10px 22px; font-size: 14px; border-radius: 8px; }
.btn-outline-dark { background: transparent; color: var(--teal); border: 1.5px solid var(--teal); }
.btn-outline-dark:hover { background: var(--teal); color: var(--white); }

/* ══════════════════════════════════════
   Hero
   ══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(165deg, var(--teal-deep) 0%, var(--teal) 40%, var(--teal-light) 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(200,164,92,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(200,164,92,0.08) 0%, transparent 40%);
}
.hero-geometric { position: absolute; right: -5%; top: 50%; transform: translateY(-50%); width: 600px; height: 600px; opacity: 0.06; }
.hero-geometric svg { width: 100%; height: 100%; }
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: 120px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-text { animation: fadeUp 0.8s ease both; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(200,164,92,0.3);
  border-radius: 100px;
  font-size: 12px; font-weight: 500;
  color: var(--gold-light);
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}
.hero-badge::before { content: none; }
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 700; color: var(--white);
  line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-desc { font-size: 18px; color: rgba(255,255,255,0.8); line-height: 1.7; max-width: 480px; margin-bottom: 36px; font-weight: 300; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ══════════════════════════════════════
   Prayer Card
   ══════════════════════════════════════ */
.hero-card { animation: fadeUp 0.8s 0.2s ease both; }
.prayer-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 36px;
  color: var(--white);
}
.prayer-card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.prayer-card h3 { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 600; }
.prayer-date { font-size: 13px; color: var(--gold-light); font-weight: 500; }
.prayer-list { display: flex; flex-direction: column; gap: 6px; }

/* Prayer Times Header Row */
.prayer-times-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 4px;
}
.prayer-times-header span {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
}
.prayer-times-header .col-right { display: flex; gap: 24px; }

.prayer-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px 16px;
  border-radius: 10px;
  transition: background 0.25s;
}
.prayer-item:hover { background: rgba(255,255,255,0.06); }

/* Current prayer highlight */
.prayer-item.current-prayer {
  background: rgba(200,164,92,0.2);
  border: 1px solid rgba(200,164,92,0.35);
  box-shadow: 0 0 20px rgba(200,164,92,0.1);
}
.prayer-item.current-prayer .prayer-name { color: var(--gold-light); }
.prayer-item.highlight { background: rgba(200,164,92,0.1); }

.prayer-name { font-weight: 500; font-size: 15px; }
.prayer-name .arabic { font-family: 'Amiri', serif; margin-left: 8px; color: var(--gold-light); font-size: 16px; }
.prayer-time { font-size: 13px; font-weight: 600; color: var(--gold-light); font-variant-numeric: tabular-nums; min-width: 80px; text-align: right; white-space: nowrap; }
.prayer-time.iqamah-time { color: rgba(255,255,255,0.7); font-weight: 500; }

/* Column headers */
.prayer-times-header {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  padding: 0 16px 8px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.prayer-times-header span {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  min-width: 80px;
  text-align: right;
}
.prayer-times-header span:first-child {
  text-align: left;
  min-width: auto;
}
.prayer-card-footer {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}
.prayer-card-footer p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.5; }
.prayer-card-footer strong { color: var(--gold-light); }

/* ══════════════════════════════════════
   Announcement
   ══════════════════════════════════════ */
.announcement {
  background: var(--gold);
  padding: 16px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.announcement::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, transparent, transparent 20px, rgba(255,255,255,0.05) 20px, rgba(255,255,255,0.05) 21px);
}
.announcement p { position: relative; font-size: 15px; font-weight: 600; color: var(--charcoal); max-width: 900px; margin: 0 auto; }

/* ══════════════════════════════════════
   Sections
   ══════════════════════════════════════ */
.ich-section { padding: 100px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--teal); margin-bottom: 16px;
}
.section-label::before { content: ''; width: 24px; height: 2px; background: var(--gold); border-radius: 2px; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 700; color: var(--charcoal);
  letter-spacing: -0.02em; line-height: 1.15;
  margin-bottom: 16px;
}
.section-subtitle { font-size: 17px; color: var(--text-light); max-width: 600px; line-height: 1.7; font-weight: 300; }

/* ══════════════════════════════════════
   Services
   ══════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}
.service-icon.teal { background: rgba(26,107,90,0.1); }
.service-icon.gold { background: rgba(200,164,92,0.15); }
.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 600;
  color: var(--charcoal); margin-bottom: 12px;
}
.service-card p, .service-card li { font-size: 14.5px; color: var(--text-light); line-height: 1.7; }
.service-card ul { list-style: none; margin-top: 8px; }
.service-card ul li { padding: 4px 0 4px 18px; position: relative; }
.service-card ul li::before { content: '\2726'; position: absolute; left: 0; color: var(--gold); font-size: 9px; top: 8px; }

/* ══════════════════════════════════════
   Schedule
   ══════════════════════════════════════ */
.schedule-section { background: var(--white); }
.schedule-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; }
.schedule-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid rgba(0,0,0,0.04);
}
.schedule-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 600;
  color: var(--charcoal); margin-bottom: 20px;
}
.schedule-table { width: 100%; border-collapse: collapse; }
.schedule-table th {
  text-align: left; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-light); padding: 8px 0;
  border-bottom: 2px solid rgba(0,0,0,0.06);
}
.schedule-table td { padding: 10px 0; font-size: 14.5px; border-bottom: 1px solid rgba(0,0,0,0.04); }
.schedule-table td:last-child { font-weight: 600; color: var(--teal); text-align: right; }
.schedule-table th:last-child { text-align: right; }
.schedule-note { font-size: 12px; color: var(--text-light); margin-top: 12px; }
.schedule-note a { color: var(--teal); }

/* Full monthly schedule */
.full-schedule-table th { font-size: 10px; white-space: nowrap; }
.full-schedule-table td { font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.full-schedule-table td small { color: var(--text-light); font-weight: 400; }
.full-schedule-table .today-row { background: rgba(26,107,90,0.08); font-weight: 600; }
.full-schedule-table .today-row td { color: var(--teal-deep); border-bottom-color: rgba(26,107,90,0.15); }
.full-schedule-table .today-row td:last-child { color: var(--teal); }

.schedule-download {
  margin-top: 32px;
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.schedule-download p { font-size: 14px; color: var(--text-light); margin-bottom: 12px; }

/* ══════════════════════════════════════
   About
   ══════════════════════════════════════ */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; margin-top: 48px;
}
.about-visual { position: relative; }
.about-img-placeholder {
  width: 100%; aspect-ratio: 4/3;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--teal-deep), var(--teal-light));
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: white; position: relative; overflow: hidden;
}
.about-img-placeholder::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 70%, rgba(200,164,92,0.2) 0%, transparent 50%);
}
.about-img-placeholder .icon-mosque { font-size: 80px; opacity: 0.6; margin-bottom: 12px; position: relative; }
.about-img-placeholder > span { font-family: 'Playfair Display', serif; font-size: 18px; opacity: 0.7; position: relative; }
.about-stat-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--gold); color: var(--charcoal);
  padding: 20px 28px; border-radius: 16px;
  text-align: center; box-shadow: var(--shadow-lg);
}
.about-stat-badge .number { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 700; display: block; line-height: 1; }
.about-stat-badge .label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }
.about-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 600;
  color: var(--charcoal); margin-bottom: 20px; line-height: 1.25;
}
.about-text p { color: var(--text-light); margin-bottom: 16px; font-size: 15.5px; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.value-item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--teal-deep); }
.value-item::before { content: '\2726'; color: var(--gold); font-size: 10px; }

/* ══════════════════════════════════════
   Membership
   ══════════════════════════════════════ */
.membership-section { background: var(--cream-dark); }
.membership-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-top: 48px; }
.membership-info h3 { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 600; color: var(--charcoal); margin-bottom: 16px; }
.membership-info p { color: var(--text-light); font-size: 15px; margin-bottom: 20px; }
.membership-pricing { display: flex; gap: 20px; margin-bottom: 24px; }
.price-tag {
  background: var(--white); border-radius: var(--radius);
  padding: 20px 24px; text-align: center;
  border: 1px solid rgba(0,0,0,0.04); flex: 1;
}
.price-tag .amount { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; color: var(--teal); display: block; }
.price-tag .desc { font-size: 12px; color: var(--text-light); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }
.volunteer-title { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 600; color: var(--charcoal); margin-bottom: 20px; }
.volunteer-desc { font-size: 14.5px; color: var(--text-light); margin-bottom: 16px; }
.volunteer-areas { display: flex; flex-wrap: wrap; gap: 8px; }
.volunteer-tag { background: rgba(26,107,90,0.08); color: var(--teal); padding: 6px 14px; border-radius: 100px; font-size: 13px; font-weight: 500; }

/* ══════════════════════════════════════
   CTA / Donate
   ══════════════════════════════════════ */
.cta-section {
  background: linear-gradient(165deg, var(--teal-deep), var(--teal));
  position: relative; overflow: hidden; text-align: center;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(200,164,92,0.12) 0%, transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(200,164,92,0.08) 0%, transparent 35%);
}
.cta-content { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.cta-content .section-label { color: var(--gold-light); justify-content: center; }
.cta-content .section-label::before { background: var(--gold-light); }
.cta-content .section-title { color: var(--white); }
.cta-content .section-subtitle { color: rgba(255,255,255,0.7); margin: 0 auto 12px; }
.cta-zelle { font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 32px; }
.cta-zelle strong { color: var(--gold-light); }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════
   Contact
   ══════════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.contact-card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px; border: 1px solid rgba(0,0,0,0.04);
  text-align: center; transition: all 0.3s;
}
.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.contact-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(26,107,90,0.08);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 20px;
}
.contact-card h4 { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 600; margin-bottom: 8px; color: var(--charcoal); }
.contact-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* ══════════════════════════════════════
   Footer
   ══════════════════════════════════════ */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,0.6); padding: 60px 24px 30px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand .nav-logo-icon { width: 36px; height: 36px; font-size: 16px; }
.footer-brand .custom-logo { height: 36px; width: auto; }
.footer-brand-name { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 600; color: var(--white); }
.footer-about p { font-size: 14px; line-height: 1.7; }
.footer-col h5 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-light); margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 14px; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; font-size: 13px; flex-wrap: wrap; gap: 12px;
}

/* ══════════════════════════════════════
   Muazzin Page
   ══════════════════════════════════════ */
.muazzin-current {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 48px;
}
.muazzin-preview {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
}
.muazzin-preview iframe {
  width: 100%;
  height: 400px;
  border: none;
}
.muazzin-preview img {
  width: 100%;
  display: block;
}
.muazzin-details h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.muazzin-details p { color: var(--text-light); margin-bottom: 24px; font-size: 15.5px; }
.muazzin-archive {
  margin-top: 72px;
}
.muazzin-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.muazzin-archive-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid rgba(0,0,0,0.04);
  text-align: center;
  transition: all 0.3s;
}
.muazzin-archive-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.muazzin-archive-card .month-icon { font-size: 32px; margin-bottom: 12px; }
.muazzin-archive-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 16px; font-weight: 600;
  color: var(--charcoal); margin-bottom: 8px;
}
.muazzin-archive-card a { color: var(--teal); font-size: 14px; font-weight: 500; text-decoration: none; }
.muazzin-archive-card a:hover { text-decoration: underline; }

/* ══════════════════════════════════════
   Generic Page
   ══════════════════════════════════════ */
.page-header {
  background: linear-gradient(165deg, var(--teal-deep), var(--teal));
  padding: 120px 24px 60px;
  text-align: center;
}
.page-header h1 { font-family: 'Playfair Display', serif; font-size: clamp(30px, 4vw, 48px); color: var(--white); font-weight: 700; }
.page-header p { color: rgba(255,255,255,0.7); font-size: 17px; margin-top: 12px; max-width: 500px; margin-left: auto; margin-right: auto; }
.page-content { max-width: 1000px; margin: 0 auto; padding: 60px 24px; }
.page-content h2, .page-content h3 { font-family: 'Playfair Display', serif; color: var(--charcoal); margin: 32px 0 16px; }
.page-content p { margin-bottom: 16px; }
.page-content a { color: var(--teal); }

/* ══════════════════════════════════════
   Animations
   ══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════
   Responsive
   ══════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; padding-top: 100px; }
  .hero-card { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .schedule-grid { grid-template-columns: 1fr; }
  .membership-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .muazzin-current { grid-template-columns: 1fr; }
  .muazzin-archive-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .nav-menu { display: none; }
  .nav-menu.active {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--cream); padding: 20px;
    box-shadow: var(--shadow-md);
    border-top: 1px solid rgba(200,164,92,0.15);
  }
  .mobile-toggle { display: block; }
  .footer-top { grid-template-columns: 1fr; }
  .ich-section { padding: 60px 20px; }
  .membership-pricing { flex-direction: column; }
  .muazzin-archive-grid { grid-template-columns: 1fr 1fr; }
}

/* WordPress Admin Bar Fix */
body.admin-bar .site-nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-nav { top: 46px; } }

/* ══════════════════════════════════════
   Donation Page
   ══════════════════════════════════════ */

/* Selector — Categories & Amounts */
.donate-selector {
  max-width: 700px;
  margin: 0 auto 56px;
}
.donate-selector-inner {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: var(--shadow-sm);
}
.donate-field { margin-bottom: 24px; }
.donate-field:last-child { margin-bottom: 0; }
.donate-field-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 12px;
}
.donate-categories,
.donate-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.donate-cat-btn,
.donate-amt-btn {
  padding: 10px 20px;
  border: 1.5px solid rgba(0,0,0,0.08);
  border-radius: 100px;
  background: var(--cream);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  font-family: 'Source Sans 3', sans-serif;
  cursor: pointer;
  transition: all 0.25s;
}
.donate-cat-btn:hover,
.donate-amt-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.donate-cat-btn.active,
.donate-amt-btn.active {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.donate-custom-amount {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.donate-currency {
  font-size: 24px;
  font-weight: 600;
  color: var(--teal);
}
.donate-custom-amount input {
  font-size: 24px;
  font-weight: 600;
  border: none;
  border-bottom: 2px solid var(--teal);
  background: transparent;
  padding: 8px 4px;
  width: 160px;
  font-family: 'Source Sans 3', sans-serif;
  color: var(--charcoal);
  outline: none;
}

/* Payment Method Cards */
.donate-methods {
  display: grid;
  gap: 24px;
  margin-bottom: 48px;
}
.donate-methods.methods-1 { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
.donate-methods.methods-2 { grid-template-columns: 1fr 1fr; }
.donate-methods.methods-3 { grid-template-columns: 1fr 1fr 1fr; }

.donate-method-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid rgba(0,0,0,0.04);
  text-align: center;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.donate-method-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.donate-method-icon {
  font-size: 36px;
  margin-bottom: 12px;
}
.donate-method-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
}
.donate-method-note {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 20px;
}

/* QR Code */
.donate-qr {
  margin-bottom: 12px;
}
.donate-qr img {
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.donate-qr-hint {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 20px;
}

/* Copy ID display */
.donate-id-display {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  padding: 10px 16px;
  width: 100%;
  max-width: 300px;
}
.donate-id-value {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  word-break: break-all;
}
.donate-copy-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Source Sans 3', sans-serif;
  transition: all 0.2s;
  white-space: nowrap;
}
.donate-copy-btn:hover { background: var(--teal-deep); }
.copy-icon { font-size: 14px; }

/* PayPal button */
.donate-pay-btn {
  width: 100%;
  max-width: 300px;
  justify-content: center;
  margin-top: 8px;
}

/* Clover iframe */
.donate-method-clover { grid-column: 1 / -1; }
.donate-clover-frame {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.donate-secure-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 16px;
}

/* Tax note */
.donate-tax-note {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 24px 32px;
  background: var(--cream-dark);
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.04);
}
.donate-tax-note p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
  .donate-methods.methods-2,
  .donate-methods.methods-3 { grid-template-columns: 1fr; }
  .donate-method-clover { grid-column: auto; }
}
@media (max-width: 600px) {
  .donate-cat-btn, .donate-amt-btn { padding: 8px 14px; font-size: 13px; }
  .donate-selector-inner { padding: 24px 20px; }
}

/* Memo display */
.donate-memo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 14px;
  background: rgba(200, 164, 92, 0.08);
  border: 1px solid rgba(200, 164, 92, 0.2);
  border-radius: 8px;
  width: 100%;
  max-width: 300px;
}
.donate-memo-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
  white-space: nowrap;
}
.donate-memo-value {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  color: var(--charcoal);
}
.donate-copy-sm {
  padding: 3px 8px;
  font-size: 11px;
}

/* Prayer card: 2-column mode when no schedule uploaded (prayer + iqamah only) */
.prayer-list-no-adhan .prayer-item {
  grid-template-columns: 1fr auto;
}
