/* assets.css - nature aesthetic & elegant */
:root{
  /* ---------- CORE PALETTE ---------- */
  --bg: #F4F7F3;                 /* soft organic background */
  --card: #FFFFFF;               /* clean card surface */
  --accent: #4E7C59;              /* leaf green */
  --accent-soft: #9DB8A0;         /* muted green */
  --muted: #6B7F75;               /* secondary text */
  --glass: rgba(31,61,43,0.06);   /* green-tinted glass */
  --radius: 14px;

  font-family: 'Poppins',system-ui,Segoe UI,Roboto,sans-serif;
  color-scheme: light;
}

*{box-sizing:border-box}

/* ---------- BODY ---------- */
body{
  margin:0;
  background: linear-gradient(180deg, #F4F7F3 0%, #EEF3EF 100%);
  color:#2E3A34;
  line-height:1.6;
}

/* ---------- LAYOUT ---------- */
.container{
  max-width:1100px;
  margin:0 auto;
  padding:18px;
}

/* ---------- HEADER ---------- */
.site-header{
  padding:18px 0;
  background:#1F3D2B;
  border-bottom:1px solid rgba(255,255,255,0.08);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.brand h1{
  margin:0;
  font-size:22px;
  letter-spacing:0.6px;
  color:#EAF4EC;
}

.brand .year{
  color:#A7C7B7;
  font-weight:700;
}

.site-nav a{
  color:#CFE4D6;
  text-decoration:none;
  margin-left:18px;
  font-weight:500;
}

.site-nav a:hover{
  color:#A7C7B7;
}

/* ---------- MAIN ---------- */
.site-main{
  padding:24px 0;
}

/* ---------- POSTS GRID ---------- */
.posts-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
  gap:18px;
}

.card{
  background: var(--card);
  padding:14px;
  border-radius:12px;
  border:1px solid #DCE7DF;
  box-shadow: 0 10px 30px rgba(31,61,43,0.08);
  transition:0.3s ease;
}

.card:hover{
  border-color: var(--accent-soft);
  transform: translateY(-4px);
}

.card img{
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:8px;
}

.card h3{
  margin:12px 0 6px;
  color:#1F3D2B;
}

.meta{
  font-size:13px;
  color:var(--muted);
}

/* ---------- BUTTON ---------- */
.btn{
  display:inline-block;
  padding:8px 14px;
  border-radius:8px;
  background: var(--accent);
  color:#ffffff;
  text-decoration:none;
  font-weight:600;
  transition:0.3s ease;
}

.btn:hover{
  background:#3E6549;
}

/* ---------- FOOTER ---------- */
.footer-contact{
  margin-top:18px;
  color:#CFE4D6;
  font-size:14px;
}

/* ---------- FORMS ---------- */
.form-row{
  margin-bottom:12px;
}

.input,
textarea,
select{
  width:100%;
  padding:10px;
  border-radius:8px;
  border:1px solid #DCE7DF;
  background:#FFFFFF;
  color:#2E3A34;
}

textarea{
  min-height:120px;
}

/* ---------- ADMIN ---------- */
.admin-panel{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.table{
  width:100%;
  border-collapse:collapse;
}

.table th,
.table td{
  padding:10px;
  border-bottom:1px solid #E1ECE5;
  text-align:left;
}

.small-muted{
  color:var(--muted);
  font-size:13px;
}

/* ---------- RESPONSIVE ---------- */
@media(min-width:900px){
  .hero{
    grid-template-columns:1fr 1fr;
  }
}
