/*
 * site.css: the only stylesheet for bombaybridgford.co.uk.
 *
 * Sections, in order:
 *   1. Tokens        colours, fonts, spacing, breakpoints (custom properties)
 *   2. Fonts         @font-face for self-hosted fonts
 *   3. Base          reset and element defaults
 *   4. Layout        container, sections, columns
 *   5. Components    one block per component: "=== Component: <name> ==="
 *   6. Pages         rare page-specific rules: "=== Page: <path> ==="
 *   7. Utilities     a handful of helpers
 *
 * Breakpoints (the original's Elementor breakpoints; media queries can't use custom properties):
 *   mobile  ≤ 767px    tablet 768px–1024px    desktop ≥ 1025px
 *   The header collapses to the burger menu at ≤ 1024px (as the June 2026 header did).
 *
 * Header and footer are restored from the Internet Archive capture of 11 Jun 2026
 * (see SITE.md "Restored from the archive"). Page bodies follow the live site (Oct 2026).
 *
 * Editing: change tokens to restyle the site; add new components as new blocks;
 * add modifier classes (.tile--x) instead of changing a component for one page.
 */

/* ============ 1. Tokens ============ */
:root {
  /* Colours (from the original's Elementor CSS and computed styles) */
  --color-dark: #221f2a;          /* header when scrolled, footer gradient start, copyright text */
  --color-dark-2: #352f3d;        /* footer gradient end */
  --color-ink: #181818;           /* About Us text; Our Food section background */
  --color-gold: #e69d3e;          /* hero heading, social icons */
  --color-gold-hover: #e8a346;    /* nav hover / current page */
  --color-gold-label: #e7a142;    /* footer labels (ADDRESS, PHONE...) */
  --color-rose: #d59e9e;          /* hero sub-heading */
  --color-white: #ffffff;
  --color-black: #000000;
  --color-divider: #7a7a7a;       /* nav "|" dividers (Elementor global text colour) */
  --color-toggle: #33373d;        /* burger icon and dropdown text */
  --color-dropdown-active: #3f444b;
  --color-review-text: #777777;
  --color-review-name: #555555;
  --color-review-quote: #bbbbbb;
  --color-review-dot: #c3c3c3;

  /* Typography */
  --font-body: "Montserrat", Arial, sans-serif;
  --font-nav: "Roboto", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;   /* hero "Bombay Bridgford." (system Georgia, as the original) */
  --font-review: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --text-h2: 3rem;               /* section headings (Elementor 3rem) */
  --text-h2-mobile: 2.2rem;
  --text-banner: 4rem;           /* page banner headings */
  --text-body: 1.2rem;           /* body copy (Elementor 1.2rem / 1.4em) */
  --leading: 1.4;

  /* Spacing and shape */
  --gutter: 10px;                /* Elementor column padding */
  --section-pad: 100px;
  --section-pad-mobile: 50px;
  --container: 1140px;
  --container-wide: 1200px;
  --tile-border: 20px;           /* white frame round image tiles */
  --tile-inset: 5px;             /* black inset line inside the frame */

  /* Motion (match the original's timings) */
  --duration: 300ms;
  --duration-reveal: 1250ms;
  --ease: ease;

  /* Header */
  --topbar-height: 60px;
}

/* ============ 2. Fonts ============ */
/* Google Fonts, self-hosted (latin subset, variable weight files from the original site's Elementor font cache). */
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat-latin-variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("/assets/fonts/roboto-latin-variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* ============ 3. Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 170px; } /* room for the sticky header when jumping to #contact */
@media (max-width: 767px) { html { scroll-padding-top: 240px; } }
body { margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: var(--leading); color: var(--color-black); background: var(--color-white); overflow-x: hidden; }
img, svg, video, iframe { max-width: 100%; }
img, video { height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-body); font-weight: 600; line-height: 1.2; margin: 0; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; transition: color var(--duration) var(--ease); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--color-gold-hover); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ============ 4. Layout ============ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; }
.container--wide { max-width: var(--container-wide); }
.section { padding-block: var(--section-pad); }
@media (max-width: 767px) { .section { padding-block: var(--section-pad-mobile); } }
/* Two equal columns from 768px, stacked below (Elementor columns) */
.cols { display: grid; grid-template-columns: 1fr; }
@media (min-width: 768px) { .cols { grid-template-columns: 1fr 1fr; } }

/* ============ 5. Components ============ */

/* === Component: skip-link === */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 0.5rem 1rem; background: var(--color-white); color: var(--color-black); }
.skip-link:focus { left: 1rem; }

/* === Component: site-topbar (social icons above the header; scrolls away) === */
.site-topbar { background: var(--color-white) url("/wp-content/uploads/2025/07/Background-scaled.png") 0 0 repeat; }
.site-topbar__inner { display: flex; justify-content: flex-end; align-items: center; gap: 5px; min-height: var(--topbar-height); padding: var(--gutter); }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: var(--color-gold); }
.social-link svg { width: 20px; height: 20px; fill: currentColor; }
.social-link:hover { opacity: 0.9; }

/* === Component: site-header (logo + main menu; sticky, dark once scrolled) === */
/* The June 2026 header sat on the site's dark mandala background (Elementor kit body background).
   The same image is drawn here, offset so it continues from the top bar. */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--color-white) url("/wp-content/uploads/2025/07/Background-scaled.png") 0 calc(-1 * var(--topbar-height)) repeat; transition: background-color 0.5s ease; }
.site-header.is-scrolled { background: var(--color-dark); }
.site-header__inner { display: flex; align-items: center; }
.site-header__brand { flex: 0 0 13.595%; padding: var(--gutter); display: flex; justify-content: center; }
.site-header__logo { display: block; }
.site-header__logo img { width: 150px; height: auto; }
.site-header__menu { flex: 1 1 auto; padding: var(--gutter); display: flex; flex-direction: column; align-items: stretch; }

/* Desktop menu: horizontal, right aligned, "|" dividers, text grows on hover (Elementor pointer "text / grow") */
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; }
.site-nav__list > li { display: flex; }
.site-nav__list > li:not(:last-child)::after { content: ""; align-self: center; height: 35%; border-left: 1px solid var(--color-divider); }
.site-nav__list a { display: block; padding: 13px 20px; font-family: var(--font-nav); font-weight: 600; font-size: 1rem; line-height: 20px; color: var(--color-white); transition: color var(--duration), transform var(--duration); }
.site-nav__list a:hover, .site-nav__list a:focus-visible, .site-nav__list a[aria-current="page"] { color: var(--color-gold-hover); }
@media (hover: hover) { .site-nav__list a:hover { transform: scale(1.2); } }

.nav-toggle { display: none; align-self: center; margin: 0 auto; padding: 5.5px; font-size: 22px; line-height: 0; background: rgba(0, 0, 0, 0.05); color: var(--color-toggle); border: 0; border-radius: 3px; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; fill: currentColor; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* Burger menu at ≤ 1024px: the toggle shows, the list drops down in the flow (slide via grid rows) */
@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--duration) var(--ease); }
  .site-nav.is-open { grid-template-rows: 1fr; margin-top: 10px; }
  .site-nav.is-instant { transition: none; }
  .site-nav__inner { overflow: hidden; min-height: 0; }
  .site-nav:not(.is-open) .site-nav__inner { visibility: hidden; transition: visibility 0s var(--duration); }
  .site-nav__list { display: block; background: var(--color-white); }
  .site-nav__list > li { display: block; }
  .site-nav__list > li::after { display: none; }
  .site-nav__list a { padding: 10px 20px; font-weight: 500; font-size: 13px; color: var(--color-toggle); }
  .site-nav__list a:hover, .site-nav__list a:focus-visible, .site-nav__list a[aria-current="page"] { color: var(--color-white); background: var(--color-dropdown-active); transform: none; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .site-header__logo img { width: 100%; max-width: 150px; }
}
/* Mobile: logo centred above the menu button (the June 2026 layout; fixes the current overflowing 654px logo) */
@media (max-width: 767px) {
  .site-header__inner { flex-direction: column; align-items: stretch; }
  .site-header__brand { flex-basis: auto; }
  .site-header__menu { padding-top: 10px; }
}

/* === Component: site-footer ("Where to find us" + map + bottom bar) === */
.site-footer { font-family: var(--font-body); }
.site-footer__main { position: relative; padding-block: var(--section-pad); background: linear-gradient(180deg, var(--color-dark) 0%, var(--color-dark-2) 68%); }
.site-footer__shape { position: absolute; top: -1px; left: 0; width: 100%; overflow: hidden; line-height: 0; pointer-events: none; }
.site-footer__shape svg { display: block; width: calc(100% + 1.3px); height: 30px; fill: var(--color-white); }
.site-footer__heading { padding: var(--gutter) calc(2 * var(--gutter)); font-size: var(--text-h2); line-height: 1; text-transform: uppercase; color: var(--color-white); }
.site-footer__cols { margin-top: 20px; min-height: 400px; padding-inline: var(--gutter); }
.site-footer__info { padding: var(--gutter); font-size: var(--text-body); line-height: var(--leading); color: var(--color-white); }
.site-footer__info p { margin: 1em 0; }
.site-footer__label { color: var(--color-gold-label); font-weight: 700; }
.site-footer__info a:hover { color: var(--color-gold-hover); }
.site-footer__map iframe { display: block; width: 100%; height: 500px; border: 0; }
.site-footer__bar { background: var(--color-white); color: var(--color-black); }
.site-footer__bar-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.site-footer__bar-inner > * { padding: var(--gutter); margin: 0; }
.site-footer__copyright { font-size: var(--text-body); line-height: var(--leading); }
.site-footer__copyright span:first-child { color: var(--color-dark); }
.site-footer__credit { font-size: 1rem; line-height: 1.4; }
.site-footer__credit a { font-weight: 700; color: var(--color-black); }
.site-footer__credit a:hover { color: var(--color-gold); }
@media (max-width: 767px) {
  .site-footer__main { padding: var(--section-pad-mobile) 0 0; }
  .site-footer__heading { padding-inline: var(--gutter); font-size: var(--text-h2-mobile); }
  .site-footer__cols { padding-inline: 0; }
  .site-footer__info { font-size: 1rem; }
  .site-footer__bar-inner { flex-direction: column; align-items: stretch; }
  .site-footer__credit { text-align: right; }
}

/* === Component: section-heading (white or dark uppercase Montserrat) === */
.section-heading { font-size: var(--text-h2); line-height: 1; text-transform: uppercase; color: var(--color-white); }
.section-heading--dark { color: var(--color-ink); }
@media (max-width: 767px) { .section-heading { font-size: var(--text-h2-mobile); } }

/* === Component: page-banner (maroon paisley band with the page heading) === */
.page-banner { padding-block: 100px; background: var(--color-white) url("/wp-content/uploads/2021/06/bg1.jpeg") center right / cover no-repeat; }
.page-banner__heading { padding: 0 var(--gutter); font-size: var(--text-banner); line-height: 1.2; text-transform: uppercase; text-align: center; color: var(--color-white); }

/* === Component: tile (image card with dark overlay, white frame and black inset line) === */
/* Used for the home Book/Order tiles and the News & Offers cards. Set the image with --tile-image. */
.tile { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: stretch; min-height: 500px; margin: 0; padding: 20px; border: var(--tile-border) solid var(--color-white); box-shadow: inset 0 0 0 var(--tile-inset) var(--color-black); background: var(--tile-image) var(--tile-position, center) / cover no-repeat; text-align: center; color: var(--color-white); isolation: isolate; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--color-black); opacity: var(--tile-overlay, 0.6); }
.tile__heading { font-size: var(--text-h2); line-height: 1.2; text-transform: uppercase; color: var(--color-white); }
.tile__heading a:hover { color: var(--color-white); }
.tile__text { margin-top: 20px; font-size: var(--text-body); line-height: var(--leading); display: flow-root; }
.tile__text p { margin: 1em 0; }
.tile__button { display: inline-block; margin-top: 20px; align-self: center; padding: 12px 24px; border-radius: 3px; background: var(--color-white); color: var(--color-black); font-size: 20px; font-weight: 500; line-height: 1; }
.tile__button:hover { color: var(--color-black); opacity: 0.9; }
@media (max-width: 767px) {
  .tile { min-height: 0; }
  .tile__heading { font-size: 2rem; }
}

/* === Component: slider (Swiper; library CSS in /assets/vendor/swiper-14.3.0/) === */
.swiper { --swiper-theme-color: var(--color-white); }

/* === Component: food-carousel ("Our Food": Swiper, 3 / 1 per view, white-framed images, arrows outside, dots below) === */
.food-carousel { position: relative; margin-top: 40px; padding: 0 10px; }
.food-carousel .swiper { width: calc(100% - 60px); padding-bottom: 30px; }
.food-carousel .swiper-slide img { width: 100%; height: auto; border: 10px solid var(--color-white); }
.food-carousel .swiper-button-prev, .food-carousel .swiper-button-next { --swiper-navigation-size: 30px; --swiper-navigation-color: var(--color-white); width: 30px; height: 30px; margin-top: -30px; background: none; border: 0; padding: 0; cursor: pointer; }
.food-carousel .swiper-button-prev { left: 10px; }
.food-carousel .swiper-button-next { right: 10px; }
.food-carousel .swiper-button-prev svg, .food-carousel .swiper-button-next svg { width: 18px; height: 30px; stroke: currentColor; stroke-width: 2.5px; }
.food-carousel .swiper-pagination { bottom: 0; }
.food-carousel .swiper-pagination-bullet { --swiper-pagination-color: var(--color-white); --swiper-pagination-bullet-inactive-color: var(--color-white); --swiper-pagination-bullet-size: 6px; --swiper-pagination-bullet-horizontal-gap: 6px; }

/* === Component: reviews (TripAdvisor reviews frozen as static HTML; Swiper, 6 per slide, 2 columns ≥ 993px) === */
.reviews { position: relative; font-family: var(--font-review); }
.reviews .swiper { overflow: hidden; }
.reviews__grid { display: grid; grid-template-columns: 1fr; padding: 0 28px; }
@media (min-width: 993px) { .reviews__grid { grid-template-columns: 1fr 1fr; } }
.review { margin: 10px 0 20px; padding: 0 8px; }
.review__bubble { position: relative; margin: 0 0 25px; padding: 20px 20px 20px 48px; background: var(--color-white); border: 1px solid #f5f5f5; box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.098); }
.review__bubble::before { content: "\201C"; position: absolute; top: -5px; left: 15px; font: 60px/96px Georgia, serif; color: var(--color-review-quote); }
.review__bubble::after { content: ""; position: absolute; bottom: -30px; left: 80px; width: 30px; height: 30px; border-top: 30px solid var(--color-white); border-right: 30px solid transparent; filter: drop-shadow(2px 2px 1px rgba(0, 0, 0, 0.098)); }
.review__text { margin: 0 0 10px; font-style: italic; font-size: 14px; line-height: 22.4px; color: var(--color-review-text); }
.review__title { font-weight: 700; text-transform: capitalize; }
.review__more { display: inline; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.review__more-text { transition: opacity 1s; }
.js .review__more-text.is-hidden { display: none; }
html:not(.js) .review__more { display: none; }
.review__source { position: absolute; right: 4px; bottom: 4px; width: 32px; height: 32px; }
.review__source img { width: 32px; height: 32px; }
.review__author { display: flow-root; font-size: 13px; line-height: 20.8px; color: var(--color-review-name); text-transform: uppercase; }
.review__avatar { float: left; width: 100px; height: auto; margin: 0 20px; border-radius: 50%; }
.review__name { display: block; padding-top: 8px; overflow: hidden; }
.reviews .swiper-button-prev, .reviews .swiper-button-next { width: 25px; height: 25px; margin-top: -30px; padding: 0; border: 0; border-radius: 32px; background: rgba(0, 0, 0, 0.2) url("/assets/images/slider-arrow.png") 58% 51% / 7px 11px no-repeat; opacity: 0.6; cursor: pointer; transition: opacity 0.2s; }
.reviews .swiper-button-prev::after, .reviews .swiper-button-next::after, .reviews .swiper-button-prev svg, .reviews .swiper-button-next svg { display: none; }
.reviews .swiper-button-prev { left: 4px; transform: rotate(180deg); }
.reviews .swiper-button-next { right: 4px; }
.reviews .swiper-button-prev:hover, .reviews .swiper-button-next:hover { opacity: 1; }
.reviews .swiper-pagination { position: static; margin-top: 8px; line-height: 0; }
.reviews .swiper-pagination-bullet { width: 9px; height: 9px; margin: 0 5px; opacity: 1; background: transparent; border: 1px solid var(--color-review-dot); }
.reviews .swiper-pagination-bullet-active { background: var(--color-review-dot); }

/* === Component: gallery (GLightbox opens a.glightbox links) === */
.glightbox { display: block; }

/* === Component: map === */
.map { display: block; width: 100%; height: 500px; border: 0; }

/* === Component: contact-email (replaces WordPress forms; not used on this site: it had no forms) === */
.contact-email { display: grid; gap: 1rem; justify-items: start; }
.contact-email__address { font-weight: 600; word-break: break-word; }

/* === Component: reveal (GSAP animates these; hidden only once GSAP has loaded) === */
.reveal-ready [data-reveal] { visibility: hidden; }

/* ============ 6. Pages ============ */

/* === Page: / (hero) === */
.hero { padding-block: 50px; background: var(--color-white) url("/wp-content/uploads/2025/07/Background-scaled.png") center right / cover no-repeat; }
.hero__inner { display: grid; grid-template-columns: 1fr; }
@media (min-width: 768px) { .hero__inner { grid-template-columns: 40% 60%; } }
.hero__text { display: flex; flex-direction: column; justify-content: center; }
.hero__title { font-family: var(--font-display); font-size: 4rem; line-height: 1.2; text-transform: uppercase; color: var(--color-gold); }
.hero__subtitle { margin-top: 20px; font-size: 2.2rem; line-height: 1.2; color: var(--color-rose); text-shadow: 0 0 10px rgba(0, 0, 0, 0.3); }
.hero__lead { padding: 0 20px 0 0; font-size: 1.6rem; line-height: 1.4; color: var(--color-white); display: flow-root; }
.hero__lead p { margin: 1em 0; }
.hero__media { display: flex; justify-content: flex-start; align-items: flex-start; padding: 0 0 0 106px; }
.hero__media img { width: 500px; }
@media (max-width: 767px) {
  .hero__text { text-align: center; }
  .hero__title { font-size: 2.6rem; }
  .hero__subtitle { font-size: 1.6rem; }
  .hero__lead { font-size: 1rem; }
  .hero__media { margin-top: 20px; }
}

/* === Page: / (Book a table / Order takeaway tiles) === */
.tiles { padding-block: 100px; }
@media (max-width: 767px) {
  .tiles { padding: 50px 0 50px 4px; }
  .tiles .tile { min-height: 230px; }
}

/* === Page: / (Our Food) === */
.food { background: var(--color-ink) url("/wp-content/uploads/2025/07/Background-scaled.png"); }
.food .container { padding: var(--gutter); }

/* === Page: / (About Us + Travelers' Choice badge) === */
.about__wrap { max-width: 1240px; margin-inline: auto; padding-right: 100px; }
.about__text { padding: var(--gutter); }
.about__text .section-heading { margin-bottom: 20px; }
.about__copy { font-size: var(--text-body); line-height: var(--leading); color: var(--color-ink); display: flow-root; }
.about__copy p { margin: 1em 0; }
.about__image { min-height: 50px; background: url("/wp-content/uploads/2021/07/image14.jpg") center / cover no-repeat; }
.about__badge { display: flex; justify-content: center; margin-top: 50px; }
.about__badge img { width: 195px; }
@media (max-width: 767px) {
  .about__wrap { padding-right: 0; }
  .about__text { text-align: left; }
  .about__copy { font-size: 1rem; }
  .about__image { min-height: 250px; margin: 0 var(--gutter); }
}

/* === Page: / (reviews band) === */
.home-reviews { padding-block: var(--gutter); }

/* === Page: /404.html === */
.not-found { padding-inline: var(--gutter); font-size: var(--text-body); line-height: var(--leading); color: var(--color-ink); text-align: center; }
.not-found__links { list-style: none; margin: 1.5em 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5em 2em; }
.not-found__links a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.not-found__links a:hover { color: var(--color-gold); }

/* ============ 7. Utilities ============ */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.text-center { text-align: center; }

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal] { visibility: visible !important; }
}
