/* ============================================================
   BOOKS ON THE BEACH — Stylesheet
   Colors: Yellow #F9BD00 | Navy #161820
   Font: Playfair Display (serif) + Inter (sans)
   ============================================================ */

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

:root {
  --yellow: #F9BD00;
  --yellow-dark: #e0a900;
  --navy: #161820;
  --navy-mid: #252836;
  --white: #ffffff;
  --off-white: #fdf8ee;
  --text: #2a2a2a;
  --text-light: #666;
  --radius: 6px;
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--yellow);
}

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

/* ── UTILITIES ── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(22, 24, 32, 0.1);
  padding: 0.3em 0.8em;
  border-radius: 99px;
  margin-bottom: 1rem;
}

.section-label--light {
  color: var(--yellow);
  background: rgba(249, 189, 0, 0.15);
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--navy);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn-dark {
  background: var(--navy);
  color: var(--yellow);
  border-color: var(--navy);
}
.btn-dark:hover { background: var(--navy-mid); border-color: var(--navy-mid); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--yellow); }

.btn-yellow {
  background: var(--yellow);
  color: var(--navy);
  border-color: var(--yellow);
}
.btn-yellow:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); }

.btn-outline-yellow {
  background: transparent;
  color: var(--yellow);
  border-color: var(--yellow);
}
.btn-outline-yellow:hover { background: var(--yellow); color: var(--navy); }

.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.8rem; }

/* ── NAV ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--yellow);
  border-bottom: 1px solid rgba(22,24,32,0.1);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 12px rgba(22,24,32,0.12); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

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

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

.nav-links a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  transition: opacity var(--transition);
}
.nav-links a:hover { opacity: 0.65; }

.nav-cta {
  background: var(--navy);
  color: var(--yellow) !important;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius);
}
.nav-cta:hover { opacity: 1 !important; background: var(--navy-mid); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ── HERO ── */
.hero {
  background: var(--yellow);
  padding: 140px 0 0;
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
}

.hero-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 4rem;
}

.hero-logo {
  width: min(680px, 90vw);
  margin: 0 auto 1.75rem;
}

.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--navy);
  margin-bottom: 2.5rem;
  opacity: 0.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-wave {
  line-height: 0;
}
.hero-wave svg {
  width: 100%;
  height: 80px;
  display: block;
}

/* ── ABOUT ── */
.about {
  background: var(--navy);
  padding: 6rem 0;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text h2 { color: var(--yellow); }

.about-text p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 1rem;
  font-size: 0.975rem;
}

.about-text .section-label {
  color: var(--yellow);
  background: rgba(249,189,0,0.12);
}

.listen-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.badge-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid rgba(249,189,0,0.35);
  border-radius: var(--radius);
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: border-color var(--transition), color var(--transition);
}
.badge-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.badge-link:hover { border-color: var(--yellow); color: var(--yellow); }

.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-animation {
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
}

/* ── EPISODES ── */
.episodes {
  background: var(--navy-mid);
  padding: 6rem 0;
}

.episodes h2 { color: var(--white); }

.episodes-grid {
  margin-top: 2.5rem;
}

.episode-card--placeholder {
  background: rgba(255,255,255,0.04);
  border: 1px dashed rgba(249,189,0,0.25);
  border-radius: 10px;
  padding: 3rem 2rem;
  max-width: 540px;
}

.episode-num {
  font-family: 'Playfair Display', serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.75rem;
}

.episode-card--placeholder p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.episode-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ── CONTACT ── */
.contact {
  background: var(--yellow);
  padding: 6rem 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact-intro h2 { color: var(--navy); }

.contact-intro p {
  color: rgba(22,24,32,0.7);
  font-size: 0.975rem;
}

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(22,24,32,0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  padding: 0.7rem 0.9rem;
  border: 1.5px solid #e0ddd5;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--off-white);
  transition: border-color var(--transition);
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
}

.form-group input.error,
.form-group textarea.error { border-color: #c0392b; }

.form-status {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.form-status.success { color: #1a7a4a; }
.form-status.error { color: #c0392b; }

/* ── FOOTER ── */
.site-footer {
  background: var(--navy);
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo {
  height: 40px;
  width: auto;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}
.footer-nav a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--yellow); }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .about-inner,
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }

  .about-visual { order: -1; }
  .about-animation { max-width: 280px; }

  .contact-form { padding: 1.75rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: fixed;
    inset: 64px 0 0 0;
    background: var(--yellow);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.1rem; }
  .nav-toggle { display: flex; }

  .hero { padding-top: 100px; min-height: auto; }
  .hero-inner { padding: 2rem 0 3rem; }
}
