/*
Theme Name: Seba Kendro
Theme URI: https://example.com
Author: Your Shop
Description: A WordPress theme for a government-service facilitation shop (NID, passport, land records, birth registration, allowances, and more). Built around a "official stamp / approved document" visual language, with a bilingual-ready two-column service checklist.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: seba-kendro
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root{
  --paper:      #FBF3E1;
  --paper-2:    #F3E4C4;
  --paper-3:    #EDD9AE;
  --ink:        #2A1B10;
  --ink-soft:   #6B5640;
  --gold:       #D9A521;
  --gold-deep:  #A9780F;
  --rust:       #A63A2C;
  --green:      #2E7A3B;
  --line:       rgba(42,27,16,0.14);

  --font-display: 'Baloo Da 2', 'Hind Siliguri', sans-serif;
  --font-body:    'Hind Siliguri', 'Noto Sans Bengali', sans-serif;

  --radius: 14px;
  --wrap: 1180px;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .5em;
  color: var(--ink);
}
p{ margin: 0 0 1em; }
button{ font-family: inherit; }

.container{
  width: min(92%, var(--wrap));
  margin-inline: auto;
}
.visually-hidden{
  position:absolute !important;
  width:1px;height:1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
}
:focus-visible{
  outline: 3px solid var(--rust);
  outline-offset: 2px;
}

/* Background texture: faint dotted paper, echoes the flyer's dotted corner */
body{
  background-image: radial-gradient(var(--paper-3) 1px, transparent 1px);
  background-size: 22px 22px;
  background-position: -10px -10px;
}

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header{
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header__inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .9rem 0;
}
.site-branding{
  display:flex;
  align-items:center;
  gap:.65rem;
}
.site-branding img.custom-logo{
  max-height: 52px;
  width:auto;
  border-radius: 8px;
}
.site-branding__text .site-title{
  margin:0;
  font-size: 1.35rem;
  letter-spacing: .01em;
}
.site-branding__text .site-title a{ color: var(--ink); }
.site-branding__text .site-tagline{
  margin:0;
  font-size: .78rem;
  color: var(--ink-soft);
  letter-spacing:.02em;
}

.primary-nav{ display:flex; align-items:center; gap: 1.6rem; }
.primary-nav ul{ display:flex; gap: 1.6rem; }
.primary-nav a{
  font-weight:600;
  font-size:.98rem;
  padding:.3rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
.primary-nav a:hover{ border-color: var(--gold); color: var(--gold-deep); }

.header-cta{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  background: var(--ink);
  color: var(--paper) !important;
  padding:.6rem 1.1rem;
  border-radius: 999px;
  font-weight:700;
  font-size:.92rem;
  white-space:nowrap;
}
.header-cta:hover{ background: var(--rust); }

.menu-toggle{
  display:none;
  background:none;
  border:2px solid var(--ink);
  border-radius:8px;
  padding:.4rem .6rem;
  cursor:pointer;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after{
  content:"";
  display:block;
  width:20px;
  height:2px;
  background: var(--ink);
  position:relative;
  transition: transform .2s ease;
}
.menu-toggle span::before{ position:absolute; top:-6px; }
.menu-toggle span::after{ position:absolute; top:6px; }

@media (max-width: 860px){
  .menu-toggle{ display:inline-flex; }
  .primary-nav{
    position:absolute;
    inset-inline:0;
    top:100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction:column;
    align-items:flex-start;
    padding: 1rem 6%;
    display:none;
    gap: 0;
  }
  .primary-nav.is-open{ display:flex; }
  .primary-nav ul{ flex-direction:column; width:100%; gap:0; }
  .primary-nav li{ width:100%; border-bottom:1px solid var(--line); }
  .primary-nav a{ display:block; padding:.75rem 0; }
  .header-cta{ margin-top:.75rem; }
}

/* ============================================================
   HERO — signature "official seal" motif
   ============================================================ */
.hero{
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}
.hero__inner{
  display:grid;
  grid-template-columns: 1.25fr .85fr;
  gap: 3rem;
  align-items:center;
}
.hero__eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  background: var(--paper-2);
  border:1px solid var(--line);
  color: var(--ink-soft);
  font-size:.82rem;
  font-weight:600;
  padding:.35rem .8rem;
  border-radius:999px;
  margin-bottom:1.1rem;
}
.hero__eyebrow .dot{
  width:7px;height:7px;border-radius:50%;
  background: var(--green);
}
.hero h1{
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  margin-bottom:.4rem;
}
.hero h1 .accent{ color: var(--gold-deep); }
.hero__tagline{
  font-size: 1.05rem;
  color: var(--ink-soft);
  font-weight:600;
  margin-bottom: 1.5rem;
}
.hero__tagline .sep{ color: var(--gold); margin: 0 .4em; }
.hero__actions{ display:flex; gap:.9rem; flex-wrap:wrap; }
.btn{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.85rem 1.5rem;
  border-radius: 999px;
  font-weight:700;
  font-size:.98rem;
  border: 2px solid transparent;
}
.btn--primary{ background: var(--rust); color:#fff; }
.btn--primary:hover{ background:#8c3024; }
.btn--ghost{ border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover{ background: var(--ink); color: var(--paper); }

/* The stamp */
.hero__seal{
  position:relative;
  width: 100%;
  max-width: 340px;
  margin-inline:auto;
  aspect-ratio: 1;
}
.hero__seal svg{ width:100%; height:100%; }
.hero__seal .seal-ring-text{
  fill: var(--rust);
  font-family: var(--font-display);
  font-weight:700;
  font-size: 13.5px;
  letter-spacing: 2px;
}
.hero__seal .seal-outer{
  fill:none; stroke: var(--rust); stroke-width:2.5;
}
.hero__seal .seal-inner{
  fill:none; stroke: var(--rust); stroke-width:2; stroke-dasharray: 3 4;
}
.hero__seal .seal-center-icon{ stroke: var(--rust); }
.hero__seal-cap{
  text-align:center;
  font-family: var(--font-display);
  font-weight:700;
  color: var(--rust);
  margin-top: 1rem;
  font-size: 1rem;
  letter-spacing: .02em;
}

/* ============================================================
   QUICK SERVICES — icon row (mirrors the flyer's bottom icon strip)
   ============================================================ */
.quick-services{
  padding: 1rem 0 3.5rem;
}
.quick-services__grid{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap: .9rem;
}
.quick-services__item{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem .6rem .9rem;
  text-align:center;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.quick-services__item:hover{
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 10px 24px -14px rgba(42,27,16,.35);
}
.quick-services__item svg{
  width:34px; height:34px;
  margin: 0 auto .55rem;
  stroke: var(--ink);
}
.quick-services__item span{
  display:block;
  font-size:.82rem;
  font-weight:700;
  color: var(--ink);
}
@media (max-width: 900px){
  .quick-services__grid{ grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 560px){
  .quick-services__grid{ grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   SERVICE CHECKLIST — the two-column "ledger" section
   ============================================================ */
.services{
  padding: 2rem 0 4.5rem;
}
.services__head{
  text-align:center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.services__head .kicker{
  display:block;
  color: var(--gold-deep);
  font-weight:700;
  font-size:.85rem;
  letter-spacing:.08em;
  margin-bottom:.4rem;
  text-transform: uppercase;
}
.services__head h2{ font-size: clamp(1.6rem, 3vw, 2.2rem); }

.services__panel{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2.2rem clamp(1.2rem, 4vw, 3rem);
  box-shadow: 0 24px 48px -32px rgba(42,27,16,.5);
  position:relative;
}
.services__panel::before{
  content:"";
  position:absolute;
  inset: 10px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  pointer-events:none;
}
.services__cols{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
}
.services__cols h3{
  font-size:1.05rem;
  color: var(--gold-deep);
  border-bottom: 2px solid var(--paper-3);
  padding-bottom:.6rem;
  margin-bottom:1rem;
}
.services__cols ul li{
  display:flex;
  align-items:flex-start;
  gap:.7rem;
  padding: .55rem 0;
  border-bottom: 1px dotted var(--line);
  font-weight: 500;
}
.services__cols ul li:last-child{ border-bottom:none; }
.check-stamp{
  flex: 0 0 auto;
  width: 22px; height:22px;
  border: 2px solid var(--green);
  border-radius: 6px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transform: rotate(-4deg);
  margin-top:.1em;
}
.check-stamp svg{ width:13px; height:13px; stroke: var(--green); }

@media (max-width: 760px){
  .services__cols{ grid-template-columns: 1fr; gap: 2rem; }
  .hero__inner{ grid-template-columns: 1fr; }
  .hero__seal{ order:-1; max-width: 220px; }
}

/* ============================================================
   ABOUT / TRUST STRIP
   ============================================================ */
.trust{
  background: var(--ink);
  color: var(--paper);
  padding: 3rem 0;
}
.trust__grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.trust__item .num{
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.9rem;
  display:block;
  margin-bottom:.2rem;
}
.trust__item p{ color: rgba(251,243,225,.75); margin:0; font-size:.95rem; }
@media (max-width:700px){ .trust__grid{ grid-template-columns:1fr; gap:1.5rem; } }

/* ============================================================
   BLOG / CONTENT (page.php, single.php, index.php)
   ============================================================ */
.content-wrap{
  padding: 3.5rem 0 5rem;
}
.content-wrap .entry-header{ margin-bottom: 2rem; }
.content-wrap .entry-title{ font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.content-wrap .entry-meta{
  color: var(--ink-soft);
  font-size:.88rem;
  font-weight:600;
}
.content-wrap article + article{
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px dashed var(--line);
}
.entry-content > *{ max-width: 760px; }
.entry-content img{ border-radius: var(--radius); margin: 1.5rem 0; }
.entry-content a{ color: var(--rust); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer__band{
  background: var(--gold);
  color: var(--ink);
}
.site-footer__band .container{
  display:flex;
  flex-wrap:wrap;
  gap: 1rem 2.5rem;
  align-items:center;
  justify-content:space-between;
  padding: 1.1rem 0;
  font-weight:700;
  font-size:.95rem;
}
.site-footer__band .item{ display:flex; align-items:center; gap:.55rem; }
.site-footer__band svg{ width:20px; height:20px; }

.site-footer__main{
  background: var(--ink);
  color: rgba(251,243,225,.82);
  padding: 3rem 0 2rem;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-grid h4{
  color: var(--paper);
  font-size: 1rem;
  margin-bottom: 1rem;
}
.footer-grid p{ font-size:.92rem; line-height:1.7; }
.footer-widgets ul li{ padding:.3rem 0; font-size:.92rem; }
.footer-widgets a:hover{ color: var(--gold); }
.site-footer__bottom{
  text-align:center;
  font-size:.82rem;
  color: rgba(251,243,225,.55);
  border-top: 1px solid rgba(251,243,225,.12);
  margin-top: 2.5rem;
  padding-top: 1.4rem;
}
@media (max-width: 760px){
  .footer-grid{ grid-template-columns: 1fr; gap: 2rem; }
  .site-footer__band .container{ justify-content:center; text-align:center; }
}
