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

:root {
  /* Brand palette — pulled from logo */
  --purple:        #5C3470;
  --purple-dark:   #3D2149;
  --purple-mid:    #7A4A94;
  --purple-light:  #F0E8F6;
  --gold:          #D4A02A;
  --gold-light:    #F5D96A;
  --gold-pale:     #FDF6E0;
  --teal:          #2E9B9B;
  --teal-dark:     #1D7070;
  --teal-light:    #E0F5F5;
  --olive:         #7B8A38;
  --olive-light:   #EDF2D8;
  --cream:         #F5F0E8;
  --cream-dark:    #EDE5D5;
  --text:          #2A1A35;
  --text-mid:      #5C4870;
  --text-light:    #8A7A9A;
  --white:         #ffffff;
  --border:        #DDD5E8;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --radius:       10px;
  --radius-lg:    20px;
  --shadow:       0 4px 20px rgba(92, 52, 112, 0.10);
  --shadow-hover: 0 8px 32px rgba(92, 52, 112, 0.18);
  --max-width:    1100px;
  --transition:   0.25s ease;
}

html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--cream); color: var(--text); line-height: 1.75; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-dark); }

/* ─── Container ─────────────────────────────────────────────── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* ─── Header ────────────────────────────────────────────────── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(92,52,112,0.06);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.75rem; padding-bottom: 0.75rem; gap: 2rem;
}
.logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.logo img { width: 52px; height: 52px; border-radius: 50%; }
.logo-words { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text { font-family: var(--font-heading); font-size: 1.2rem; color: var(--purple); font-weight: 600; }
.logo-tagline { font-size: 0.68rem; color: var(--teal); letter-spacing: 0.08em; text-transform: uppercase; }
.main-nav { display: flex; gap: 1.75rem; align-items: center; }
.main-nav a {
  font-size: 0.88rem; font-weight: 500; color: var(--text-mid);
  transition: color var(--transition); position: relative; padding-bottom: 2px;
}
.main-nav a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--gold); transform: scaleX(0); transition: transform var(--transition);
}
.main-nav a:hover { color: var(--purple); }
.main-nav a:hover::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--purple); }

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.9rem; border-radius: 50px; font-weight: 600;
  font-size: 0.9rem; cursor: pointer; border: none;
  transition: all var(--transition); text-decoration: none; letter-spacing: 0.02em;
}
.btn-primary { background: var(--purple); color: var(--white); }
.btn-primary:hover { background: var(--purple-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(92,52,112,0.3); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(46,155,155,0.3); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #b88820; color: var(--white); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--purple); border: 2px solid var(--purple); }
.btn-outline:hover { background: var(--purple); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.7); }
.btn-outline-white:hover { background: var(--white); color: var(--purple); }
.btn-full { width: 100%; }
.btn-sm { padding: 0.4rem 1rem; font-size: 0.8rem; }
.btn-gap { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, #F2EAF8 0%, var(--cream) 40%, #E0F5F5 100%);
  padding: 6rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(212,160,42,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute; bottom: -60px; left: -60px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(46,155,155,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner { position: relative; z-index: 1; }
.hero-logo { width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 1.75rem; box-shadow: 0 8px 30px rgba(92,52,112,0.2); }
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--purple-dark); line-height: 1.2; margin-bottom: 1.2rem;
}
.hero h1 em { color: var(--teal); font-style: normal; }
.hero-subtitle { font-size: 1.1rem; color: var(--text-mid); margin-bottom: 2.25rem; max-width: 540px; margin-left: auto; margin-right: auto; }
.hero-divider { width: 60px; height: 3px; background: linear-gradient(90deg, var(--gold), var(--teal)); border-radius: 2px; margin: 0 auto 2rem; }

/* ─── Page Hero ─────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--purple-light) 0%, #E8F7F7 100%);
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-family: var(--font-heading); font-size: 2.5rem; color: var(--purple-dark); }
.page-hero p { color: var(--text-mid); margin-top: 0.5rem; font-size: 1.05rem; }

/* ─── Sections ──────────────────────────────────────────────── */
.section { padding: 5rem 0; }
.section-alt { background: var(--cream-dark); }
.section-teal { background: linear-gradient(135deg, #E0F5F5 0%, var(--cream) 100%); }
.section-purple { background: linear-gradient(135deg, var(--purple-light) 0%, var(--cream) 100%); }
.section-title {
  font-family: var(--font-heading); font-size: 2.1rem; color: var(--purple-dark);
  margin-bottom: 0.6rem; text-align: center;
}
.section-subtitle { text-align: center; color: var(--text-mid); font-size: 1rem; margin-bottom: 3rem; max-width: 540px; margin-left: auto; margin-right: auto; }
.section-eyebrow {
  text-align: center; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 0.5rem;
}

/* ─── Offer Cards ────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.card {
  background: var(--white); border-radius: var(--radius-lg); padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow); text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid transparent;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.card:nth-child(1) { border-top-color: var(--gold); }
.card:nth-child(2) { border-top-color: var(--teal); }
.card:nth-child(3) { border-top-color: var(--olive); }
.card-icon {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; margin: 0 auto 1.25rem;
}
.card:nth-child(1) .card-icon { background: var(--gold-pale); }
.card:nth-child(2) .card-icon { background: var(--teal-light); }
.card:nth-child(3) .card-icon { background: var(--olive-light); }
.card h3 { font-family: var(--font-heading); font-size: 1.25rem; margin-bottom: 0.75rem; color: var(--purple-dark); }
.card p { color: var(--text-mid); font-size: 0.95rem; }

/* ─── Value Strips ───────────────────────────────────────────── */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.value-item { display: flex; align-items: flex-start; gap: 1rem; }
.value-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex-shrink: 0; margin-top: 0.45rem; }
.value-item h4 { font-family: var(--font-heading); font-size: 1rem; color: var(--purple-dark); margin-bottom: 0.2rem; }
.value-item p { font-size: 0.88rem; color: var(--text-mid); }

/* ─── CTA Section ────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--purple-dark) 0%, #5C3470 100%);
  color: var(--white); text-align: center; padding: 5.5rem 0;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212,160,42,0.15) 0%, transparent 65%);
  border-radius: 50%;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { font-family: var(--font-heading); font-size: 2.4rem; margin-bottom: 1rem; }
.cta-section h2 span { color: var(--gold-light); }
.cta-section p { margin-bottom: 2.25rem; opacity: 0.85; font-size: 1.05rem; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ─── Posts Grid ─────────────────────────────────────────────── */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.75rem; margin-bottom: 2.5rem; }
.post-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.post-card-image { width: 100%; height: 210px; object-fit: cover; }
.post-card-body { padding: 1.6rem; }
.post-card-body h3 { font-family: var(--font-heading); margin-bottom: 0.5rem; font-size: 1.15rem; }
.post-card-body h3 a { color: var(--purple-dark); }
.post-card-body h3 a:hover { color: var(--teal); }
.post-excerpt { color: var(--text-mid); font-size: 0.9rem; margin-bottom: 1.1rem; }
.read-more { font-size: 0.85rem; font-weight: 600; color: var(--teal); }
.read-more:hover { color: var(--teal-dark); }

/* ─── Single Post ────────────────────────────────────────────── */
.post-single { padding-bottom: 5rem; }
.post-hero-image img { width: 100%; max-height: 480px; object-fit: cover; }
.post-header { padding: 2.5rem 0 1.5rem; }
.post-header h1 { font-family: var(--font-heading); font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--purple-dark); line-height: 1.2; }
.post-meta { color: var(--text-light); font-size: 0.9rem; margin-top: 0.75rem; display: flex; gap: 1rem; }

/* ─── Prose ──────────────────────────────────────────────────── */
.prose { max-width: 720px; }
.prose h2 { font-family: var(--font-heading); font-size: 1.7rem; margin: 2rem 0 1rem; color: var(--purple-dark); }
.prose h3 { font-family: var(--font-heading); font-size: 1.3rem; margin: 1.5rem 0 0.75rem; color: var(--teal-dark); }
.prose p { margin-bottom: 1.25rem; }
.prose img { border-radius: var(--radius); margin: 1.5rem 0; }
.prose a { text-decoration: underline; color: var(--teal); }
.prose strong { color: var(--purple); }

/* ─── About Layout ───────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-image-wrap { position: relative; }
.about-image-wrap img { border-radius: var(--radius-lg); box-shadow: var(--shadow-hover); }
.about-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--gold); color: var(--white);
  width: 100px; height: 100px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--font-heading); text-align: center; box-shadow: var(--shadow);
}
.about-badge strong { font-size: 1.5rem; line-height: 1; }
.about-badge span { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* ─── Events ─────────────────────────────────────────────────── */
.event-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 1.75rem; margin-bottom: 1.25rem; box-shadow: var(--shadow);
  border-left: 4px solid var(--teal);
  display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 1rem;
  transition: box-shadow var(--transition);
}
.event-card:hover { box-shadow: var(--shadow-hover); }
.event-card h3 { font-family: var(--font-heading); margin-bottom: 0.4rem; color: var(--purple-dark); }
.event-card h3 a { color: inherit; }
.event-card h3 a:hover { color: var(--teal); }
.event-card p { color: var(--text-mid); font-size: 0.9rem; }
.event-tag { background: var(--teal-light); color: var(--teal-dark); padding: 0.25rem 0.75rem; border-radius: 20px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }

/* ─── Contact ────────────────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: start; }
.contact-info h2 { font-family: var(--font-heading); font-size: 1.9rem; margin-bottom: 1rem; color: var(--purple-dark); }
.contact-info p { color: var(--text-mid); margin-bottom: 1.5rem; }
.contact-detail { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; color: var(--text-mid); font-size: 0.9rem; }
.contact-detail-icon { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.contact-detail-icon.gold { background: var(--gold-pale); }
.contact-detail-icon.teal { background: var(--teal-light); }
.contact-detail-icon.purple { background: var(--purple-light); }
.contact-form-wrap { background: var(--white); border-radius: var(--radius-lg); padding: 2.25rem; box-shadow: var(--shadow); }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--purple); text-transform: uppercase; letter-spacing: 0.06em; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.8rem 1rem; border: 1.5px solid var(--border);
  border-radius: var(--radius); background: var(--cream); font-family: var(--font-body);
  font-size: 0.95rem; color: var(--text); transition: border-color var(--transition), background var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--teal); background: var(--white);
}

/* ─── Alerts ─────────────────────────────────────────────────── */
.alert { padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1rem; }
.alert-success { background: #E0F5F0; color: #0D6E4F; border: 1px solid #A7E8D6; }
.alert-error { background: #FEF0F0; color: #991B1B; border: 1px solid #FECACA; }

/* ─── Footer ─────────────────────────────────────────────────── */
.site-footer { background: var(--purple-dark); color: rgba(255,255,255,0.75); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand .logo-text { color: var(--white); }
.footer-brand .logo-tagline { color: rgba(255,255,255,0.5); }
.footer-brand p { font-size: 0.875rem; opacity: 0.7; line-height: 1.7; }
.footer-col h4 { font-family: var(--font-heading); font-size: 1rem; color: var(--gold-light); margin-bottom: 1rem; }
.footer-col a { display: block; font-size: 0.875rem; color: rgba(255,255,255,0.65); margin-bottom: 0.5rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.8rem; opacity: 0.5; }
.footer-tagline { font-family: var(--font-heading); font-size: 0.9rem; color: var(--gold-light); opacity: 0.9; }

/* ─── Utils ──────────────────────────────────────────────────── */
.text-center { text-align: center; }
.loading { color: var(--text-light); text-align: center; padding: 2rem; }
.empty-state { text-align: center; color: var(--text-light); padding: 3rem; }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .footer-brand { grid-column: 1 / -1; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image-wrap { display: none; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .main-nav.open {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: var(--white);
    padding: 1rem 1.5rem; border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 20px rgba(92,52,112,0.10);
  }
  .main-nav.open a::after { display: none; }
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
  .hero { padding: 4rem 0 3.5rem; }
  .cta-section { padding: 4rem 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
