/*
Theme Name: Sirat Guidance
Theme URI: https://sirat-soul-style.lovable.app
Author: Sayyed Nazar Hussain
Description: Sirat Guidance — Istikhara & spiritual counsel theme. A single-page Islamic guidance theme with hero, services, scholars, testimonials, and contact sections built in. Activate and visit the home page — no configuration required.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: sirat-guidance
*/
/* ===== Posters Showcase Section ===== */

.card__icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, #c9a96a 0%, #a8862f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 6px 18px rgba(168, 134, 47, 0.35);
  transition: transform 0.3s ease;
}

.card:hover .card__icon {
  transform: scale(1.08) rotate(-5deg);
}

.card__icon svg {
  stroke: #ffffff;
  width: 32px;
  height: 32px;
}
.section--posters {
  background: linear-gradient(180deg, #fdfaf4 0%, #f5efe3 100%);
  padding: 80px 0;
}

.posters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.poster-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 2px solid #e8dfc7;
  position: relative;
}

.poster-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
  border-color: #c9a96a;
}

.poster-card a {
  display: block;
  overflow: hidden;
}

.poster-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.poster-card:hover img {
  transform: scale(1.05);
}

.poster-card::before {
  content: '';
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-top: 3px solid #c9a96a;
  border-right: 3px solid #c9a96a;
  z-index: 2;
  pointer-events: none;
  border-radius: 4px 8px 4px 0;
}

.poster-card::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 30px;
  height: 30px;
  border-bottom: 3px solid #c9a96a;
  border-left: 3px solid #c9a96a;
  z-index: 2;
  pointer-events: none;
  border-radius: 0 4px 8px 4px;
}

@media (max-width: 900px) {
  .posters-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .posters-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .section--posters {
    padding: 50px 0;
  }
}
:root{
  --bg:#fbfaf6;
  --fg:#1c1c1a;
  --muted:#6b6a63;
  --card:#ffffff;
  --border:#e9e4d6;
  --secondary:#f3efe2;
  --primary:#1f5d3a;
  --primary-fg:#ffffff;
  --accent:#e6c97a;
  --gold:#c9a24b;
  --hero-bg:linear-gradient(180deg,#f5f0de 0%, #fbfaf6 100%);
  --shadow:0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.04);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  background:var(--bg);color:var(--fg);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  line-height:1.55;-webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{max-width:1120px;margin:0 auto;padding:0 24px}
.section{padding:80px 0}
.section--alt{background:rgba(243,239,226,.5);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.eyebrow{display:inline-block;background:var(--secondary);color:#5b5a52;font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;padding:5px 12px;border-radius:999px}
.eyebrow--light{background:#fff;color:var(--muted)}
h1,h2,h3{margin:0;letter-spacing:-.01em;font-weight:700}
h1{font-size:44px;line-height:1.1}
h2{font-size:34px;line-height:1.15;margin-top:14px}
h3{font-size:17px}
p{color:var(--muted);margin:0}
.center{text-align:center}
.lead{max-width:640px;margin:14px auto 0}

/* nav */
.nav{position:sticky;top:0;z-index:40;background:rgba(251,250,246,.9);backdrop-filter:saturate(140%) blur(8px);border-bottom:1px solid var(--border)}
.nav__inner{display:flex;align-items:center;justify-content:space-between;padding:16px 0}
.brand{display:flex;align-items:center;gap:10px;font-weight:600}
.brand__mark{width:34px;height:34px;border-radius:999px;background:rgba(230,201,122,.25);display:grid;place-items:center;color:var(--gold);font-weight:700}
.nav__links{display:none;gap:28px;font-size:14px;color:var(--muted)}
.nav__links a:hover{color:var(--fg)}
@media(min-width:860px){.nav__links{display:flex}}
.btn{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border-radius:8px;font-size:14px;font-weight:600;border:1px solid transparent;cursor:pointer;transition:.15s}
.btn--primary{background:var(--primary);color:var(--primary-fg)}
.btn--primary:hover{background:#1a4f31}
.btn--dark{background:var(--fg);color:#fff}
.btn--outline{background:#fff;border-color:var(--border)}
.btn--outline:hover{background:var(--secondary)}
.btn--ghost{background:transparent;border-color:rgba(255,255,255,.3);color:#fff}
.btn--ghost:hover{background:rgba(255,255,255,.1)}
.btn--light{background:#fff;color:var(--fg)}

/* hero */
.hero{background:var(--hero-bg);border-bottom:1px solid var(--border)}
.hero__grid{display:grid;gap:48px;align-items:center;padding:80px 0}
@media(min-width:860px){.hero__grid{grid-template-columns:1fr 1fr;padding:112px 0}}
.hero__cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.hero__stats{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;max-width:420px;margin-top:40px}
.hero__stats dt{font-size:24px;font-weight:700;margin:0}
.hero__stats dd{margin:0;font-size:12px;color:var(--muted)}
.hero__art{position:relative}
.hero__art::before{content:"";position:absolute;inset:-16px;border-radius:24px;background:rgba(230,201,122,.25);filter:blur(40px)}
.hero__img{position:relative;border-radius:18px;border:1px solid var(--border);box-shadow:var(--shadow);width:100%}
.hl{color:var(--primary)}

/* card grids */
.grid{display:grid;gap:18px;margin-top:48px}
.grid--4{grid-template-columns:1fr}
@media(min-width:640px){.grid--4{grid-template-columns:1fr 1fr}}
@media(min-width:1000px){.grid--4{grid-template-columns:repeat(4,1fr)}}
.grid--3{grid-template-columns:1fr}
@media(min-width:760px){.grid--3{grid-template-columns:repeat(3,1fr)}}
.grid--2{grid-template-columns:1fr}
@media(min-width:760px){.grid--2{grid-template-columns:1fr 1fr}}

.card{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:24px;transition:.18s;box-shadow:var(--shadow)}
.card:hover{transform:translateY(-2px);border-color:rgba(31,93,58,.4)}
.card__icon{width:40px;height:40px;border-radius:10px;background:var(--primary);color:#fff;display:grid;place-items:center;font-size:18px;margin-bottom:14px}
.card__title{font-size:16px;font-weight:600;margin:0 0 6px}
.card__desc{font-size:14px}

/* about */
.about{display:grid;gap:48px;align-items:center}
@media(min-width:860px){.about{grid-template-columns:1fr 1fr}}
.about ul{list-style:none;padding:0;margin:20px 0 0;font-size:14px}
.about li{display:flex;gap:12px;margin:10px 0}
.about li::before{content:"";display:inline-block;width:6px;height:6px;border-radius:999px;background:var(--gold);margin-top:9px;flex:none}
.quote{background:#fff;border:1px solid var(--border);border-radius:18px;padding:32px;box-shadow:var(--shadow)}
.quote__mark{font-size:42px;line-height:1;color:var(--gold);font-family:Georgia,serif}
.quote__by{display:flex;align-items:center;gap:12px;margin-top:20px}
.avatar{width:40px;height:40px;border-radius:999px;background:var(--primary);color:#fff;display:grid;place-items:center;font-weight:700}

/* scholars */
.scholar{background:#fff;border:1px solid var(--border);border-radius:18px;padding:24px;box-shadow:var(--shadow);transition:.18s}
.scholar:hover{transform:translateY(-2px)}
.scholar__head{display:flex;gap:14px;align-items:center}
.scholar__head .avatar{width:52px;height:52px;font-size:18px}
.scholar__meta{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--border);padding-top:14px;margin-top:18px;font-size:12px;color:var(--muted)}
.badge-cert{color:var(--gold);font-weight:600}

/* CTA band */
.cta-band{background:var(--primary);color:var(--primary-fg);text-align:center;padding:72px 0}
.cta-band h2{color:#fff}
.cta-band p{color:rgba(255,255,255,.8);margin:12px auto 0;max-width:560px}
.cta-band__row{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:28px}

/* testimonials */
.stars{color:var(--gold);letter-spacing:2px}
.t-quote{margin-top:14px;font-size:14px;color:#2a2a26}
.t-by{display:flex;align-items:center;gap:12px;border-top:1px solid var(--border);padding-top:14px;margin-top:18px}

/* contact */
.form{background:#fff;border:1px solid var(--border);border-radius:18px;padding:32px;box-shadow:var(--shadow);margin-top:40px}
.form__row{display:grid;gap:16px}
@media(min-width:640px){.form__row{grid-template-columns:1fr 1fr}}
label{display:block;font-size:13px;font-weight:600;margin-bottom:6px}
input,textarea{width:100%;border:1px solid var(--border);background:#fff;border-radius:8px;padding:10px 12px;font:inherit;outline:none;transition:.15s}
input:focus,textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(31,93,58,.15)}
.form .btn{width:100%;justify-content:center;margin-top:18px;padding:14px}
.contact-info{display:grid;gap:16px;margin-top:36px;grid-template-columns:1fr}
@media(min-width:640px){.contact-info{grid-template-columns:repeat(3,1fr)}}
.info{background:#fff;border:1px solid var(--border);border-radius:14px;padding:20px;text-align:center}
.info__icon{width:40px;height:40px;border-radius:999px;background:rgba(31,93,58,.1);color:var(--primary);display:grid;place-items:center;margin:0 auto 10px;font-size:18px}

/* footer */
.footer{border-top:1px solid var(--border);background:var(--bg);padding-top:48px}
.footer__grid{display:grid;gap:32px;grid-template-columns:1fr}
@media(min-width:760px){.footer__grid{grid-template-columns:2fr 1fr 1fr}}
.footer h4{font-size:14px;margin:0 0 12px}
.footer ul{list-style:none;padding:0;margin:0;font-size:14px;color:var(--muted)}
.footer li{margin:8px 0}
.footer__bottom{border-top:1px solid var(--border);margin-top:36px;padding:18px 0;font-size:12px;color:var(--muted);display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}

