/* Zaid Community Center — Elegant Sage & Gold */
:root{
  --bg: #F6F2EA;          /* warm cream */
  --surface: #FFFFFF;
  --surface-2:#F0E8DA;    /* soft beige */
  --text: #0F2A22;        /* deep green */
  --muted:#456156;
  --sage:#6E8F6B;         /* logo green */
  --sage-dark:#2E5A49;
  --gold:#C8A24A;         /* soft gold */
  --gold-2:#E0C77A;
  --ring: rgba(200,162,74,.35);
  --shadow: 0 10px 30px rgba(15,42,34,.08);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height:1.6;
}

a{color: var(--sage-dark); text-decoration:none}
a:hover{text-decoration:underline}

.container{
  width:min(1100px, 92%);
  margin-inline:auto;
}

.top-bar{
  background: linear-gradient(90deg, var(--sage-dark), var(--sage));
  color: #fff;
  padding: 10px 0;
  text-align:center;
  font-weight:600;
  letter-spacing:.2px;
}

.site-header{
  background: rgba(246,242,234,.75);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(15,42,34,.08);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand{display:flex; align-items:center; gap: 12px}
.brand-title{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}
.brand-title strong{
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--text);
}
.brand-title span{
  font-size: 13px;
  color: var(--muted);
}

.logo{
  width: 90px;
  height: auto;
  object-fit: contain;
  border-radius: 999px;
  box-shadow: var(--shadow);
  background: #fff;
  padding: 6px;
  border: 1px solid rgba(15,42,34,.08);
}

.primary-menu{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap: 14px;
  list-style:none;
  margin:0;
  padding:0;
}
.primary-menu a{
  color: var(--text);
  font-weight:600;
  padding: 10px 12px;
  border-radius: 999px;
  display:inline-block;
}
.primary-menu a:hover{
  background: rgba(200,162,74,.10);
  text-decoration:none;
}

.hero{
  position: relative;
  padding: 84px 0 70px;
  overflow:hidden;
}

/* Subtle geometric accents */
.hero::before{
  content:"";
  position:absolute;
  inset:-60px;
  background:
    radial-gradient(circle at 20% 10%, rgba(200,162,74,.18), transparent 55%),
    radial-gradient(circle at 85% 15%, rgba(110,143,107,.22), transparent 50%),
    radial-gradient(circle at 40% 90%, rgba(200,162,74,.14), transparent 55%);
  z-index:0;
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    repeating-linear-gradient(135deg, rgba(15,42,34,.04) 0 2px, transparent 2px 18px),
    repeating-linear-gradient(45deg, rgba(200,162,74,.035) 0 1px, transparent 1px 22px);
  opacity:.55;
  z-index:0;
}

.hero-content{
  position:relative;
  z-index:1;
  text-align:center;
}

.calligraphy{
  font-family: 'Amiri', serif;
  font-size: clamp(44px, 5vw, 70px);
  color: var(--sage-dark);
  letter-spacing: .5px;
  margin-bottom: 10px;
  text-shadow: 0 2px 0 rgba(255,255,255,.55);
}

.hero h1{
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 4vw, 52px);
  margin: 8px 0 6px;
  color: var(--text);
}

.subtitle{
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 22px;
}

.cta-row{
  display:flex;
  gap: 12px;
  justify-content:center;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight:700;
  border: 1px solid transparent;
  box-shadow: 0 10px 22px rgba(15,42,34,.08);
}
.btn:hover{ text-decoration:none; transform: translateY(-1px); transition: .15s ease; }

.btn-gold{
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: var(--text);
  border-color: rgba(15,42,34,.10);
}

.btn-outline{
  background: rgba(255,255,255,.75);
  color: var(--sage-dark);
  border-color: rgba(110,143,107,.35);
}

.btn-dark{
  background: var(--sage-dark);
  color: #fff;
  border-color: rgba(255,255,255,.15);
}

.announcement{
  margin-top: -22px;
  padding: 34px 0;
}
.announcement .container{
  background: var(--surface);
  border: 1px solid rgba(15,42,34,.08);
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: var(--shadow);
}
.announcement h2{
  margin: 0 0 8px;
  font-family: 'Playfair Display', serif;
}
.announcement p{margin:0; color: var(--muted);}

.section{ padding: 70px 0; }
.section h2{
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  margin: 0 0 10px;
}
.section p{color: var(--muted); font-size: 16.5px}

.section-alt{ background: rgba(240,232,218,.55); border-top: 1px solid rgba(15,42,34,.06); border-bottom: 1px solid rgba(15,42,34,.06); }

.section-head{margin-bottom: 18px}
.muted{color: var(--muted)}

.prayer-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.prayer-card{
  background: var(--surface);
  border: 1px solid rgba(15,42,34,.10);
  border-radius: 16px;
  padding: 16px 14px;
  box-shadow: 0 10px 22px rgba(15,42,34,.06);
}
.prayer-card h3{
  margin: 0 0 6px;
  color: var(--sage-dark);
}
.prayer-card p{
  margin: 0;
  font-weight:700;
  color: var(--text);
  font-size: 18px;
}

.cards{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.card{
  background: var(--surface);
  border: 1px solid rgba(15,42,34,.10);
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 10px 22px rgba(15,42,34,.06);
  text-align:left;
}
.card h3{margin:0 0 6px; color: var(--sage-dark)}
.card p{margin:0; color: var(--muted)}

.signup{
  display:flex;
  gap: 10px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top: 12px;
}
.signup input{
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15,42,34,.18);
  width: min(420px, 90vw);
  outline: none;
  background: rgba(255,255,255,.85);
}
.signup input:focus{
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--ring);
}

.donate{
  background: linear-gradient(180deg, rgba(110,143,107,.14), rgba(200,162,74,.12));
}
.fineprint{
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

.site-footer{
  padding: 26px 0;
  border-top: 1px solid rgba(15,42,34,.08);
}
.footer-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 10px;
  flex-wrap:wrap;
}

/* Mobile nav fallback */
@media (max-width: 760px){
  .nav{flex-direction:column; align-items:flex-start}
  .primary-menu{justify-content:flex-start}
}


/* Larger logo adjustments */
.nav {
  padding: 24px 0;
}

.brand-title strong {
  font-size: 24px;
}


/* WordPress custom logo styling */
.custom-logo {
  width: 150px !important;
  height: 150px !important;
  object-fit: contain;
  border-radius: 999px;
  box-shadow: var(--shadow);
  background: #fff;
  padding: 6px;
  border: 1px solid rgba(15,42,34,.08);
}
.custom-logo-link { display:inline-flex; align-items:center; }


/* Full-width post cards (Homepage + Blog) */
.post-list{
  display:flex;
  flex-direction:column;
  gap: 14px;
  margin-top: 18px;
}
.post-card{
  background: var(--surface);
  border: 1px solid rgba(15,42,34,.10);
  border-radius: 18px;
  overflow:hidden;
  box-shadow: 0 10px 22px rgba(15,42,34,.06);
}
.post-thumb img{
  width:100%;
  height:auto;
  display:block;
}
.post-body{
  padding: 18px 16px;
  text-align:left;
}
.post-title{
  margin:0 0 8px;
  color: var(--sage-dark);
  font-family: 'Playfair Display', serif;
  font-size: 22px;
}
.post-title a{ color: inherit; }
.post-excerpt{
  margin:0 0 12px;
  color: var(--muted);
}
.post-link{
  font-weight:700;
  color: var(--sage-dark);
}
.pagination{
  margin-top: 18px;
}
.single-title{
  font-family: 'Playfair Display', serif;
  margin: 0 0 14px;
  font-size: 38px;
}
.single-thumb img{
  width:100%;
  height:auto;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.single-content{
  margin-top: 16px;
}

/* Mobile logo resize */
@media (max-width: 768px) {
  .custom-logo {
    width: 90px !important;
    height: 90px !important;
  }

  .logo {
    width: 90px !important;
    height: 90px !important;
  }
}