/*
Theme Name: ASDA-DV Theme
Theme URI: https://asdadv.com
Description: Custom theme for the Anambra Daughters Association of Delaware Valley. Igbo Heritage Modernism design with Anambra State colors: deep green (#006B3F), gold (#C4921A), and black (#111111).
Version: 1.0
Author: ASDA-DV
Template: astra
*/

/* ── GOOGLE FONTS ─────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS VARIABLES ────────────────────────────────────────────────────────── */
:root {
  --green: #006B3F;
  --green-dark: #004d2c;
  --green-light: #005530;
  --gold: #C4921A;
  --gold-light: #F5B942;
  --black: #111111;
  --white: #ffffff;
  --cream: #FAF8F3;
  --text-primary: #111111;
  --text-secondary: #444444;
  --text-muted: #666666;
  --border-light: #e0ddd5;
}

/* ── RESET & BASE ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--cream);
  color: var(--text-primary);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
}

a { color: var(--green); }
a:hover { color: var(--gold); }

img { max-width: 100%; height: auto; }

/* ── ASTRA OVERRIDES ──────────────────────────────────────────────────────── */
.ast-container { max-width: 1200px !important; }

/* Header */
.site-header,
#masthead,
.ast-primary-header-bar {
  background-color: var(--green) !important;
  border-bottom: 3px solid var(--gold) !important;
}

/* Logo text */
.ast-site-title a,
.site-title a {
  font-family: 'Playfair Display', Georgia, serif !important;
  color: var(--gold) !important;
  font-weight: 700 !important;
}

/* Navigation links */
.main-navigation a,
.ast-primary-nav a,
.main-header-menu a,
#site-navigation a {
  color: white !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  transition: color 0.2s ease !important;
}

.main-navigation a:hover,
.ast-primary-nav a:hover,
.main-header-menu a:hover {
  color: var(--gold) !important;
}

/* Footer */
.site-footer,
#colophon,
.ast-footer-overlay {
  background-color: var(--black) !important;
  border-top: 3px solid var(--green) !important;
  color: rgba(255,255,255,0.65) !important;
}

.site-footer a,
#colophon a {
  color: rgba(255,255,255,0.65) !important;
}

.site-footer a:hover,
#colophon a:hover {
  color: var(--gold) !important;
}

/* ── PAGE CONTENT ─────────────────────────────────────────────────────────── */
.entry-content,
.ast-article-post,
.ast-page-builder-template .entry-content {
  padding: 0 !important;
  max-width: 100% !important;
}

/* Remove default page title on pages using full-width layout */
.ast-page-builder-template .entry-header,
.page .entry-header {
  display: none;
}

/* ── BUTTONS ──────────────────────────────────────────────────────────────── */
.btn-green,
.wp-block-button.is-style-fill .wp-block-button__link {
  background-color: var(--green) !important;
  color: white !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  border: none !important;
  padding: 0.625rem 1.5rem !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: background-color 0.2s ease !important;
}

.btn-green:hover { background-color: var(--green-dark) !important; }

.btn-gold {
  background-color: var(--gold) !important;
  color: var(--black) !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  border: none !important;
  padding: 0.625rem 1.5rem !important;
  text-decoration: none !important;
  display: inline-block !important;
}

/* ── UTILITY CLASSES ──────────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.badge-gold {
  background: var(--gold);
  color: var(--black);
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  display: inline-block;
}

.card-green-top {
  border-top: 3px solid var(--green);
  background: white;
}

.stripe-divider {
  height: 4px;
  background: linear-gradient(90deg, var(--green) 33%, var(--gold) 33%, var(--gold) 66%, var(--black) 66%);
}

/* ── DONATE BUTTON PULSE ──────────────────────────────────────────────────── */
@keyframes goldPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(196, 146, 26, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(196, 146, 26, 0); }
}

.donate-pulse {
  animation: goldPulse 2.5s ease-in-out infinite;
}

/* ── RESPONSIVE ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .container { padding: 0 1rem; }
  
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── ASTRA SPECIFIC FIXES ─────────────────────────────────────────────────── */
.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-inner {
  padding: 0 !important;
  box-shadow: none !important;
}

.ast-page-builder-template #page {
  padding-top: 0 !important;
}

/* Full width pages */
.page-template-default .site-content,
.page .site-content {
  padding: 0 !important;
}

.ast-full-width-layout .entry-content,
.ast-page-builder-template .entry-content {
  max-width: 100% !important;
  padding: 0 !important;
}
