/* ===========================================================
   Govind Farm — base styles
   Plain CSS, no build step, no framework.
   =========================================================== */

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f7f8f7;
  --color-cream: #fdf3df;
  --color-cream-border: #f3e5c4;
  --color-green: #1c7a41;
  --color-green-dark: #12532c;
  --color-green-darker: #0d3b20;
  --color-navy: #0f1729;
  --color-navy-soft: #172238;
  --color-text: #1f2733;
  --color-text-muted: #5b6472;
  --color-border: #e7e9e6;
  --color-mint-a: #a9f1d4;
  --color-mint-b: #a3e7ef;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 41, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 41, 0.08);
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--color-green-dark);
  color: #fff;
}
.btn--primary:hover { background: var(--color-green-darker); }

.btn--outline {
  background: transparent;
  border-color: var(--color-green-dark);
  color: var(--color-green-dark);
}
.btn--outline:hover { background: var(--color-green-dark); color: #fff; }

.btn--outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}
.btn--outline-light:hover { background: #fff; color: var(--color-green-darker); }

.btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--color-green-dark);
}
.brand--light { color: #fff; }
.brand__mark { font-size: 1.3rem; }

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}
.site-nav a {
  font-weight: 500;
  color: var(--color-text);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-green-dark);
  border-bottom-color: var(--color-green-dark);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-burger span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(10,16,30,0.55) 0%, rgba(10,16,30,0.72) 100%),
    linear-gradient(120deg, #1b2a44 0%, #3c3a2e 45%, #a9612f 78%, #d98a3d 100%);
  overflow: hidden;
}

.hero__content {
  max-width: 720px;
  padding: 100px 24px 60px;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  color: #fff;
}
.hero h1 .accent { color: var(--color-mint-a); }

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  max-width: 560px;
  margin: 0 auto 2em;
}

.page-hero {
  padding: 90px 0 60px;
  text-align: center;
  background: linear-gradient(135deg, #e7f6ee 0%, #e4f1f6 100%);
}
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.page-hero p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* ---------- Section scaffolding ---------- */

section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--color-bg-alt); }
.section--cream { background: var(--color-cream); }
.section--navy { background: var(--color-navy); color: #fff; }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-green);
  margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
.section-head p { color: var(--color-text-muted); }

/* ---------- Card grids ---------- */

.grid {
  display: grid;
  gap: 24px;
}
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.feature-card {
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--color-mint-a), var(--color-mint-b));
  text-align: center;
}
.feature-card__icon { font-size: 2rem; margin-bottom: 14px; }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature-card p { color: var(--color-navy-soft); font-size: 0.92rem; margin: 0; }

.info-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.info-card__icon { font-size: 1.8rem; margin-bottom: 10px; }
.info-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.info-card p { color: var(--color-text-muted); margin: 0; font-size: 0.93rem; }

.icon-item { text-align: center; }
.icon-item__icon {
  font-size: 1.7rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  background: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}
.icon-item h3 { font-size: 1.02rem; margin-bottom: 6px; }
.icon-item p { color: var(--color-text-muted); font-size: 0.9rem; margin: 0; }

/* ---------- Quote block ---------- */

.quote-block {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 60px 24px;
}
.quote-block blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  margin: 0 0 16px;
  color: var(--color-navy);
}
.quote-block cite {
  font-style: normal;
  font-weight: 600;
  display: block;
}
.quote-block .quote-sub {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ---------- Checklist box ---------- */

.checklist-box {
  background: linear-gradient(135deg, #e7f6ee, #e4f1f6);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin: 40px auto 0;
  max-width: 820px;
}
.checklist-box h3 {
  text-align: center;
  margin-bottom: 20px;
}
.checklist-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
}
.checklist-box li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.checklist-box li::before {
  content: "✓";
  color: var(--color-green);
  font-weight: 700;
}

/* ---------- Placeholder images ---------- */

.ph-img {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(15, 23, 41, 0.55);
  overflow: hidden;
}
.ph-img__emoji { font-size: 2.4rem; }
.ph-img__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(15, 23, 41, 0.65);
}
.ph-img--1 { background: linear-gradient(150deg, #d7f2e2, #bfe6cf); }
.ph-img--2 { background: linear-gradient(150deg, #dff0f5, #bfe0ea); }
.ph-img--3 { background: linear-gradient(150deg, #fbe7c6, #f3d19c); }
.ph-img--4 { background: linear-gradient(150deg, #e4e0f5, #cbc3ea); }
.ph-img--5 { background: linear-gradient(150deg, #f6dfe2, #edc3c9); }
.ph-img--6 { background: linear-gradient(150deg, #dcefe0, #c3e6cd); }

.gallery-item figcaption {
  text-align: center;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-top: 10px;
}

.insta-grid .ph-img { aspect-ratio: 1 / 1; }

/* ---------- Testimonials ---------- */

.testimonial-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-green);
  border-radius: var(--radius-md);
  padding: 28px;
}
.testimonial-card p { font-style: italic; color: var(--color-navy-soft); }
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.testimonial-card__author strong { display: block; font-size: 0.92rem; }
.testimonial-card__author span { font-size: 0.82rem; color: var(--color-text-muted); }

/* ---------- CTA banner ---------- */

.cta-banner {
  background: linear-gradient(120deg, var(--color-green-dark), var(--color-green-darker));
  color: #fff;
  text-align: center;
}
.cta-banner h2 { color: #fff; }
.cta-banner p {
  color: rgba(255,255,255,0.88);
  max-width: 560px;
  margin: 0 auto 32px;
}
.cta-banner .btn-row { justify-content: center; margin-bottom: 48px; }
.cta-links {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.cta-links a { text-align: center; font-size: 0.9rem; font-weight: 500; }
.cta-links .cta-links__icon { font-size: 1.5rem; display: block; margin-bottom: 6px; }

/* ---------- Blog cards ---------- */

.post-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.post-card .ph-img { aspect-ratio: 16 / 10; border-radius: 0; }
.post-card__body { padding: 20px; }
.post-card__meta {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-green);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}
.post-card__meta span { color: var(--color-text-muted); font-weight: 500; text-transform: none; }
.post-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.post-card p { color: var(--color-text-muted); font-size: 0.92rem; margin: 0; }

/* ---------- Contact / forms ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}

.form-field {
  margin-bottom: 20px;
}
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: #fff;
  color: var(--color-text);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-green);
  box-shadow: 0 0 0 3px rgba(28, 122, 65, 0.15);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-note {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
  border: 1px dashed var(--color-border);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 24px;
}

.contact-info-card {
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-info-card h3 { margin-bottom: 18px; }
.contact-info-card ul { list-style: none; margin: 0 0 24px; padding: 0; }
.contact-info-card li {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--color-navy);
  color: rgba(255,255,255,0.75);
  padding-top: 64px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand p { font-size: 0.92rem; margin: 14px 0 18px; }
.footer__col h4 {
  color: var(--color-green);
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin-bottom: 10px; font-size: 0.92rem; }
.footer__col a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 8px; }

.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-links a:hover { background: var(--color-green); }

.footer__bottom {
  text-align: center;
  padding: 22px 0;
  font-size: 0.85rem;
}
.footer__bottom p { margin: 0; }

/* ---------- About page ---------- */

.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-block + .about-block { margin-top: 72px; }
.about-block.reverse .about-block__text { order: 2; }
.about-block.reverse .about-block__media { order: 1; }
.about-block__media .ph-img { aspect-ratio: 4 / 3; }
.value-list { list-style: none; margin: 0; padding: 0; }
.value-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}
.value-list li:last-child { border-bottom: none; }
.value-list strong { display: block; margin-bottom: 3px; }
.value-list span { color: var(--color-text-muted); font-size: 0.92rem; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .contact-layout { grid-template-columns: 1fr; }
  .about-block,
  .about-block.reverse { grid-template-columns: 1fr; }
  .about-block.reverse .about-block__text,
  .about-block.reverse .about-block__media { order: initial; }
}

@media (max-width: 640px) {
  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 16px;
  }
  .site-nav li { border-top: 1px solid var(--color-border); }
  .site-nav a { display: block; padding: 14px 0; }
  .nav-burger { display: flex; }
  .nav-toggle:checked ~ .site-nav { max-height: 400px; }

  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .checklist-box ul { grid-template-columns: 1fr; }
  .checklist-box { padding: 28px 24px; }
  section { padding: 56px 0; }
  .cta-links { gap: 28px; }
}
