/* ============================================================
   Burnham Fish and Chips — clean static site
   Palette & fonts carried over from the original theme.
   ============================================================ */

:root {
  --primary: #1a4548;      /* dark teal */
  --primary-dark: #123234;
  --secondary: #ffe2c7;    /* warm cream */
  --accent: #f4c231;       /* award yellow */
  --ink: #17201f;
  --muted: #5c6b6a;
  --paper: #ffffff;
  --paper-alt: #f6f6f4;
  --line: #e4e6e3;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .10);
  --wrap: 1120px;
  --font-head: "Source Serif Pro", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--primary); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 .5em;
  color: var(--primary-dark);
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }

p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

.section { padding: 72px 0; }
.section--alt { background: var(--paper-alt); }
.section--teal { background: var(--primary); color: #eaf3f2; }
.section--teal h2, .section--teal h3 { color: #fff; }

.center { text-align: center; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-body);
  margin: 0 0 .6rem;
}
.section--teal .eyebrow { color: var(--accent); }

.lead { font-size: 1.18rem; color: var(--muted); max-width: 720px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform .12s ease, background .2s ease, color .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #2a2100; }
.btn--primary:hover { background: #ffd54a; }
.btn--outline { background: transparent; border-color: #fff; color: #fff; }
.btn--outline:hover { background: #fff; color: var(--primary); }
.btn--dark { background: var(--primary); color: #fff; }
.btn--dark:hover { background: var(--primary-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.brand {
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.1;
}
.brand span { display: block; font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); font-family: var(--font-body); font-weight: 700; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a.active { border-bottom-color: var(--accent); color: var(--primary); }
.nav .btn { color: #2a2100; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--primary); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 120px 0 130px;
  background:
    linear-gradient(rgba(18, 50, 52, .72), rgba(18, 50, 52, .82)),
    url("../images/shopfront-family.jpg") center 30% / cover no-repeat;
}
.hero h1 { color: #fff; margin-bottom: .3em; }
.hero .eyebrow { color: var(--accent); }
.hero p { font-size: 1.25rem; max-width: 620px; margin: 0 auto 1.8rem; color: #f0f6f5; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero--slim { padding: 84px 0 76px; }

/* ---------- Generic grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.section--teal .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #eaf3f2; }
.card h3 { margin-top: 0; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Awards ---------- */
.awards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.award {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
}
.award .year { font-family: var(--font-head); font-size: 2.6rem; color: var(--accent); line-height: 1; }
.award .place { margin-top: .4rem; font-weight: 600; letter-spacing: .02em; }
.badges { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 34px; }
.badge {
  background: var(--secondary);
  color: var(--primary-dark);
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: .98rem;
}

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.review .stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 10px; }
.review p { font-size: 1rem; color: #2e3a39; }
.review .who {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  font-weight: 700;
  color: var(--primary);
}
.review .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 1rem;
  font-family: var(--font-head);
}

/* ---------- Stand-by (values) ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value { text-align: center; }
.value img { margin: 0 auto 18px; max-height: 96px; width: auto; }
.value .msc { max-height: 70px; }

/* ---------- Opening hours ---------- */
.hours-wrap { max-width: 640px; margin: 0 auto; }
.hours {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hours th, .hours td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.hours thead th { background: var(--primary); color: #fff; font-weight: 700; }
.hours th:first-child { width: 34%; }
.hours td.closed { color: #b23b3b; font-weight: 600; }
.hours tr:last-child td { border-bottom: 0; }
.hours tbody th { font-weight: 700; color: var(--primary-dark); }

/* ---------- Menu ---------- */
.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 56px; }
.menu-cat h3 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 8px;
  margin-bottom: 14px;
  color: var(--primary-dark);
}
.menu-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dotted #d7dbd8;
}
.menu-item:last-child { border-bottom: 0; }
.menu-item .name { font-weight: 600; }
.menu-item .dots { flex: 1; border-bottom: 1px dotted #c3c9c5; transform: translateY(-4px); }
.menu-item .price { font-weight: 700; color: var(--primary); font-variant-numeric: tabular-nums; }
.menu-note { text-align: center; margin-top: 40px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-list .ico { font-size: 1.3rem; }
.info-list strong { display: block; color: var(--primary-dark); }
.info-list a { text-decoration: none; }
.map-frame { border: 0; width: 100%; height: 380px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary-dark); color: #cfe0de; padding: 56px 0 28px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.site-footer h4 { color: #fff; font-family: var(--font-head); margin-bottom: .6rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 5px 0; }
.site-footer .brand { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  margin-top: 40px;
  padding-top: 20px;
  font-size: .9rem;
  color: #9fb6b3;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- CTA strip ---------- */
.cta {
  background: var(--accent);
  color: #2a2100;
  text-align: center;
  padding: 56px 0;
}
.cta h2 { color: #2a2100; }
.cta .btn--dark { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .awards, .reviews, .values, .menu-grid,
  .footer-grid, .contact-grid { grid-template-columns: 1fr; }
  .grid-2, .split { grid-template-columns: 1fr; }
  .split img { order: -1; }
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 10px 22px 20px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; justify-content: center; border-bottom: 2px solid transparent; }
  .nav-toggle { display: block; }
}

@media (max-width: 560px) {
  body { font-size: 17px; }
  .section { padding: 54px 0; }
  .hero { padding: 90px 0 96px; }
  .footer-bottom { flex-direction: column; }
}
