/* ==========================================================================
   Biggies Fish & Chips — Thurnscoe, Rotherham
   Theme: warm cream, taupe and black; Oswald headings, Nunito body,
   Playfair Display for the wordmark.
   ========================================================================== */

:root {
  --cream: #fbfaf6;
  --paper: #f2f0e9;
  --taupe: #75716a;
  --taupe-light: #8a867c;
  --taupe-dark: #5b5850;
  --ink: #0b0b0b;
  --green: #0e2412;
  --text: #1f1f1c;
  --muted: #55524b;
  --muted-dim: #7a776f;
  --line: rgba(31, 31, 28, 0.14);
  --radius: 18px;
  --shadow: 0 16px 40px rgba(20, 18, 12, 0.12);
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-head: "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--green);
  line-height: 1.1;
}

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

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  position: relative;
}

.section-title {
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  margin-bottom: 0.8rem;
}

.section-title.center,
.section-sub.center {
  text-align: center;
}

.section-sub {
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 2.6rem;
  font-size: 1.05rem;
}

.section-sub.center {
  margin-inline: auto;
}

/* Four-point sparkle used as a section marker */
.sparkle {
  display: block;
  width: 40px;
  height: 40px;
  margin-bottom: 1.6rem;
  color: var(--ink);
}

.sparkle.center {
  margin-inline: auto;
}

/* Skip link (a11y) */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 999;
  border-radius: 0 0 8px 0;
  font-weight: 700;
}

.skip-link:focus {
  left: 0;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 246, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(20, 18, 12, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 54px;
  height: 54px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
  color: var(--taupe-dark);
}

.brand-tag {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
}

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

.nav-links a {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-family: var(--font-head);
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--paper);
}

.nav-links a.active {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.nav-links a.nav-cta {
  background: var(--taupe);
  color: #fff;
  padding: 0.6rem 1.6rem;
  margin-left: 0.5rem;
}

.nav-links a.nav-cta:hover,
.nav-links a.nav-cta:focus-visible {
  background: var(--taupe-dark);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.5rem 0.65rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 2.4rem;
  border-radius: 16px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--taupe);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--taupe-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
  border-radius: 999px;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--ink);
  color: #fff;
}

/* ==========================================================================
   Marquee band
   ========================================================================== */

.marquee {
  background: var(--taupe);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  padding: 0.55rem 0;
  font-family: var(--font-head);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.marquee-track {
  display: inline-flex;
  animation: marquee 40s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 2.2rem;
  padding-right: 2.2rem;
}

.marquee-track svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.marquee.light {
  background: var(--cream);
  color: var(--taupe-dark);
  border-block: 1px solid var(--line);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  background: var(--cream);
}

.hero-inner {
  text-align: center;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  text-align: left;
}

.hero-logo {
  width: clamp(84px, 9vw, 110px);
  height: auto;
  margin: 0 0 1.4rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 8.5vw, 6.2rem);
  letter-spacing: -0.01em;
  line-height: 0.98;
  color: var(--taupe);
}

.hero h1 .sub {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.34em;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
}

.hero-kicker {
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.9rem;
  align-items: center;
}

.hero-kicker .star {
  color: var(--taupe-light);
  font-style: normal;
}

.hero-tagline {
  margin: 1.1rem 0 0;
  max-width: 560px;
  font-size: clamp(1.02rem, 2vw, 1.15rem);
  color: var(--muted);
}

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

.hero-split .hero-actions,
.hero-split .hero-meta {
  justify-content: flex-start;
}

.hero-meta {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.6rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-meta .dot {
  color: var(--taupe-light);
}

.hero-photo figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--paper);
}

.hero-photo img {
  width: 100%;
  height: auto;
}

.hero-photo figcaption,
.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.2rem 1.1rem 0.9rem;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 11, 11, 0.82) 78%);
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   About
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.about-copy p {
  color: var(--text);
  margin-bottom: 1.1rem;
  max-width: 640px;
}

.about-photo {
  margin: 0;
}

.about-photo img {
  width: 100%;
  border-radius: 4px;
}

.about-photo figcaption {
  margin-top: 0.6rem;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ==========================================================================
   Feature cards
   ========================================================================== */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--ink);
  color: var(--ink);
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--muted);
  font-size: 0.97rem;
}

/* ==========================================================================
   Menu highlights (taupe panel)
   ========================================================================== */

.menu-section {
  background: var(--taupe);
  color: #fff;
}

.menu-section .section-title,
.menu-section .sparkle {
  color: #fff;
}

.menu-section .section-sub {
  color: rgba(255, 255, 255, 0.88);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.2rem;
}

.menu-item {
  border: 2px solid var(--green);
  border-radius: 22px;
  padding: 1.6rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
}

.menu-item h3 {
  font-size: 1.45rem;
  margin-bottom: 0.45rem;
  color: #fff;
}

.menu-item p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.97rem;
}

.menu-cta {
  text-align: center;
  margin-top: 2.6rem;
}

.menu-section .btn-primary {
  background: var(--cream);
  color: var(--ink);
}

.menu-section .btn-primary:hover,
.menu-section .btn-primary:focus-visible {
  background: #fff;
  color: var(--ink);
}

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

@media (max-width: 960px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Black band with the big wordmark
   ========================================================================== */

.cta-band {
  text-align: center;
  padding: clamp(4rem, 10vw, 7rem) 0;
  background: var(--ink);
  color: #fff;
}

.cta-band .wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 10vw, 7.5rem);
  line-height: 1;
  color: var(--taupe-light);
}

.cta-band .hero-kicker {
  justify-content: center;
  color: #fff;
  margin-top: 1rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin: 1.4rem auto 0;
}

.cta-band .btn-primary {
  background: var(--taupe-light);
}

.cta-band .btn-primary:hover,
.cta-band .btn-primary:focus-visible {
  background: var(--cream);
  color: var(--ink);
}

/* ==========================================================================
   Visit / contact
   ========================================================================== */

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.info-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
}

.info-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.info-row:last-child {
  border-bottom: none;
}

.info-row > div:last-child {
  flex: 1;
}

.info-row .card-icon {
  width: 44px;
  height: 44px;
  margin: 0;
  flex: none;
}

.info-row .card-icon svg {
  width: 20px;
  height: 20px;
}

.info-row h3 {
  font-size: 1.3rem;
  margin-bottom: 0.2rem;
}

.info-row p,
.info-row address {
  color: var(--muted);
  font-style: normal;
  font-size: 0.97rem;
}

.hours-list {
  margin-top: 0.4rem;
  font-size: 0.97rem;
  width: 100%;
  max-width: 340px;
}

.hours-list div {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.25rem 0;
  color: var(--muted);
  border-bottom: 1px dashed var(--line);
}

.hours-list div:last-child {
  border-bottom: none;
}

.hours-list dt {
  font-weight: 700;
  color: var(--text);
}

.hours-list dd {
  margin: 0;
  text-align: right;
}

.hours-list .closed dd {
  color: var(--muted-dim);
  font-style: italic;
}

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  min-height: 380px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

/* Contact page hero */
.page-hero {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  background: var(--cream);
}

.page-hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
}

.page-hero h1 span {
  font-family: var(--font-display);
  color: var(--taupe);
}

.page-hero p {
  color: var(--muted);
  max-width: 560px;
  margin: 1rem auto 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 3.5rem 0 2rem;
  --muted: #d6d3cb;
  --muted-dim: #a5a198;
}

.site-footer a {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand img {
  width: 72px;
  height: 72px;
  margin-bottom: 1rem;
  background: #fff;
  border-radius: 50%;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 320px;
}

.site-footer h3 {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.9rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a,
.footer-contact a,
.footer-contact address {
  color: var(--muted);
  font-size: 0.97rem;
  font-style: normal;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #fff;
}

.footer-contact p {
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.97rem;
}

.social-row {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.social-row a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--muted);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.social-row a:hover {
  color: #fff;
  border-color: #fff;
}

.social-row svg {
  width: 19px;
  height: 19px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem 1.5rem;
  color: var(--muted-dim);
  font-size: 0.88rem;
}

.footer-bottom a {
  color: inherit;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .marquee-track {
    animation: none;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 860px) {
  .visit-grid,
  .footer-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 320px;
  }

  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .hero-split .hero-logo,
  .hero-split .hero-tagline {
    margin-inline: auto;
  }

  .hero-split .hero-kicker,
  .hero-split .hero-actions,
  .hero-split .hero-meta {
    justify-content: center;
  }

  .hero-photo figure {
    max-width: 440px;
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 4%;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    text-align: center;
    padding: 0.8rem 1rem;
  }

  .nav-links a.nav-cta {
    margin-left: 0;
    margin-top: 0.3rem;
  }

  .brand-name {
    font-size: 1.35rem;
  }
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list {
  max-width: 820px;
  margin: 2rem auto 0;
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 1.4rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 2rem 1.1rem 0;
  position: relative;
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--green);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  color: var(--taupe);
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  padding: 0 0 1.2rem;
  color: var(--muted);
}

.cta-band a:not(.btn) {
  color: #fff;
}

@media (max-width: 520px) {
  .hero-meta .dot {
    display: none;
  }
}

/* ==========================================================================
   App store badges
   ========================================================================== */

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
  justify-content: center;
}

.hero-split .store-badges {
  justify-content: flex-start;
}

.store-badges a {
  display: inline-block;
  border-radius: 9px;
  transition: transform 0.25s ease;
}

.store-badges a:hover,
.store-badges a:focus-visible {
  transform: translateY(-2px);
}

.store-badges img {
  height: 50px;
  width: auto;
}

@media (max-width: 860px) {
  .hero-split .store-badges {
    justify-content: center;
  }
}

/* Opening hours: collection and delivery side by side */
.hours-table {
  width: 100%;
  margin-top: 0.5rem;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.hours-table th,
.hours-table td {
  padding: 0.3rem 0.4rem;
  text-align: left;
  border-bottom: 1px dashed var(--line);
  color: var(--muted);
  font-weight: 400;
}

.hours-table thead th {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 500;
  color: var(--green);
  border-bottom: 1px solid var(--line);
}

.hours-table tbody th {
  font-weight: 700;
  color: var(--text);
}

.hours-table tr:last-child th,
.hours-table tr:last-child td {
  border-bottom: none;
}

.hours-table .closed td {
  font-style: italic;
  color: var(--muted-dim);
}

@media (max-width: 420px) {
  .hours-table {
    font-size: 0.86rem;
  }

  .hours-table th,
  .hours-table td {
    padding-inline: 0.2rem;
  }
}

.hours-table td {
  white-space: nowrap;
}

@media (max-width: 520px) {
  .info-block {
    padding-inline: 1.1rem;
  }

  .info-row {
    gap: 0.7rem;
  }

  .info-row .card-icon {
    width: 36px;
    height: 36px;
  }
}

.day-short {
  display: none;
}

@media (max-width: 420px) {
  .day-long {
    display: none;
  }

  .day-short {
    display: inline;
  }
}
