/* ==========================================================================
   Bullard Orchards — shared stylesheet
   Palette: cream background, orchard green, peach/rust accent
   ========================================================================== */

:root {
  --cream: #faf6ee;
  --cream-dark: #f0e7d6;
  --ink: #2e2a22;
  --green: #3f5d3a;
  --green-dark: #2c4228;
  --green-light: #e8efe4;
  --peach: #d97a4d;
  --peach-dark: #b95f36;
  --rust: #a8451f;
  --gold: #c98a2c;
  --white: #ffffff;
  --shadow: 0 8px 24px rgba(46, 42, 34, 0.08);
  --radius: 14px;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  background:
    linear-gradient(rgba(250, 246, 238, 0.94), rgba(250, 246, 238, 0.94)),
    url("images/mount-adams-view.jpg") center / cover fixed no-repeat;
  color: var(--ink);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--green-dark);
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

a { color: var(--peach-dark); }

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--peach);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(217, 122, 77, 0.35);
}
.btn-primary:hover { background: var(--peach-dark); }

.btn-secondary {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green-dark);
}
.btn-secondary:hover { background: var(--green-light); }

.btn-call {
  background: var(--green);
  color: var(--white);
}
.btn-call:hover { background: var(--green-dark); }

.btn-call .icon { font-size: 1.05em; }

.btn-block { width: 100%; justify-content: center; }

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

.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--cream-dark);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 16px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--green-dark);
}

.brand-logo {
  height: 48px;
  width: 48px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  display: block;
}

.brand-mark {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.brand-sub {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--peach-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
}

.nav-links a:hover,
.nav-links a.active { color: var(--peach-dark); }

.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--green-dark);
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid var(--cream-dark);
    box-shadow: var(--shadow);
    padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 24px; width: 100%; }
  .nav-toggle { display: block; }
  .nav-cta .btn-secondary-label { display: none; }
}

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

.hero {
  background: linear-gradient(135deg, var(--green-light) 0%, var(--cream) 60%);
  padding: 64px 0 56px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
}

.hero-eyebrow {
  display: inline-block;
  background: var(--peach);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.hero-art {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #9a8f78;
  font-size: 0.95rem;
  padding: 20px;
  border: 2px dashed var(--cream-dark);
}

.hero-art.has-photo,
.fruit-block .art.has-photo {
  border: none;
  padding: 0;
  overflow: hidden;
}

.hero-art img,
.fruit-block .art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

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

.section { padding: 56px 0; }
.section-tight { padding: 32px 0; }
.section-alt { background: var(--white); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.section-head p { margin: 0; color: #6a6353; max-width: 60ch; }

/* ---------- Season / status cards ---------- */

.season-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.fruit-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 5px solid var(--peach);
}

.fruit-card h3 { margin-bottom: 0; }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  width: fit-content;
}

.status-picking { background: #e4f2e0; color: var(--green-dark); }
.status-soon { background: #fdeecd; color: #8a5a00; }
.status-over { background: #f1eee7; color: #7a7565; }

.status-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.fruit-card .price { font-size: 1rem; font-weight: 700; color: var(--peach-dark); margin: 0; }
.fruit-card .note { font-size: 0.92rem; color: #6a6353; margin: 0; }

.updated-note {
  font-size: 0.85rem;
  color: #9a8f78;
  margin-top: 18px;
}

/* ---------- Info strip ---------- */

.info-strip {
  background: var(--green);
  color: var(--white);
}

.info-strip .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.info-strip h4 {
  color: var(--white);
  font-family: "Source Sans 3", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  opacity: 0.85;
  margin-bottom: 6px;
}

.info-strip p { margin: 0; font-size: 1.05rem; }

.info-strip .btn-call { background: var(--peach); }
.info-strip .btn-call:hover { background: var(--peach-dark); }

/* ---------- Recipe / content cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.recipe-card, .content-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.recipe-card .tag, .content-card .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--peach-dark);
  margin-bottom: 8px;
}

.recipe-card ul, .content-card ul { padding-left: 20px; margin: 0 0 12px; }
.recipe-card li, .content-card li { margin-bottom: 4px; }

.recipe-card ol { padding-left: 20px; }
.recipe-card ol li { margin-bottom: 8px; }

.map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 16px 0;
}

/* ---------- Callout / safety note ---------- */

.callout {
  background: var(--cream-dark);
  border-left: 5px solid var(--rust);
  border-radius: 8px;
  padding: 18px 22px;
  margin: 24px 0;
}

.callout strong { color: var(--rust); }

.callout-tip {
  border-left-color: var(--gold);
}

.callout-tip strong { color: var(--gold); }

/* ---------- Placeholder markers (for info Daryl still needs to fill in) ---------- */

.placeholder {
  background: repeating-linear-gradient(
    45deg, #fdeecd, #fdeecd 10px, #fbe4b0 10px, #fbe4b0 20px
  );
  color: #7a5300;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9em;
}

/* ---------- Tabs (fruit page) ---------- */

.fruit-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.fruit-nav a {
  text-decoration: none;
  background: var(--white);
  border: 2px solid var(--cream-dark);
  color: var(--green-dark);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
}

.fruit-nav a:hover { border-color: var(--peach); }

.fruit-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--cream-dark);
  scroll-margin-top: 90px;
}

.fruit-block:last-child { border-bottom: none; }

@media (max-width: 760px) {
  .fruit-block { grid-template-columns: 1fr; }
}

.fruit-block .art {
  background: var(--white);
  border: 2px dashed var(--cream-dark);
  border-radius: var(--radius);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9a8f78;
  text-align: center;
  padding: 20px;
}

.meta-row {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin: 14px 0;
}

.meta-item {
  font-size: 0.9rem;
  color: #6a6353;
}

.meta-item strong { display: block; color: var(--green-dark); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; }

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

.site-footer {
  background: var(--green-dark);
  color: #d9e2d5;
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-logo {
  height: 72px;
  width: 72px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  display: block;
  margin-bottom: 14px;
}

.site-footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: "Source Sans 3", sans-serif;
  margin-bottom: 12px;
}

.site-footer a { color: #d9e2d5; }
.site-footer p { color: #b7c3b1; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 18px;
  font-size: 0.85rem;
  color: #9fae98;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Weather widget ---------- */

.weather-now {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.weather-icon { width: 56px; height: 56px; flex-shrink: 0; }

.weather-temp {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-dark);
  margin: 0;
}

.weather-desc { margin: 0; font-weight: 600; }
.weather-wind { margin: 0; font-size: 0.85rem; color: #6a6353; }

/* ---------- Utility ---------- */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.small { font-size: 0.9rem; color: #6a6353; }
