/* =============================================
   HAZY'S WOOD – Shared Stylesheet
   Warm timber palette · Organic editorial style
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --timber:    #5C3A1E;
  --grain:     #8B5E3C;
  --cream:     #F5EFE6;
  --sand:      #E8D9C4;
  --resin:     #2E6B5E;
  --resin-lt:  #4A9B8A;
  --charcoal:  #1E1A17;
  --mist:      #F9F5F0;
  --accent:    #C17A3A;
  --white:     #FFFFFF;
  --radius:    4px;
  --max:       1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--mist);
  color: var(--charcoal);
  line-height: 1.7;
  font-weight: 300;
}

/* ── NAV ──────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--charcoal);
  border-bottom: 2px solid var(--grain);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--sand);
  text-decoration: none;
  letter-spacing: .04em;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex; gap: 1.6rem; list-style: none;
}
.nav-links a {
  color: var(--sand);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .8;
  transition: opacity .2s, color .2s;
}
.nav-links a:hover,
.nav-links a.active { opacity: 1; color: var(--accent); }

.nav-whatsapp {
  display: flex; align-items: center; gap: .45rem;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 500;
  padding: .45rem .9rem;
  border-radius: 2rem;
  letter-spacing: .04em;
  transition: background .2s;
}
.nav-whatsapp:hover { background: #1ea854; }
.nav-whatsapp svg { flex-shrink: 0; }

/* ── HERO BANNER ────────────────────────── */
.page-hero {
  background: var(--timber);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%238B5E3C' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  padding: 4.5rem 2rem 3.5rem;
  text-align: center;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: .8rem;
}
.page-hero p {
  color: var(--sand);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto;
  opacity: .85;
}

/* ── SECTIONS ───────────────────────────── */
.section { padding: 4rem 2rem; max-width: var(--max); margin: 0 auto; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--timber);
  margin-bottom: 1.6rem;
  position: relative;
  padding-bottom: .6rem;
}
.section-title::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 48px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* ── IMAGE PLACEHOLDER ──────────────────── */
.img-placeholder {
  background: var(--sand);
  border: 2px dashed var(--grain);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  color: var(--grain);
  font-size: .85rem;
  font-weight: 400;
  text-align: center;
  padding: 1.5rem;
}
.img-placeholder svg { opacity: .45; }
.img-placeholder .img-seo-label {
  font-size: .72rem;
  color: var(--grain);
  opacity: .7;
  font-style: italic;
}

/* alt text / SEO caption below placeholder */
.img-meta {
  margin-top: .5rem;
  font-size: .78rem;
  color: var(--grain);
  font-style: italic;
}
.img-meta strong { color: var(--timber); font-style: normal; }

/* ── GRID LAYOUTS ───────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.8rem; }

/* ── CARD ───────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(92,58,30,.08);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(92,58,30,.14); }
.card-body { padding: 1.2rem 1.4rem 1.6rem; }
.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--timber);
  margin-bottom: .4rem;
}
.card-desc { font-size: .88rem; opacity: .75; line-height: 1.6; }

/* ── BUTTONS ────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.8rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: background .2s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--timber); color: var(--cream); }
.btn-primary:hover { background: var(--grain); }
.btn-resin   { background: var(--resin);  color: #fff; }
.btn-resin:hover { background: var(--resin-lt); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--timber);
  color: var(--timber);
}
.btn-outline:hover { background: var(--timber); color: var(--cream); }

/* ── WHATSAPP FLOATING ──────────────────── */
.whatsapp-float {
  position: fixed; bottom: 1.8rem; right: 1.8rem; z-index: 200;
  background: #25D366;
  color: #fff;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.6);
}

/* ── FOOTER ─────────────────────────────── */
footer {
  background: var(--charcoal);
  color: var(--sand);
  text-align: center;
  padding: 2.5rem 2rem;
  font-size: .82rem;
  opacity: .9;
  margin-top: 4rem;
}
footer a { color: var(--accent); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ── PODCAST EMBED ──────────────────────── */
.podcast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.6rem;
}
.podcast-card {
  background: var(--white);
  border-left: 4px solid var(--resin);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  transition: transform .2s;
}
.podcast-card:hover { transform: translateY(-3px); }
.podcast-card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--timber);
  margin-bottom: .4rem;
}
.podcast-card p { font-size: .87rem; opacity: .75; margin-bottom: .9rem; }
.ep-number {
  display: inline-block;
  background: var(--resin);
  color: #fff;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .08em;
  padding: .2rem .6rem;
  border-radius: 2rem;
  margin-bottom: .5rem;
}

@media (max-width: 700px) {
  .nav-links { display: none; }
  .page-hero { padding: 3rem 1.2rem 2.5rem; }
  .section { padding: 2.5rem 1.2rem; }
}

/* ── LOGO IMAGE IN NAV ───────────────────── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: .55rem;
}
.nav-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.3));
}

/* ── LOGO ON LIGHT BG (hero / about sections) ── */
.logo-amber {
  width: 80px;
  height: 80px;
  object-fit: contain;
}
.logo-large {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

/* ── HERO LOGO ───────────────────────────── */
.hero-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 1.2rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.35));
}
