/*
Theme Name: Muslim Mom Collective
Theme URI: https://muslimmomcollective.com
Author: Zaib Co.
Description: Warm, cozy custom theme for Muslim Mom Collective — built around the brand's dusty rose, sage olive, and warm cream palette. Community. Connection. Sisterhood.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: mmc
*/

/* =========================================
   BRAND KIT — COLOR VARIABLES
   ========================================= */
:root {
  --rose: #C05858;        /* Dusty Rose — primary accent, headlines, hearts, CTAs */
  --terracotta: #8B3A3A;  /* Deep Rose — emphasis text, dates, small caps */
  --sage: #7A7A50;        /* Sage Olive — secondary accent, leaves, icons, dividers */
  --ink: #2B2E17;         /* Deep Olive Ink — body text, headlines */
  --cream: #F7F1EC;       /* Warm Cream — primary background */
  --blush: #F2E0D6;       /* Blush Sand — secondary background, callouts */
  --white: #FFFFFF;
}

/* =========================================
   FONTS
   Display Serif: Cormorant Garamond (wordmark, headers)
   Script Accent: Lavishly Yours (event names, taglines — sparingly)
   Body & Labels: Montserrat
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Lavishly+Yours&family=Montserrat:ital,wght@0,400;0,500;0,600;1,400&display=swap');

* { box-sizing: border-box; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}

h1, h2, h3, h4, .site-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 0.5em;
}

.script-accent {
  font-family: 'Lavishly Yours', cursive;
  color: var(--rose);
  font-size: 2.6em;
  line-height: 1.15;
}

.eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--terracotta);
}

a { color: var(--terracotta); text-decoration: none; }
a:hover { color: var(--rose); }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.hand-drawn-divider {
  border: none;
  border-top: 2px dashed var(--sage);
  width: 90px;
  margin: 24px auto;
}

/* =========================================
   HEADER
   ========================================= */
.site-header { position: relative; overflow: visible; }
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--blush);
  padding: 18px 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-branding { display: flex; align-items: center; gap: 12px; }
.site-branding img,
.site-logo-img { max-height: 78px; width: auto; display: block; }
.site-branding .site-title { font-size: 1.4rem; margin: 0; }

.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}
.primary-nav a:hover { color: var(--rose); }

.btn {
  display: inline-block;
  background: var(--rose);
  color: var(--white) !important;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--terracotta); }
.btn-outline {
  background: transparent;
  color: var(--terracotta) !important;
  border: 2px solid var(--terracotta);
}
.btn-outline:hover { background: var(--terracotta); color: var(--white) !important; }

/* =========================================
   HERO
   ========================================= */
.hero {
  background: var(--blush);
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero .script-accent { display: block; margin-bottom: 8px; }
.hero h1 { font-size: 2.6rem; margin-bottom: 16px; }
.hero p.lead { font-size: 1.1rem; max-width: 560px; margin: 0 auto 28px; color: var(--ink); }
.hero .btn { margin: 0 8px; }

/* dashed hand-drawn style divider, per brand kit — defined once, near header rules above */

/* =========================================
   WELCOME SECTION (replaces old stats block)
   ========================================= */
.welcome-section {
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.welcome-grid {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.welcome-grid .photo { flex: 1 1 380px; }
.welcome-grid .photo img {
  width: 100%;
  border-radius: 16px;
  display: block;
}
.welcome-grid .copy { flex: 1 1 380px; }

.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.category-chips span {
  background: var(--blush);
  color: var(--terracotta);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
}

/* =========================================
   EVENT DETAIL ICON ROWS (per brand kit "go-to system")
   ========================================= */
.event-card {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 18px rgba(43,46,23,0.06);
}
.event-icon-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.event-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blush);
  color: var(--rose);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.event-icon-row .label {
  font-weight: 600;
  font-size: 0.92rem;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
  margin-top: 36px;
}

/* =========================================
   SECTIONS / CTA
   ========================================= */
.section-alt { background: var(--blush); padding: 70px 0; position: relative; overflow: hidden; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title .eyebrow { display: block; margin-bottom: 8px; }

.pillars {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  text-align: center;
  padding: 40px 0;
}
.pillars .pillar { max-width: 220px; }
.pillars .pillar h4 { color: var(--sage); font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; font-family: 'Montserrat', sans-serif; font-weight: 600; }

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--sage);
  color: var(--cream);
  padding: 50px 0 24px;
}
.site-footer a { color: var(--blush); }
.site-footer a:hover { color: var(--rose); }
.footer-pillars {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin-bottom: 20px;
  color: var(--blush);
}
.footer-bottom {
  text-align: center;
  font-size: 0.82rem;
  color: var(--blush);
  border-top: 1px solid rgba(247,241,236,0.15);
  padding-top: 20px;
  margin-top: 20px;
}

/* =========================================
   GENERIC PAGE CONTENT
   ========================================= */
.page-content { padding: 60px 0; }
.page-content h1 { margin-bottom: 24px; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 780px) {
  .site-header .container { flex-direction: column; gap: 14px; }
  .primary-nav ul { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .hero h1 { font-size: 2rem; }
}
