/*
Theme Name: Desa Umum V3.1
Theme URI: https://example.com/
Author: HR Web
Description: Theme WordPress desa bergaya modern, terinspirasi struktur halaman nirasaribulok.com dan dibuat untuk dipakai ulang di banyak website desa.
Version: 3.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: desa-umum-v3
*/

:root{
  --primary:#4f7c52;
  --primary-dark:#2f5136;
  --accent:#d9a441;
  --cream:#f6f1e7;
  --surface:#ffffff;
  --bg:#f8f8f5;
  --text:#20251f;
  --muted:#73796f;
  --line:#e5e7e1;
  --radius:22px;
  --shadow:0 18px 50px rgba(38,58,40,.10);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--text);background:#fff;line-height:1.65}
a{text-decoration:none;color:inherit}
img{max-width:100%;height:auto;display:block}
.container{width:min(1160px,calc(100% - 34px));margin:auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.header-inner{height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:12px;font-weight:800}
.brand img{width:48px;height:48px;object-fit:contain}
.brand-title{font-size:17px}
.brand-subtitle{display:block;font-size:12px;color:var(--muted);font-weight:500}
.main-nav ul{display:flex;list-style:none;gap:26px;margin:0;padding:0;align-items:center}
.main-nav a{font-size:14px;font-weight:700}
.main-nav a:hover{color:var(--primary)}
.menu-toggle{display:none;border:0;border-radius:10px;background:var(--primary);color:#fff;padding:10px 13px}
.hero{min-height:690px;position:relative;display:flex;align-items:center;background:#526e56 center/cover no-repeat;color:#fff}
.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(20,37,23,.88),rgba(20,37,23,.46) 58%,rgba(20,37,23,.18))}
.hero-content{position:relative;z-index:2;max-width:780px;padding:90px 0}
.kicker{font-size:13px;text-transform:uppercase;letter-spacing:.18em;font-weight:800;color:#e8e3cb}
.hero h1{font-size:clamp(42px,7vw,76px);line-height:1.03;margin:14px 0 20px;max-width:900px}
.hero p{font-size:19px;max-width:720px;color:#f0f2ee}
.button-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:13px 20px;background:var(--primary);color:#fff;font-weight:800}
.btn-light{background:#fff;color:var(--primary-dark)}
.btn-outline{border:1px solid rgba(255,255,255,.45);background:transparent;color:#fff}
.section{padding:86px 0}
.section.alt{background:var(--bg)}
.section.cream{background:var(--cream)}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:34px}
.section-head .tag{color:var(--primary);font-weight:800;text-transform:uppercase;font-size:12px;letter-spacing:.14em}
.section-head h2{font-size:38px;line-height:1.15;margin:7px 0 0}
.section-head p{color:var(--muted);max-width:640px}
.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}
.profile-photo{border-radius:28px;overflow:hidden;background:#dfe5dc;min-height:420px}
.profile-photo img{width:100%;height:100%;object-fit:cover}
.profile-copy h2{font-size:42px;line-height:1.15;margin:0 0 16px}
.profile-copy p{color:#60675f}
.grid{display:grid;gap:24px}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.card-media{aspect-ratio:16/10;background:#e5e9e2;overflow:hidden}
.card-media img{width:100%;height:100%;object-fit:cover}
.card-body{padding:22px}
.card h3{font-size:21px;line-height:1.3;margin:0 0 10px}
.card p{color:var(--muted);margin-bottom:0}
.meta{font-size:12px;color:var(--muted);margin-bottom:8px}
.feature-card{display:grid;grid-template-columns:1.2fr 1fr;min-height:430px}
.feature-card .card-media{aspect-ratio:auto}
.feature-card .card-body{padding:38px;display:flex;flex-direction:column;justify-content:center}
.icon-card{padding:28px;text-align:left}
.icon-badge{width:54px;height:54px;border-radius:18px;background:#edf3ec;color:var(--primary);display:flex;align-items:center;justify-content:center;font-size:24px;margin-bottom:18px}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.stat{padding:28px;text-align:center;background:#fff;border-radius:18px;border:1px solid var(--line)}
.stat strong{display:block;font-size:36px;color:var(--primary)}
.stat span{font-size:13px;color:var(--muted)}
.person{text-align:center}
.person .card-media{aspect-ratio:4/5}
.person .role{font-weight:800;color:var(--primary);font-size:13px}
.gallery-grid{display:grid;grid-template-columns:2fr 1fr 1fr;grid-auto-rows:220px;gap:15px}
.gallery-item{overflow:hidden;border-radius:18px;background:#ddd}
.gallery-item:first-child{grid-row:span 2}
.gallery-item img{width:100%;height:100%;object-fit:cover}
.content-area{padding:70px 0;min-height:62vh}
.entry-title{font-size:46px;line-height:1.12}
.entry-content{font-size:17px}
.site-footer{background:#213126;color:#d9e1da;padding:62px 0 26px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:42px}
.site-footer h3,.site-footer h4{color:#fff}
.footer-muted{color:#aeb9b0}
.footer-bottom{margin-top:38px;padding-top:20px;border-top:1px solid rgba(255,255,255,.13);font-size:13px;color:#9dab9f}
@media(max-width:900px){
 .main-nav{display:none;position:absolute;top:72px;left:16px;right:16px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:12px;box-shadow:var(--shadow)}
 .main-nav.open{display:block}.main-nav ul{display:block}.main-nav li{padding:9px}
 .menu-toggle{display:block}
 .profile-grid,.feature-card,.footer-grid{grid-template-columns:1fr}
 .grid-3,.grid-4,.stats{grid-template-columns:repeat(2,1fr)}
 .gallery-grid{grid-template-columns:1fr 1fr}
 .gallery-item:first-child{grid-row:auto;grid-column:span 2}
}
@media(max-width:600px){
 .hero{min-height:560px}
 .section{padding:62px 0}
 .section-head{display:block}
 .grid-2,.grid-3,.grid-4,.stats{grid-template-columns:1fr}
 .gallery-grid{grid-template-columns:1fr;grid-auto-rows:220px}
 .gallery-item:first-child{grid-column:auto}
 .profile-copy h2,.section-head h2{font-size:32px}
}
