/* ═══════════════════════════════════════════════════════════════
   Tudor Mushrooms — Shared Styles  (Dark Hearth palette)
   Fonts loaded in HTML: Cinzel + Lato (Google Fonts)
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. Variables & Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #0D1610;
  --surface:    #162018;
  --surface-2:  #1E2E20;
  --gold:       #C8963A;
  --gold-light: #E0B860;
  --cream:      #EAE0D2;
  --cream-dim:  #B8AD9E;
  --green-mid:  #2A5C36;
  --text:       #D8CFC0;
  --border:     rgba(200, 150, 58, 0.15);
}

html { scroll-behavior: smooth; }
img  { max-width: 100%; display: block; }

/* ── 2. Base Typography ── */
body {
  font-family: 'Lato', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: 'Cinzel', serif;
  line-height: 1.2;
}

/* Base link colour — gold on the dark palette (prevents default browser blue/purple).
   Buttons (.btn) keep their own colours; component rules below override as needed. */
a:not(.btn) { color: var(--gold); }
a:not(.btn):not(.nav-logo):hover { color: var(--gold-light); }

/* ── 3. Layout Utilities ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.section-pad { padding: 5.5rem 2.5rem; }

/* ── 4. Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(13, 22, 16, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(200, 150, 58, 0.12);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
  height: 68px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: 'Cinzel', serif;
  color: var(--cream);
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.nav-logo span { color: var(--gold); }
.nav-logo:hover, .nav-logo:hover span { color: var(--gold); }
.nav-logo-img { height: 40px; width: auto; display: block; }
@media (max-width: 480px) { .nav-logo-img { height: 34px; } .nav-logo { font-size: 1.2rem; } }

.nav-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  padding-bottom: 0.15rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--cream);
  font-size: 1.5rem;
  line-height: 1;
  transition: color 0.2s;
}
.nav-toggle:hover { color: var(--gold); }

/* ── 5. Buttons ── */
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-gold { background: var(--gold); color: var(--bg); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  border: 1.5px solid rgba(200, 150, 58, 0.45);
  color: var(--cream);
}
.btn-ghost:hover {
  background: rgba(200, 150, 58, 0.08);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: transparent;
  border: 1.5px solid rgba(200, 150, 58, 0.35);
  color: var(--gold);
}
.btn-outline-gold:hover {
  background: rgba(200, 150, 58, 0.1);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── 6. Eyebrow label ── */
.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(200, 150, 58, 0.4);
}

/* ── 7. Hero (Home) ── */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 6rem 2.5rem;
  background-color: var(--bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-inner { max-width: 640px; }

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  color: var(--cream);
  margin: 1.4rem 0;
}
.hero h1 em { font-style: italic; color: var(--gold); }

.hero p {
  color: var(--cream-dim);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.85;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

/* ── 8. Page Header (inner pages) ── */
.page-header {
  padding: 7.2rem 2.5rem 6rem;
  background-color: var(--surface);
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.page-header .eyebrow { margin-bottom: 1.2rem; }

.page-header h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--cream);
  margin-bottom: 0.8rem;
}

.page-header p {
  color: var(--cream-dim);
  font-size: 1rem;
  font-weight: 300;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.85;
}

/* ── 9. About Strip ── */
.about-strip {
  background: var(--green-mid);
  padding: 4.5rem 2.5rem;
  text-align: center;
}
.about-strip h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--cream);
  margin-bottom: 1.2rem;
}
.about-strip p {
  max-width: 660px;
  margin: 0 auto;
  color: var(--cream-dim);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.95;
}

/* ── 10. Section Labels & Titles ── */
.section-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--gold);
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--cream);
}

.section-head { text-align: center; margin-bottom: 3rem; }
.section-head .section-title { margin-bottom: 0.5rem; }
.section-head p { color: var(--cream-dim); font-size: 0.95rem; font-weight: 300; margin-top: 0.5rem; }

/* ── 11. Mushroom Cards ── */
.mushroom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.mcard {
  background: var(--surface);
  overflow: hidden;
  border: 1px solid rgba(200, 150, 58, 0.08);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.mcard:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  border-color: rgba(200, 150, 58, 0.28);
}

.mcard-img {
  height: 252px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  overflow: hidden;
  position: relative;
}
.mcard-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.mcard:hover .mcard-img img { transform: scale(1.05); }

.mcard-body {
  padding: 1.2rem 1.4rem 1.5rem;
  border-top: 3px solid var(--gold);
}
.mcard-body h3 {
  font-size: 1.15rem;
  color: var(--cream);
  margin-bottom: 0.1rem;
}
.mcard-latin {
  display: block;
  font-family: 'Cinzel', serif;
  font-style: italic;
  font-size: 0.82rem;
  color: var(--gold);
  margin-bottom: 0.55rem;
}
.mcard-body p {
  font-size: 0.88rem;
  color: var(--cream-dim);
  line-height: 1.6;
}

/* ── 12. Tags ── */
.tags { display: flex; gap: 0.4rem; margin-top: 0.9rem; flex-wrap: wrap; }
.tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.22rem 0.65rem;
}
.tag-fresh { border: 1px solid var(--green-mid); color: #7DC48A; }
.tag-dried { border: 1px solid rgba(200, 150, 58, 0.4); color: var(--gold); }

/* ── 13. Markets Section ── */
.markets { background: var(--surface); padding: 5.5rem 2.5rem; }

.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 780px;
  margin: 0 auto;
}

.market-card {
  border: 1px solid rgba(200, 150, 58, 0.2);
  padding: 2.2rem;
  text-align: center;
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.market-card:hover {
  border-color: rgba(200, 150, 58, 0.5);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.market-day {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.market-card h3 { font-size: 1.5rem; color: var(--cream); margin-bottom: 0.4rem; }
.market-card .market-location { font-size: 0.88rem; color: var(--cream-dim); margin-bottom: 0.3rem; }
.market-card .market-hours  { font-size: 0.82rem; color: var(--cream-dim); opacity: 0.65; margin-bottom: 1.4rem; }

.market-link {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid rgba(200, 150, 58, 0.4);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.market-link:hover { border-color: var(--gold); }

/* ── 14. Social CTA ── */
.social-cta {
  background: var(--surface-2);
  padding: 4.5rem 2.5rem;
  text-align: center;
}
.social-cta h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--cream); margin-bottom: 0.8rem; }
.social-cta p { color: var(--cream-dim); font-weight: 300; margin-bottom: 2rem; }
.social-links { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── 15. Value Cards (About page) ── */
.values { background: var(--bg); padding: 5.5rem 2.5rem; }

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.value-card {
  background: var(--surface);
  padding: 2rem 1.8rem;
  border: 1px solid rgba(200, 150, 58, 0.08);
  border-top: 3px solid var(--gold);
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.value-card:hover { transform: translateY(-3px); border-color: rgba(200, 150, 58, 0.25); }
.value-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.value-card h3 { font-size: 1.05rem; color: var(--cream); margin-bottom: 0.6rem; }
.value-card p { font-size: 0.87rem; color: var(--cream-dim); line-height: 1.65; }

/* ── 16. Story / Two-column (About page) ── */
.story { padding: 5.5rem 2.5rem; background: var(--surface); }

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.story-img {
  height: 440px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.story-img-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  background: linear-gradient(135deg, var(--surface-2), var(--green-mid));
}

.story-text .section-label { margin-bottom: 0.8rem; }
.story-text h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--cream); margin-bottom: 1.3rem; }
.story-text p { color: var(--cream-dim); font-size: 0.95rem; line-height: 1.9; margin-bottom: 1rem; }
.story-text a { color: var(--gold); text-decoration: none; font-weight: 700; }
.story-text a:hover { color: var(--gold-light); }

/* ── 17. Find Us — Info blocks ── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 3.5rem auto 0;
}

.info-card {
  background: var(--surface);
  padding: 1.8rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
}
.info-card h3 { font-size: 1rem; color: var(--cream); margin-bottom: 0.5rem; }
.info-card p { font-size: 0.87rem; color: var(--cream-dim); line-height: 1.75; }

/* ── 18. Contact ── */
.contact-section { padding: 5.5rem 2.5rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 5rem;
  max-width: 960px;
  margin: 0 auto;
  align-items: start;
}

.form-group { margin-bottom: 1.5rem; }

label {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

input, textarea, select {
  width: 100%;
  background: var(--surface);
  border: 1px solid rgba(200, 150, 58, 0.2);
  color: var(--cream);
  padding: 0.85rem 1rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  border-radius: 0;
}
input::placeholder, textarea::placeholder { color: var(--cream-dim); opacity: 0.5; }
input:focus, textarea:focus, select:focus { border-color: var(--gold); }

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C8963A' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
select option { background: var(--surface); color: var(--cream); }

textarea { resize: vertical; min-height: 150px; }

.contact-info h3 { font-size: 1.4rem; color: var(--cream); margin-bottom: 1.2rem; }
.contact-info p { font-size: 0.92rem; color: var(--cream-dim); line-height: 1.85; margin-bottom: 1rem; }
.contact-info a { color: var(--gold); text-decoration: none; }
.contact-info a:hover { color: var(--gold-light); }

.contact-divider {
  height: 1px;
  background: var(--border);
  margin: 1.5rem 0;
}

.contact-social h4 {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
  font-family: 'Lato', sans-serif;
}
.contact-social-links { display: flex; flex-direction: column; gap: 0.6rem; }
.contact-social-links a {
  font-size: 0.9rem;
  color: var(--cream-dim);
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.contact-social-links a:hover { color: var(--gold); }

/* ── 19. Footer ── */
footer {
  background: var(--bg);
  border-top: 1px solid rgba(200, 150, 58, 0.1);
  padding: 4rem 2.5rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(200, 150, 58, 0.08);
}

.footer-logo {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cream);
  text-decoration: none;
  display: block;
  margin-bottom: 1rem;
}
.footer-logo span { color: var(--gold); }
.footer-brand p { font-size: 0.87rem; color: var(--cream-dim); line-height: 1.75; max-width: 240px; }

.footer-col h4 {
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--cream-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-col p { font-size: 0.87rem; color: var(--cream-dim); line-height: 1.75; }

.footer-bottom {
  max-width: 1100px;
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--cream-dim);
  opacity: 0.45;
  flex-wrap: wrap;
  gap: 0.5rem;
}
/* keep the privacy link understated to match the muted footer strip */
.footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover { color: var(--gold-light); }

/* ── 20. Responsive ── */
@media (max-width: 960px) {
  .story-grid   { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: rgba(13, 22, 16, 0.98);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 0.8rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-menu.open   { display: flex; }
  .nav-toggle      { display: block; }

  .hero            { padding: 4rem 1.5rem; min-height: 80vh; }
  .page-header     { padding: 4.8rem 1.5rem 4.2rem; }
  .section-pad     { padding: 4rem 1.5rem; }
  .mushroom-grid   { grid-template-columns: 1fr 1fr; }
  .market-grid     { grid-template-columns: 1fr; max-width: 400px; }
  .footer-grid     { grid-template-columns: 1fr; }
  .footer-brand p  { max-width: 100%; }
  .info-grid       { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .mushroom-grid   { grid-template-columns: 1fr; }
  .value-grid      { grid-template-columns: 1fr; }
  .btn-row         { flex-direction: column; }
  .btn             { text-align: center; }
}
