/* =============================================
   vakiasuresi.org — Ana Stil Dosyası
   Design: Premium Islamic Content Platform
   ============================================= */

/* --- VARIABLES --- */
:root {
  --green-dark: #1a3a2a;
  --green-mid: #2d5a40;
  --green-light: #3d7a56;
  --green-pale: #e8f2ec;
  --gold: #c9a227;
  --gold-light: #e8c84a;
  --gold-pale: #fdf6e3;
  --cream: #faf8f3;
  --white: #ffffff;
  --text-dark: #1c1c1e;
  --text-mid: #3d3d3f;
  --text-light: #6b7280;
  --border: #e5e0d5;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --font-display: 'Lora', Georgia, serif;
  --font-body: 'Nunito', sans-serif;
  --font-arabic: 'Amiri', 'Traditional Arabic', serif;
  --transition: 0.25s ease;
  --container: 1160px;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

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

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--green-dark);
  flex-shrink: 0;
}
.logo-icon {
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1;
}
.logo-text strong { color: var(--green-mid); }

.main-nav ul {
  display: flex;
  gap: 4px;
  align-items: center;
}
.main-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-mid);
  padding: 8px 14px;
  border-radius: 8px;
  transition: all var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--green-mid);
  background: var(--green-pale);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
}
.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--white);
}
.hero .btn-primary {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--white);
}
.hero .btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
/* outside hero */ .section-cta .btn-primary,
.sidebar-card .btn-primary {
  background: var(--green-mid);
  color: var(--white);
  border-color: var(--green-mid);
}
.section-cta .btn-primary:hover,
.sidebar-card .btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45,90,64,0.35);
}
.btn-secondary {
  background: var(--gold-pale);
  color: var(--green-dark);
  border-color: var(--gold);
}
.btn-secondary:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--green-mid);
  border-color: var(--green-mid);
}
.btn-outline:hover {
  background: var(--green-mid);
  color: var(--white);
  transform: translateY(-2px);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  padding: 72px 0 64px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 60%, #2a6e4a 100%);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201,162,39,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 40%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  min-height: 480px;
}

.hero-content { max-width: 580px; }

.hero-badge {
  display: inline-block;
  font-family: var(--font-arabic);
  font-size: 1.1rem;
  color: var(--gold-light);
  background: rgba(201,162,39,0.15);
  border: 1px solid rgba(201,162,39,0.3);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 20px;
}
.hero h1 .highlight { color: var(--gold-light); }

.hero-desc {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
}
.arabic-ornament {
  font-family: var(--font-arabic);
  font-size: clamp(4rem, 10vw, 9rem);
  color: rgba(201,162,39,0.22);
  line-height: 1.2;
  user-select: none;
  text-align: center;
  direction: rtl;
  word-spacing: -0.1em;
  max-width: 100%;
  overflow: hidden;
}

/* =============================================
   BREADCRUMB
   ============================================= */
.breadcrumb-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-light);
}
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: 8px; }
.breadcrumb a { color: var(--green-mid); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .active { color: var(--text-mid); font-weight: 600; }

/* =============================================
   SECTIONS — General
   ============================================= */
.surah-section,
.info-section,
.faq-section,
.blog-section,
.related-section,
.closing-section {
  padding: 72px 0;
}
.alt-bg { background: var(--white); }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  background: var(--gold-pale);
  border: 1px solid rgba(201,162,39,0.3);
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 12px;
}
.section-header p {
  color: var(--text-light);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
}

/* =============================================
   ACTION BAR
   ============================================= */
.action-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-mid);
  background: var(--white);
  transition: all var(--transition);
}
.action-btn:hover {
  border-color: var(--green-mid);
  color: var(--green-mid);
  background: var(--green-pale);
}

/* =============================================
   ARABIC TEXT
   ============================================= */
.arabic-text-container {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.bismillah {
  font-family: var(--font-arabic);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  text-align: center;
  color: var(--green-dark);
  padding: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
  letter-spacing: 1px;
  direction: rtl;
}
.ayah-block {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(229,224,213,0.6);
  direction: rtl;
}
.ayah-block:last-of-type { border-bottom: none; }
.ayah-number {
  font-family: var(--font-arabic);
  font-size: 0.9rem;
  color: var(--gold);
  background: var(--gold-pale);
  border: 1px solid rgba(201,162,39,0.3);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ayah-text {
  font-family: var(--font-arabic);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  color: var(--text-dark);
  line-height: 2;
  direction: rtl;
  flex: 1;
}

/* =============================================
   TRANSLITERATION
   ============================================= */
.transliteration-container {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.trans-block {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(229,224,213,0.5);
  align-items: baseline;
}
.trans-block:last-of-type { border-bottom: none; }
.trans-number {
  font-weight: 700;
  color: var(--gold);
  min-width: 36px;
  font-size: 0.9rem;
}
.trans-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-dark);
  font-style: italic;
}

/* =============================================
   MEAL / MEANING
   ============================================= */
.meal-container {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.meal-block {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(229,224,213,0.5);
  align-items: baseline;
}
.meal-block:last-of-type { border-bottom: none; }
.meal-number {
  font-weight: 700;
  color: var(--green-mid);
  min-width: 48px;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.meal-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-dark);
  line-height: 1.8;
}

.more-ayahs-note {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--green-pale);
  border-left: 3px solid var(--green-mid);
  border-radius: 0 8px 8px 0;
  font-size: 0.9rem;
  color: var(--text-mid);
}

/* =============================================
   INFO GRID
   ============================================= */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.info-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: box-shadow var(--transition);
}
.info-card:hover { box-shadow: var(--shadow-md); }
.info-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  line-height: 1;
}
.info-card h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 14px;
}
.info-card p {
  color: var(--text-mid);
  margin-bottom: 12px;
  font-size: 0.97rem;
  line-height: 1.75;
}
.info-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.info-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-mid);
  padding: 8px 12px;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.info-list li::before {
  content: "✓";
  color: var(--green-mid);
  font-weight: 700;
  flex-shrink: 0;
}

.notice-box {
  margin-top: 16px;
  padding: 14px 18px;
  background: var(--gold-pale);
  border: 1px solid rgba(201,162,39,0.3);
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* =============================================
   FAQ
   ============================================= */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item.open { box-shadow: var(--shadow-md); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background var(--transition);
}
.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-question { background: var(--green-pale); }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  padding: 0 24px;
}
.faq-answer div {
  padding: 16px 0;
  color: var(--text-mid);
  font-size: 0.97rem;
  line-height: 1.75;
  border-top: 1px solid var(--border);
}
.faq-item.open .faq-answer { max-height: 500px; padding: 0 24px; }

/* =============================================
   BLOG GRID
   ============================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-pale);
}
.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 0.8rem;
}
.blog-category {
  background: var(--green-pale);
  color: var(--green-mid);
  padding: 4px 12px;
  border-radius: 50px;
  font-weight: 700;
}
.blog-card-meta time { color: var(--text-light); }
.blog-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-card h3 a:hover { color: var(--green-light); }
.blog-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 18px;
}
.read-more {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--gold);
  transition: color var(--transition);
  align-self: flex-start;
}
.read-more:hover { color: var(--green-mid); }

.section-cta { text-align: center; }

/* =============================================
   RELATED GRID
   ============================================= */
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.related-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  display: block;
  transition: all var(--transition);
}
.related-card:hover {
  background: var(--green-pale);
  border-color: var(--green-mid);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.related-icon { font-size: 2rem; margin-bottom: 14px; display: block; }
.related-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 8px;
}
.related-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.5; }

/* =============================================
   CLOSING
   ============================================= */
.closing-section {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  color: var(--white);
}
.closing-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.closing-arabic {
  font-family: var(--font-arabic);
  font-size: 2rem;
  color: var(--gold-light);
  margin-bottom: 28px;
  direction: rtl;
}
.closing-content p {
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .site-logo { color: var(--white); margin-bottom: 14px; }
.footer-brand .logo-text { color: rgba(255,255,255,0.9); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-links h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-disclaimer { font-style: italic; opacity: 0.6; }

/* =============================================
   BLOG PAGE SPECIFIC
   ============================================= */
.page-header {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  padding: 60px 0;
  text-align: center;
  color: var(--white);
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 12px;
}
.page-header p { color: rgba(255,255,255,0.8); font-size: 1rem; }

.blog-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 60px 0;
}

/* =============================================
   ARTICLE PAGE
   ============================================= */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  padding: 60px 0;
  align-items: start;
}
.article-content { min-width: 0; }
.article-content h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 16px;
  line-height: 1.3;
}
.article-meta {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 28px;
  flex-wrap: wrap;
  align-items: center;
}
.article-meta .category-tag {
  background: var(--green-pale);
  color: var(--green-mid);
  padding: 4px 12px;
  border-radius: 50px;
  font-weight: 700;
}
.article-content .content-body h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--green-dark);
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green-pale);
}
.article-content .content-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--green-mid);
  margin: 24px 0 10px;
}
.article-content .content-body p {
  color: var(--text-mid);
  margin-bottom: 16px;
  line-height: 1.8;
  font-size: 1rem;
}
.sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.sidebar-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.sidebar-card ul { display: flex; flex-direction: column; gap: 10px; }
.sidebar-card li a {
  font-size: 0.875rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  transition: color var(--transition);
}
.sidebar-card li a::before { content: "›"; color: var(--gold); font-weight: 700; }
.sidebar-card li a:hover { color: var(--green-mid); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 768px) {
  .hero .container { grid-template-columns: 1fr; min-height: auto; }
  .hero-ornament { display: flex; justify-content: center; opacity: 0.5; }
  .arabic-ornament { font-size: 4rem; }
  .info-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .main-nav { display: none; position: fixed; inset: 68px 0 0 0; background: rgba(255,255,255,0.98); padding: 20px; flex-direction: column; }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { padding: 14px 16px; font-size: 1rem; border-radius: 10px; }
  .mobile-menu-toggle { display: flex; }

  .hero-buttons { flex-direction: row; flex-wrap: wrap; }
  .hero-buttons .btn { flex: 1; min-width: 120px; justify-content: center; }

  .surah-section, .info-section, .faq-section, .blog-section, .related-section, .closing-section { padding: 48px 0; }
  .arabic-text-container, .transliteration-container, .meal-container { padding: 20px 16px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .blog-list-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .ayah-text { font-size: 1.3rem; }
}

/* =============================================
   UTILITIES
   ============================================= */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mb-32 { margin-bottom: 32px; }

/* Lazy load fade-in */
.lazy-fade { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.lazy-fade.visible { opacity: 1; transform: translateY(0); }

/* Toast notification */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--green-dark);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 9999;
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* =============================================
   HERO STAT CARDS
   ============================================= */
.hero-info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 440px;
}
.hero-stat-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(201,162,39,0.3);
  border-radius: 14px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(4px);
  transition: background 0.25s;
}
.hero-stat-card:hover {
  background: rgba(201,162,39,0.15);
}
.hero-stat-wide {
  grid-column: 1 / -1;
  direction: rtl;
}
.hero-stat-arabic {
  font-family: var(--font-arabic);
  font-size: 2.2rem;
  color: var(--gold-light);
  line-height: 1;
}
.hero-stat-main {
  font-family: var(--font-arabic);
  font-size: 1.4rem;
  color: var(--gold-light);
  line-height: 1.6;
  text-align: center;
}
.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.5px;
  direction: ltr;
}

@media (max-width: 768px) {
  .hero-info-cards {
    max-width: 100%;
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-stat-wide { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .hero-info-cards { grid-template-columns: 1fr 1fr; }
}

/* =============================================
   AUDIO PLAYER
   ============================================= */
.audio-player {
  margin-top: 20px;
  animation: slideDown 0.35s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.audio-player-inner {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(201,162,39,0.4);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.audio-info {
  font-size: 0.875rem;
  color: var(--gold-light);
  font-weight: 600;
}
.audio-close {
  align-self: flex-end;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.2s;
}
.audio-close:hover { color: var(--white); }
audio {
  border-radius: 8px;
  height: 36px;
}
audio::-webkit-media-controls-panel {
  background: rgba(26,58,42,0.9);
}

/* =============================================
   BLOG BUTTON FIX — ensure text always visible
   ============================================= */
.btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.9) !important;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--green-dark) !important;
  border-color: var(--white);
  transform: translateY(-2px);
}
.hero-buttons .btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

/* =============================================
   HERO BUTTONS — override for dark bg context
   ============================================= */
.hero .btn-primary {
  background: rgba(255,255,255,0.95);
  color: var(--green-dark);
  border-color: rgba(255,255,255,0.95);
  font-weight: 700;
}
.hero .btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.hero .btn-secondary {
  background: rgba(201,162,39,0.2);
  color: rgba(255,255,255,0.95);
  border-color: rgba(201,162,39,0.6);
  font-weight: 700;
}
.hero .btn-secondary:hover {
  background: var(--gold);
  color: var(--green-dark);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.hero .btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.9) !important;
  border-color: rgba(255,255,255,0.45);
  font-weight: 700;
}
.hero .btn-outline:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white) !important;
  border-color: rgba(255,255,255,0.8);
  transform: translateY(-2px);
}

.hero-stat-emoji {
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 2px;
}

.hero-stat-number {
  font-family: 'Nunito', 'Arial', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
}
