/* ==========================================================================
   Dekonti: Cook, Chat and Chew the Liberian Way
   Site stylesheet
   ========================================================================== */

:root {
  --burgundy: #5c1a2e;
  --burgundy-dark: #3f0f20;
  --gold: #c9a24a;
  --gold-light: #e9d9ac;
  --cream: #faf5ea;
  --cream-alt: #f3ead6;
  --ink: #2b2320;
  --ink-soft: #56483f;
  --white: #ffffff;
  --max-width: 1180px;
  --shadow: 0 10px 30px rgba(43, 20, 12, 0.12);
  --radius: 6px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  color: var(--burgundy);
  line-height: 1.25;
  margin: 0 0 0.6em 0;
  font-weight: 700;
}

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

p { margin: 0 0 1.1em 0; }

a { color: var(--burgundy); text-decoration: none; }

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

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

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--burgundy);
  color: var(--white);
  padding: 10px 16px;
  z-index: 999;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 245, 234, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(92, 26, 46, 0.12);
}

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

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--burgundy);
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.brand small {
  display: block;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 3px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--burgundy);
  border-radius: 4px;
  width: 42px;
  height: 38px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--burgundy);
}

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

.main-nav a {
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--burgundy);
  border-bottom-color: var(--gold);
}

.main-nav .btn-buy {
  background: var(--burgundy);
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: 999px;
  border-bottom: none !important;
  white-space: nowrap;
  flex-shrink: 0;
}
.main-nav .btn-buy:hover { background: var(--burgundy-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 2px solid var(--burgundy);
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--burgundy);
  color: var(--white);
}
.btn-primary:hover { background: var(--burgundy-dark); border-color: var(--burgundy-dark); }
.btn-outline {
  background: transparent;
  color: var(--burgundy);
}
.btn-outline:hover { background: var(--burgundy); color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 76px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.75fr;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}
.hero-copy p.lede {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 46ch;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 26px; }
.hero-image {
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
  justify-self: center;
  max-width: 320px;
}

/* ---------- Sections ---------- */
section { padding: 68px 0; }
.section-alt { background: var(--cream-alt); }
.section-header { max-width: 680px; margin: 0 auto 42px; text-align: center; }
.section-header .kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}

/* ---------- Feature / split rows ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split.reverse .split-media { order: -1; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.gallery img { aspect-ratio: 3/4; object-fit: cover; width: 100%; transition: transform 0.4s ease; }
.gallery a:hover img { transform: scale(1.04); }
.gallery figure a { display: block; }

/* ---------- Dishes page ---------- */
.dish-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.dish-card { text-align: center; }
.dish-card figure {
  margin: 0 0 16px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.dish-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.dish-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--burgundy);
  font-size: 1.2rem;
  margin: 0 0 4px;
}
.dish-card p { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
}
.testimonial-card .quote-mark {
  font-family: "Playfair Display", serif;
  font-size: 2.6rem;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}
.testimonial-card p.quote { font-style: italic; color: var(--ink-soft); }
.testimonial-card .who { font-weight: 700; color: var(--burgundy); font-size: 0.92rem; }
.testimonial-card .role { font-size: 0.82rem; color: var(--ink-soft); }

/* ---------- Cover + portrait shots: shown in full, just displayed smaller ---------- */
.cover-shot {
  width: 100%;
  max-width: 320px;
  height: auto;
}
.portrait-shot {
  width: 100%;
  max-width: 320px;
  height: auto;
}

/* ---------- Author bio ---------- */
.author-portrait-frame {
  border: 8px solid var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  max-width: 320px;
}
.pull-quote {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--burgundy);
  border-left: 3px solid var(--gold);
  padding-left: 22px;
  margin: 30px 0;
}

/* ---------- Video ---------- */
.video-frame {
  max-width: 860px;
  margin: 0 auto;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}
.video-frame video { width: 100%; display: block; background: #000; }

/* ---------- Coming soon / Buy page ---------- */
.coming-soon-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--burgundy-dark);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.buy-grid {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 56px;
  align-items: center;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
}
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px;
}
.contact-info-card p { margin-bottom: 0.5em; }
.contact-info-card .label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  color: var(--gold);
  font-weight: 700;
  margin-top: 20px;
}
form.contact-form label {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  margin-bottom: 6px;
  margin-top: 16px;
}
form.contact-form input,
form.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(92,26,46,0.25);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
}
form.contact-form textarea { min-height: 130px; resize: vertical; }
form.contact-form button { margin-top: 22px; }
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--burgundy-dark);
  color: var(--gold-light);
  padding: 48px 0 28px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}
.site-footer h4 {
  color: var(--white);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.site-footer a { color: var(--gold-light); }
.site-footer a:hover { color: var(--white); }
.site-footer p { color: rgba(233, 217, 172, 0.85); }
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(233, 217, 172, 0.2);
  padding-top: 20px;
  font-size: 0.8rem;
  color: rgba(233, 217, 172, 0.65);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Sound toggle ---------- */
.sound-toggle {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--white);
  border: none;
  box-shadow: var(--shadow);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.sound-toggle:hover { background: var(--burgundy-dark); }
.sound-toggle .icon-off { display: none; }
.sound-toggle.is-muted .icon-on { display: none; }
.sound-toggle.is-muted .icon-off { display: block; }

/* ---------- Misc ---------- */
.center { text-align: center; }
.tag-liberia {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.06em;
}
.divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 18px auto 0;
}
.divider.left { margin-left: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) and (min-width: 761px) {
  .main-nav ul { gap: 14px; }
  .main-nav a { font-size: 0.76rem; }
  .main-nav .btn-buy { padding: 8px 12px; }
  .brand small { display: none; }
}

@media (max-width: 900px) {
  .hero-grid, .split, .split.reverse .split-media, .buy-grid, .contact-grid { grid-template-columns: 1fr; }
  .split .split-media { order: -1 !important; }
  .footer-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .dish-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(92,26,46,0.12);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px 26px;
    gap: 16px;
  }
  .main-nav .btn-buy { margin-top: 8px; }
  .dish-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}
