/*
Theme Name: Shunzeric Farm Theme
Theme URI: https://shunzericfarm.store
Author: SHUNZERIC FARM LLC
Author URI: https://shunzericfarm.store
Description: Professional agricultural theme tailored for Facebook Meta Business Manager verification. Built for SHUNZERIC FARM LLC - fresh produce, sustainable farming and farm management operations.
Version: 1.0.0
Requires at least: 5.5
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shunzeric-farm
Tags: agriculture, farming, business, one-column, custom-menu, featured-images
*/

/* ---------- Design tokens ---------- */
:root {
  --green-900: #14371f;
  --green-800: #1b4d2b;
  --green-700: #256b3a;
  --green-600: #2f8748;
  --green-100: #e8f3ea;
  --earth: #8a5a2b;
  --wheat: #f3c454;
  --ink: #1d2320;
  --muted: #5d6b62;
  --line: #dfe6e0;
  --bg: #ffffff;
  --bg-soft: #f7faf7;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 55, 31, 0.10);
  --wrap: 1180px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.2; color: var(--green-900); margin: 0 0 .6em; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.center { text-align: center; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 760px; }
.center .lead { margin-left: auto; margin-right: auto; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--green-700);
  color: #fff;
  font-weight: 600;
  border: 2px solid var(--green-700);
  cursor: pointer;
}
.btn:hover { background: var(--green-800); border-color: var(--green-800); text-decoration: none; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--green-900);
  color: #e9f2ea;
  font-size: .9rem;
}
.topbar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
  justify-content: space-between;
  padding-top: 9px;
  padding-bottom: 9px;
}
.topbar a { color: #e9f2ea; }
.topbar-contact { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.topbar-note { color: #b9d3bd; }

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { text-decoration: none; }
.emblem {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--green-100);
  border: 2px solid var(--green-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  flex: 0 0 auto;
}
.brand-name { font-weight: 700; color: var(--green-900); font-size: 1.1rem; letter-spacing: .3px; }
.brand-tag { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }

.nav-toggle {
  display: none;
  background: var(--green-700);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 1rem;
  cursor: pointer;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
}
.main-nav a { color: var(--ink); font-weight: 600; font-size: .97rem; }
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--green-700); }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(120deg, rgba(20,55,31,.92), rgba(47,135,72,.80)),
    radial-gradient(circle at 80% 20%, var(--wheat), transparent 55%);
  color: #fff;
  padding: 96px 0;
}
.hero h1 { color: #fff; max-width: 900px; }
.hero p { color: #eaf5ec; font-size: 1.15rem; max-width: 720px; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.35);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 44px;
}
.hero-fact {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.hero-fact strong { display: block; font-size: 1.3rem; }
.hero-fact span { color: #dcefe0; font-size: .9rem; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 44px;
  align-items: start;
}
.fact-card {
  background: var(--green-100);
  border: 1px solid #cfe4d3;
  border-radius: var(--radius);
  padding: 26px;
}
.fact-list { list-style: none; margin: 0; padding: 0; }
.fact-list li { padding: 9px 0; border-bottom: 1px dashed #c4dbc9; font-size: .96rem; }
.fact-list li:last-child { border-bottom: 0; }
.fact-list strong { color: var(--green-900); }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform .2s ease;
}
.card:hover { transform: translateY(-4px); }
.card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--green-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.card p { color: var(--muted); margin: 0; }

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.farm-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: #fcfdfc;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(47,135,72,.15);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 12px; }

.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li {
  display: flex; gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.info-list li:last-child { border-bottom: 0; }
.info-list .ico { font-size: 20px; }

/* ---------- Content templates ---------- */
.content-area { padding: 60px 0; }
.entry { max-width: 820px; margin: 0 auto 48px; }
.entry-meta { color: var(--muted); font-size: .88rem; margin-bottom: 18px; }
.entry-content > * + * { margin-top: 1em; }
.entry-content ul, .entry-content ol { padding-left: 22px; }
.entry-thumb { border-radius: var(--radius); overflow: hidden; margin-bottom: 22px; }
.page-title-bar {
  background: var(--green-900);
  color: #fff;
  padding: 56px 0;
}
.page-title-bar h1 { color: #fff; margin: 0; }
.page-title-bar p { color: #cfe4d3; margin: 8px 0 0; }
.archive-list { display: grid; gap: 22px; max-width: 860px; margin: 0 auto; }
.archive-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.pager { display: flex; gap: 12px; justify-content: center; margin-top: 34px; }

/* ---------- Legal / compliance pages ---------- */
.legal { max-width: 860px; margin: 0 auto; }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.6em; }
.legal-updated {
  display: inline-block;
  background: var(--green-100);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: .85rem;
  color: var(--green-800);
}
.legal-box {
  border-left: 4px solid var(--green-600);
  background: var(--bg-soft);
  padding: 18px 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-900);
  color: #d9e8dc;
  padding: 62px 0 0;
  font-size: .95rem;
}
.site-footer h4 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; }
.site-footer a { color: #d9e8dc; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { padding: 5px 0; }
.footer-legal-name { color: #fff; font-weight: 700; font-size: 1.05rem; }
.footer-verify {
  border-top: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14);
  padding: 20px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px 28px;
  color: #eaf5ec;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  padding: 22px 0 30px;
  color: #b9d3bd;
  font-size: .88rem;
}
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; }

/* ---------- Accessibility ---------- */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero { padding: 66px 0; }
  .section { padding: 54px 0; }
  .nav-toggle { display: block; }
  .site-header .wrap { flex-wrap: wrap; }
  .main-nav {
    display: none;
    width: 100%;
    border-top: 1px solid var(--line);
    padding-top: 12px;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav ul li { padding: 8px 0; border-bottom: 1px solid var(--line); }
  .topbar .wrap { justify-content: center; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
