/* M&M Homeschool Farms — Montana Mushrooms & Microgreens */

:root {
  --green-dark: #364b27;     /* dark olive text green */
  --green-brand: #3e7d47;    /* nav + footer heading green */
  --green-pill: #a9c25e;     /* footer ORDER NOW pill */
  --green-pay: #4caf50;      /* shop Pay button */
  --ink: #3a3a3a;
  --paper: #ffffff;
  --font-script: "Petit Formal Script", cursive;
  --font-title: "Poppins", "Source Sans 3", sans-serif;
  --font-body: "Source Sans 3", "Source Sans Pro", Helvetica, Arial, sans-serif;
  --font-btn: "Roboto", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

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

a { color: var(--green-brand); }

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

.site-header {
  background: var(--paper);
  padding: 10px 0 6px;
}

.nav {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.nav a.nav-link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 17px;
  color: var(--green-brand);
  text-decoration: none;
  padding-bottom: 3px;
}

.nav a.nav-link:hover,
.nav a.nav-link.active {
  border-bottom: 2px solid var(--green-pill);
}

.nav .logo img { width: 104px; height: auto; }

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

.hero {
  position: relative;
  min-height: 78vh;
  max-width: 1180px;
  margin: 8px auto 0;
  background: url("hero.jpg") center / cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
}

.hero > * { position: relative; z-index: 1; }

.hero h1 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(30px, 5vw, 50px);
  color: #fff;
  text-align: center;
  padding: 0 24px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

.btn-outline {
  align-self: center;
  font-family: var(--font-btn);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  color: #fff;
  text-decoration: none;
  border: 1.6px solid #fff;
  border-radius: 50px;
  padding: 12px 36px;
  transition: background 0.2s, color 0.2s;
}

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

/* ---------- Sections ---------- */

.section {
  max-width: 960px;
  margin: 0 auto;
  padding: 64px 24px;
}

h2.script, h3.script {
  font-family: var(--font-script);
  font-weight: 400;
  color: #000;
  margin-bottom: 22px;
}

h2.script { font-size: 30px; }
h3.script { font-size: 30px; }
h4.script { font-family: var(--font-script); font-weight: 400; font-size: 20px; margin-bottom: 12px; }

.about-blurb { max-width: 640px; }

.read-more {
  display: inline-block;
  margin-top: 18px;
  font-weight: 700;
  color: var(--green-brand);
  text-decoration: none;
  border-bottom: 2px solid var(--green-pill);
  padding-bottom: 2px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  max-width: 320px;
  padding: 6px 0;
  border-bottom: 1px solid #eee;
}

.contact-list { list-style: none; }
.contact-list li { margin-bottom: 10px; }
.contact-list a { text-decoration: none; font-weight: 600; }

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

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* ---------- Shop page ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 300px));
  gap: 40px;
  justify-content: center;
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border: 1px solid #e5e5e5;
}

.product-card h3 {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--ink);
  margin: 14px 0 4px;
}

.product-card .desc { font-size: 14px; color: #777; }

.product-card .price {
  font-size: 26px;
  font-weight: 700;
  margin: 18px 0 12px;
}

.btn-pay {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--green-pay);
  color: #fff;
  font-family: var(--font-btn);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  border: none;
  border-radius: 3px;
  padding: 10px 0;
  cursor: pointer;
}

.btn-pay:hover { background: #43a047; }

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

.site-footer {
  border-top: 1px solid #eee;
  margin-top: 48px;
  padding: 40px 24px 56px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.footer-inner .logo img { width: 150px; }

.btn-pill {
  justify-self: center;
  font-family: var(--font-btn);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  color: #fff;
  background: var(--green-pill);
  text-decoration: none;
  border-radius: 50px;
  padding: 14px 44px;
}

.btn-pill:hover { filter: brightness(0.95); }

.footer-contact h3 {
  color: var(--green-brand);
  font-size: 17px;
  margin-bottom: 6px;
}

.footer-contact p { font-size: 14px; margin: 0; }

.footer-contact .phone {
  margin-top: 10px;
  font-style: italic;
  font-weight: 700;
  color: var(--green-brand);
}

.footer-contact .phone a { text-decoration: none; }

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

@media (max-width: 720px) {
  .nav { gap: 24px; }
  .two-col, .about-grid, .footer-inner { grid-template-columns: 1fr; }
  .footer-inner { text-align: center; justify-items: center; }
  .hero { min-height: 60vh; }
  .hours-row { max-width: none; }
}
