/* ============================================================
   CHIPPY TEMPLATE — Fish & Chip Shop
   Palette: navy #0f2137 | gold #c8820a | cream #f5f0e8
   Fonts: Playfair Display (headings) | Inter (body)
   ============================================================ */

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

:root {
  --navy:   #0f2137;
  --navy2:  #162d47;
  --gold:   #c8820a;
  --gold-l: #e09d2a;
  --cream:  #f5f0e8;
  --cream2: #ede6d8;
  --text:   #2c2c2c;
  --text-m: #555;
  --white:  #ffffff;
  --radius: 8px;
  --shadow: 0 4px 20px rgba(0,0,0,.12);
  --transition: .25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
address { font-style: normal; }

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

.section { padding: 80px 0; }

.section__label {
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.section__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 24px;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}
.btn--gold {
  background: var(--gold);
  color: var(--white);
}
.btn--gold:hover {
  background: var(--gold-l);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,130,10,.35);
}
.btn--outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--navy);
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 16px rgba(0,0,0,.3);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav__logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav__links a {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--gold-l); }
.nav__cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-weight: 600 !important;
}
.nav__cta:hover { background: var(--gold-l) !important; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--navy2);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,33,55,.88) 0%, rgba(15,33,55,.6) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  padding: 100px 0 60px;
  color: var(--white);
}
.hero__est {
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-l);
  margin-bottom: 12px;
}
.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
}
.hero__tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,.82);
  max-width: 520px;
  margin-bottom: 20px;
  font-weight: 300;
}
.hero__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
  font-size: .9rem;
  color: rgba(255,255,255,.8);
}
.hero__stars { color: #fbbf24; font-size: 1rem; letter-spacing: 2px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- ABOUT ---- */
.about { background: var(--cream); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about__image-wrap { position: relative; }
.about__image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--navy);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}
.about__text p { color: var(--text-m); line-height: 1.8; margin-bottom: 28px; }
.about__badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 500;
}
.badge__icon { font-size: 1.1rem; }

/* ---- MENU ---- */
.menu { background: var(--white); }
.menu .section__title { text-align: center; }
.menu .section__label { text-align: center; }
.menu__tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.menu__tab {
  padding: 8px 22px;
  border: 2px solid var(--navy);
  background: transparent;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: all var(--transition);
}
.menu__tab:hover,
.menu__tab--active {
  background: var(--navy);
  color: var(--white);
}
.menu__items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
/* Menu item cards (generated via {{MENU_HTML}}) */
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 18px 20px;
  border: 1px solid var(--cream2);
  border-radius: var(--radius);
  transition: box-shadow var(--transition);
}
.menu-item:hover { box-shadow: var(--shadow); }
.menu-item__name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.menu-item__desc {
  font-size: .82rem;
  color: var(--text-m);
}
.menu-item__price {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--gold);
  white-space: nowrap;
  margin-left: 16px;
}
.menu-item[data-category] { transition: opacity .2s, transform .2s; }
.menu-item.hidden { display: none; }

/* ---- HOURS & LOCATION ---- */
.hours { background: var(--navy); color: var(--white); }
.hours .section__title { color: var(--white); }
.hours__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.hours__table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}
.hours__table td {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: .95rem;
  color: rgba(255,255,255,.82);
}
.hours__table td:last-child {
  text-align: right;
  font-weight: 500;
  color: var(--gold-l);
}
.hours__table-highlight td { color: var(--white) !important; font-weight: 600; }
.location__address { margin: 8px 0 24px; line-height: 2; }
.location__address a { color: var(--gold-l); transition: color var(--transition); }
.location__address a:hover { color: var(--white); }
.location__map {
  background: var(--navy2);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  color: rgba(255,255,255,.5);
  font-size: .9rem;
}

/* ---- CONTACT ---- */
.contact { background: var(--cream); }
.contact__inner { max-width: 680px; margin: 0 auto; text-align: center; }
.contact__inner .section__title { text-align: center; }
.contact__form { text-align: left; margin-top: 36px; }
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form__group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form__group label { font-size: .85rem; font-weight: 600; color: var(--navy); }
.form__group input,
.form__group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--cream2);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  background: var(--white);
  transition: border-color var(--transition);
  resize: vertical;
}
.form__group input:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.contact__form .btn { margin-top: 8px; }
.form__status {
  margin-top: 14px;
  font-size: .9rem;
  color: var(--gold);
  min-height: 1.4em;
}

/* ---- FOOTER ---- */
.footer { background: var(--navy); color: rgba(255,255,255,.7); }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 48px 0 32px;
}
.footer__name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 4px;
}
.footer__tagline { font-size: .85rem; color: rgba(255,255,255,.5); }
.footer__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__links a {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--gold-l); }
.footer__social {
  display: flex;
  gap: 14px;
}
.footer__social a {
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer__social a:hover { color: var(--gold-l); }
.footer__bottom {
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .82rem;
  text-align: center;
  color: rgba(255,255,255,.35);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 5%;
    gap: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
  }
  .nav__links.open { display: flex; }
  .nav__burger { display: flex; }

  .about__grid,
  .hours__grid { grid-template-columns: 1fr; gap: 40px; }

  .form__row { grid-template-columns: 1fr; }

  .footer__inner { flex-direction: column; align-items: flex-start; }

  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: max-content; }

  .section { padding: 56px 0; }
}

@media (max-width: 480px) {
  .menu__items { grid-template-columns: 1fr; }
  .about__badges { flex-direction: column; }
}
