/*
 * site.css: the only stylesheet for burghheathtandoori.uk.
 *
 * Sections, in order:
 *   1. Tokens        colours, fonts, spacing (custom properties)
 *   2. Fonts         @font-face for self-hosted fonts
 *   3. Base          reset and element defaults
 *   4. Layout        sidebar offset, split rows, panels
 *   5. Components    one block per component: "=== Component: <name> ==="
 *   6. Pages         page-specific rules: "=== Page: <path> ==="
 *   7. Utilities     a handful of helpers
 *
 * Breakpoints (from the original Elementor CSS; media queries can't use custom properties):
 *   mobile  <= 767px    tablet 768px-1024px    desktop >= 1025px
 *   Desktop: the header is a fixed 360px black sidebar on the left and the page sits beside it.
 *   Tablet/mobile: the header is a black bar at the top with a burger dropdown.
 *
 * Editing: change tokens to restyle the site; add new components as new blocks;
 * add modifier classes (.box--offers) instead of changing a component for one page.
 */

/* ============ 1. Tokens ============ */
:root {
  /* Colours (from the original's Elementor CSS) */
  --color-text: #1d1d1b;          /* body copy, headings in white boxes */
  --color-accent: #eda448;        /* orange: borders, kickers, bands, nav hover/active */
  --color-black: #000000;         /* sidebar, panel base */
  --color-white: #ffffff;
  --color-dropdown-text: #33373d; /* mobile dropdown links, burger icon */
  --color-dropdown-hover: #55595c;
  --color-review-card: #f4f4f4;   /* Trustindex card background */
  --color-review-date: #8a8a8a;

  /* Typography */
  --font-body: "League Spartan", sans-serif;
  --font-accent: "Amaranth", sans-serif;
  --font-button: "Roboto", sans-serif;      /* hero ORDER NOW button only */
  --font-review: "Poppins", sans-serif;     /* review cards (Trustindex used Poppins) */
  --weight-light: 300;
  --weight-heading: 600;
  --leading: 1.6;

  /* Layout */
  --sidebar-width: 360px;
  --box-border: 5px solid var(--color-accent);
  --radius: 3px;

  /* Motion (Elementor default transitions; nav hover 0.4s) */
  --duration: 300ms;
  --duration-nav: 400ms;
  --ease: ease;
}

/* ============ 2. Fonts ============ */
/* Self-hosted Google Fonts (OFL / Apache), latin subset. League Spartan is the variable font (100-900). */
@font-face { font-family: "League Spartan"; src: url("/assets/fonts/league-spartan-latin-variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Amaranth"; src: url("/assets/fonts/amaranth-400-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Amaranth"; src: url("/assets/fonts/amaranth-700-latin.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("/assets/fonts/roboto-latin-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-latin-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-latin-600.woff2") format("woff2"); font-weight: 600; 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; }
body { margin: 0; font-family: var(--font-body); font-weight: var(--weight-light); font-size: 16px; line-height: var(--leading); color: var(--color-text); background: var(--color-white); }
img, svg, video, iframe { max-width: 100%; }
img, video { height: auto; display: block; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 400; }
p { margin: 0; }
a { color: inherit; transition: color var(--duration) var(--ease); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* ============ 4. Layout ============ */
/* The page sits to the right of the fixed sidebar header on desktop. */
@media (min-width: 1025px) {
  body { margin-left: var(--sidebar-width); }
}

/* Split row: columns from 768px (widths via modifiers), stacked on mobile.
   Tablet overrides live with each section, as on the original. */
.split { display: flex; flex-wrap: wrap; }
.split > * { width: 100%; }

/* Backdrop panel: black + backdrop texture with an 86% black wash (Elementor overlay). */
.backdrop { position: relative; isolation: isolate; background-color: var(--color-black); background-image: url("/wp-content/uploads/2023/04/backdrop.jpg"); }
.backdrop--cover { background-size: cover; }
.backdrop::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--color-black); opacity: 0.86; }
.backdrop--85::before { opacity: 0.85; }

/* Photo panel: background image, cover, centred, with a 40% black overlay. */
.photo-panel { position: relative; isolation: isolate; background-position: center; background-repeat: no-repeat; background-size: cover; }
.photo-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #000; opacity: 0.4; }

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

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

/* === Component: site-header ===
 * Desktop (>= 1025px): fixed 360px black sidebar, full viewport height; logo, vertical nav and
 * address spread with space-between inside 80px/30px padding.
 * Tablet/mobile: black bar, 90px logo on the left, white burger on the right; the menu drops
 * down under the burger, full width, white (0.3s slide).
 */
.site-header { position: relative; z-index: 1000; background: var(--color-black); }
.site-header__inner { display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 80px 30px; }
.site-header__logo { display: block; }
.site-header__logo img { width: 192px; }
.site-header__address { width: 100%; text-align: center; font-size: 20px; font-weight: 500; line-height: 30px; color: var(--color-white); }

.site-nav__list { list-style: none; margin: 0; padding: 0; line-height: 1; }
.site-nav__list a { display: block; font-family: var(--font-accent); font-size: 32px; font-weight: 700; line-height: 1; text-transform: uppercase; text-decoration: none; }

.nav-toggle { display: none; align-items: center; justify-content: center; width: 33px; height: 33px; padding: 0; border: 0; border-radius: var(--radius); background: var(--color-white); color: var(--color-dropdown-text); cursor: pointer; }
.nav-toggle::after { content: ""; position: absolute; inset: -6px; } /* 44px tap target */
.nav-toggle { position: relative; }
.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; }

@media (min-width: 1025px) {
  .site-header { position: fixed; top: 0; left: 0; width: var(--sidebar-width); height: 100vh; overflow-y: auto; }
  .site-header__inner { min-height: 100vh; }
  .site-header__logo { margin-bottom: 20px; }
  .site-nav { width: 100%; margin-bottom: 20px; }
  .site-nav__list { text-align: center; }
  .site-nav__list li:not(:last-child) { margin-bottom: 50px; }
  .site-nav__list a { display: inline-block; color: var(--color-white); transition: color var(--duration-nav) var(--ease); }
  .site-nav__list a:hover, .site-nav__list a:focus-visible, .site-nav__list a.is-active, .site-nav__list a[aria-current="page"] { color: var(--color-accent); }
}

@media (max-width: 1024px) {
  .site-header__inner { flex-direction: row; justify-content: space-between; align-items: center; padding: 30px; }
  .site-header__logo img { width: 90px; }
  .site-header__address { display: none; }
  .nav-toggle { display: inline-flex; }
  /* Dropdown: absolute, 10px under the burger, full width, grid 0fr -> 1fr slide.
     align-items: stretch keeps the list clipped while it animates. */
  .site-nav { position: absolute; top: calc(50% + 26.5px); left: 0; right: 0; z-index: 9997; display: grid; grid-template-rows: 0fr; align-items: stretch; background: var(--color-white); visibility: hidden; transition: grid-template-rows var(--duration) var(--ease), visibility var(--duration); }
  .site-nav.is-open { grid-template-rows: 1fr; visibility: visible; }
  .site-nav.is-instant { transition: none; }
  .site-nav__list { min-height: 0; overflow: hidden; }
  .site-nav__list a { padding: 10px 20px; color: var(--color-dropdown-text); }
  .site-nav__list a:hover, .site-nav__list a:focus-visible, .site-nav__list a.is-active, .site-nav__list a[aria-current="page"] { color: var(--color-white); background: var(--color-dropdown-hover); }
}
@media (max-width: 767px) {
  .site-header__inner { padding: 12px; }
}

/* === Component: box (white card with 5px orange border; padding via modifiers) === */
.box { background: var(--color-white); border: var(--box-border); border-radius: var(--radius); padding: 60px; text-align: center; }
.box__body { padding: 10px; } /* Elementor column gap inside each box */
.box--50 { padding: 50px; }
.box--48 { padding: 48px; }
.box--100 { padding: 100px; }
@media (max-width: 1024px) { .box--50, .box--100 { padding: 60px; } }
@media (max-width: 767px) { .box, .box--50, .box--48, .box--100 { padding: 30px; } }

/* === Component: section-title (League Spartan 30px semibold caps) === */
.section-title { font-family: var(--font-body); font-size: 30px; font-weight: var(--weight-heading); line-height: 1; letter-spacing: 2px; text-transform: uppercase; color: var(--color-text); text-align: center; }
.section-title--light { color: var(--color-white); line-height: 40px; }
.section-title--start { text-align: start; }

/* === Component: kicker (Amaranth 15px orange caps subheading, h5 in the original) === */
.kicker { font-family: var(--font-accent); font-size: 15px; font-weight: 400; line-height: 1; letter-spacing: 1px; text-transform: uppercase; color: var(--color-accent); text-align: center; }
.section-title + .kicker { margin-top: 10px; } /* 10px spacer, as the original */

/* === Component: copy (League Spartan Light 20px / 1.6, max 58ch, 1em paragraph margins) === */
.copy { display: flow-root; max-width: 58ch; margin-inline: auto; font-size: 20px; font-weight: var(--weight-light); line-height: var(--leading); text-align: center; }
.copy p { margin: 1em 0; }
.copy--small { font-size: 18px; }
.copy--flush p { margin: 0; }
.copy--light { color: var(--color-white); }
.copy--start { text-align: start; margin-inline: 0; }

/* === Component: welcome-to ("WELCOME" / ——— TO ——— lockup) === */
.welcome-to__row { display: flex; align-items: center; justify-content: center; margin-top: 10px; }
.welcome-to__line { width: 40px; border-top: 1px solid var(--color-accent); }
.welcome-to__row .kicker { margin: 0 20px; }

/* === Component: button-outline (hero "ORDER NOW": Roboto 34px, white 2px border, tinted) === */
.button-outline { display: inline-block; padding: 20px 40px; border: 2px solid var(--color-white); border-radius: 10px; background: rgb(0 0 0 / 0.21); font-family: var(--font-button); font-size: 34px; font-weight: 500; line-height: 1; color: var(--color-white); text-decoration: none; text-align: center; transition: all var(--duration); }
.button-outline:hover { color: var(--color-white); }

/* === Component: button-dark ("Write a Review": black, Amaranth 20px) === */
.button-dark { display: inline-block; padding: 12px 24px; border-radius: var(--radius); background: var(--color-black); font-family: var(--font-accent); font-size: 20px; font-weight: 400; line-height: 1; color: var(--color-white); text-decoration: none; transition: all var(--duration); }
.button-dark:hover { color: var(--color-white); }

/* === Component: stacked-images (column of full-width photos) === */
.stacked-images img { width: 100%; }
@media (max-width: 1024px) { .stacked-images__extra { display: none; } }

/* === Component: map (keyless Google Maps iframe, greyscale like the original) === */
.map { display: block; width: 100%; max-width: 450px; height: 190px; margin-inline: auto; border: 0; filter: grayscale(1); }

/* === Component: reviews (frozen copy of the Trustindex Google reviews slider) ===
 * Cards: #f4f4f4, radius 10, padding 25; avatar 40px, name Poppins 16/600 (one line),
 * date grey, Google icon top-right, 5 stars 17px, text 16px/1.45 clamped to 5 lines with
 * "Read more". 1 card per view on narrow containers, 2 from 600px, 3 from 900px;
 * autoplay 6s; next/prev arrows from 768px, a scrollbar line below that.
 */
.reviews__slider { position: relative; font-family: var(--font-review); }
.reviews .swiper { margin-inline: 8px; padding: 5px 0 1px; }
.reviews .swiper-slide { height: auto; display: flex; padding: 0 8px; }
.review-card { position: relative; flex: 1; min-width: 0; padding: 25px; border-radius: 10px; background: var(--color-review-card); color: #000; font-size: 14px; line-height: 1.4; text-align: start; }
.review-card__header { display: flex; align-items: center; }
.review-card__avatar { flex: none; width: 40px; height: 40px; margin-right: 15px; border-radius: 30px; }
.review-card__who { min-width: 0; flex: 1; }
.review-card__name { padding-right: 25px; font-size: 16px; font-weight: 600; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review-card__date { font-size: 14px; color: var(--color-review-date); }
.review-card__platform { position: absolute; top: 25px; right: 25px; }
.review-card__stars { display: flex; gap: 1px; margin: 11px 0; }
.review-card__text { font-size: 16px; line-height: 1.45; overflow-wrap: anywhere; }
.js .review-card:not(.is-expanded) .review-card__text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden; height: calc(5 * 1.45em); }
.review-card__foot { min-height: 29px; padding-top: 8px; }
.review-card__more { display: block; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; color: #000; cursor: pointer; }
.review-card__more[hidden] { display: none; }
.reviews__arrow { position: absolute; top: 50%; z-index: 5; display: none; width: 30px; height: 30px; margin-top: -15px; padding: 0; border: 0; border-radius: 15px; background: var(--color-white); color: #000; align-items: center; justify-content: center; box-shadow: 0 0 4px rgb(0 0 0 / 0.25); cursor: pointer; }
.reviews__arrow svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.reviews__arrow::after { content: ""; position: absolute; inset: -7px; } /* 44px tap target */
.reviews__arrow--prev { left: -1px; }
.reviews__arrow--next { right: -1px; }
.reviews__arrow.swiper-button-disabled { display: none !important; }
.reviews .swiper-scrollbar { position: relative; left: auto; bottom: auto; width: 150px; height: 3px; margin: 20px auto 0; border-radius: 3px; background: rgb(87 87 87 / 0.35); }
.reviews .swiper-scrollbar-drag { background: rgb(87 87 87 / 0.9); }
.reviews__rating { margin: 15px 0 0; font-family: var(--font-review); font-size: 14px; line-height: 1.45; color: #000; text-align: center; }
.reviews__rating strong { font-weight: 600; }
.reviews__rating span { white-space: nowrap; }
@media (min-width: 768px) {
  .reviews__arrow { display: flex; }
  .reviews .swiper-scrollbar { display: none; }
}
@media (max-width: 767px) { .reviews .swiper { margin-inline: -8px; } }

/* === Component: site-footer (orange allergy panel + "Powered by OrderYOYO" credit) === */
.site-footer { display: flex; flex-wrap: wrap; }
.site-footer > * { width: 100%; }
.site-footer__allergies { background: var(--color-accent); padding: 60px 100px; display: flex; flex-direction: column; justify-content: center; }
.site-footer__allergies .section-title { margin-bottom: 20px; }
.site-footer__allergies .copy { max-width: none; text-align: start; margin-inline: 0; }
.site-footer__credit { background: var(--color-white); padding: 30px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.site-footer__credit-label { margin: 0 0 10px; font-size: 16px; font-weight: var(--weight-light); line-height: var(--leading); color: var(--color-text); }
.site-footer__credit-brand { font-family: var(--font-body); font-size: 24px; font-weight: 500; line-height: 50px; letter-spacing: 0.5px; color: var(--color-text); text-decoration: none; }
.site-footer__credit-brand:hover { color: var(--color-accent); }
@media (min-width: 1025px) {
  .site-footer__allergies { width: 82.873%; }
  .site-footer__credit { width: 17.101%; flex-grow: 1; }
}
@media (max-width: 1024px) { .site-footer__allergies { padding: 60px; } }
@media (max-width: 767px) { .site-footer__allergies { padding: 30px; } }

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

/* === Page: / (home) === */

/* Hero: full-height photo; the orange payments strip at the top, headline block in the middle. */
.hero { display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; background-image: url("/wp-content/uploads/2023/04/hero-image.jpg"); }
.hero::after { content: ""; display: block; height: 50px; } /* bottom spacer, as the original */
.hero__strip { padding: 16px; background: var(--color-accent); }
.hero__strip-title { font-family: var(--font-body); font-size: 18px; font-weight: 600; line-height: 1; letter-spacing: 2px; text-transform: uppercase; color: var(--color-text); text-align: center; }
.hero__content { width: 100%; max-width: 608px; margin-inline: auto; padding: 0; text-align: center; }
.hero__title { font-family: var(--font-body); font-size: 57px; font-weight: 600; line-height: 1.5; letter-spacing: 2px; text-transform: uppercase; color: var(--color-white); }
.hero__title + .hero__title { margin-top: 20px; }
.hero__action { margin-top: 90px; } /* 20px widget gap + 50px spacer + 20px gap */
@media (max-width: 1024px) { .hero { min-height: 600px; } }
@media (max-width: 767px) {
  .hero { min-height: 400px; }
  .hero__content { padding: 24px; }
  .hero__title { font-size: 27px; }
  .hero__action { margin-top: 60px; }
}

/* About: backdrop panel with the welcome box (2/3) + photo column (1/3). */
.about__panel { display: flex; align-items: center; justify-content: center; padding: 100px; }
.about__panel .box { width: 100%; }
.about__brand { width: 300px; margin: 20px auto 40px; }
.about__copy { margin-top: 0; }
@media (min-width: 1025px) {
  .about__panel { width: 66.94%; }
  .about__photos { width: 33.034%; }
}
@media (max-width: 1024px) { .about__panel { padding: 60px; } }
@media (max-width: 767px) { .about__panel { padding: 30px; } }

/* Spice band */
.spice { min-height: 680px; background-image: url("/wp-content/uploads/2023/04/spice-image.jpg"); }
@media (max-width: 767px) { .spice { min-height: 300px; } }

/* Offers + opening hours ("Our Menu") boxes on the backdrop. */
.deals { padding: 100px 0; }
.deals__inner { display: flex; flex-wrap: wrap; align-items: flex-start; }
.deals__col { width: 50%; padding: 10px; }
.deals .copy p { margin: 1em 0; }
.deals__icon { width: 55px; margin: 10px auto 0; }
.deals__icon + .copy p:first-child { margin-top: 20px; }
@media (max-width: 1024px) {
  .deals { padding: 60px; }
  .deals__col:first-child { width: 100%; }
  .deals__col:last-child { padding: 0; }
}
@media (max-width: 767px) {
  .deals { padding: 30px; }
  .deals__col, .deals__col:first-child { width: 100%; }
}

/* App band: orange with the phones image on the right. */
.app { display: flex; align-items: center; min-height: 620px; background: var(--color-accent) url("/wp-content/uploads/2023/04/devices-1.png") no-repeat right center; }
.app__text { width: 60.051%; padding: 100px; }
.app__text .copy { margin-top: 0; }
@media (max-width: 1024px) { .app { min-height: 0; background-size: 45% auto; } .app__text { width: 65%; padding: 60px; } }
@media (max-width: 767px) { .app { background-size: 0 auto; } .app__text { width: 100%; padding: 30px; } }

/* Google reviews band */
.reviews { padding: 0 24px 64px; background: var(--color-accent); }
.reviews__inner { padding: 10px; text-align: center; }
.reviews .copy { margin-top: 0; }
.reviews .copy p { margin: 1em 0 0; }
.reviews__action { margin-top: 24px; }

/* Banner photo */
.banner img { width: 100%; }

/* Contact: photo column (1/3) + backdrop panel with the contact box (2/3); box first below desktop. */
.contact__panel { display: flex; align-items: center; justify-content: center; padding: 100px; }
.contact__panel .box { width: 100%; }
.contact .section-title { margin-top: 20px; }
.contact .copy p { margin: 1em 0; }
@media (min-width: 1025px) {
  .contact__photos { width: 33.034%; }
  .contact__panel { width: 66.94%; }
}
@media (max-width: 1024px) {
  .contact { flex-direction: column-reverse; }
  .contact__panel { padding: 60px; }
}
@media (max-width: 767px) { .contact__panel { padding: 30px; } }

/* === Page: /menu/ === */
.page-hero { display: flex; align-items: center; justify-content: center; min-height: 100vh; background-image: url("/wp-content/uploads/2023/04/hero-image.jpg"); }
.page-hero__title { font-family: var(--font-body); font-size: 128px; font-weight: 600; line-height: 1.5; letter-spacing: 2px; text-transform: uppercase; color: var(--color-white); text-align: center; }
@media (max-width: 1024px) { .page-hero { min-height: 600px; } }
@media (max-width: 767px) { .page-hero { min-height: 400px; padding: 0 24px; } .page-hero__title { font-size: 64px; } }

.menu-pdf { padding: 96px 32px; }
.menu-pdf__box { max-width: 1140px; margin-inline: auto; padding: 32px; border: 3px solid var(--color-accent); border-radius: 4px; background: var(--color-white); }
.menu-pdf__frame { display: block; width: 100%; height: 1020px; border: 0; }
.menu-pdf__link { margin: 20px 0 0; text-align: center; }
.menu-pdf__link a { font-family: var(--font-accent); font-size: 20px; text-transform: uppercase; color: var(--color-text); }
.menu-pdf__link a:hover { color: var(--color-accent); }
@media (max-width: 767px) { .menu-pdf__frame { height: 600px; } }

/* === Page: /404.html === */
.not-found { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 60px 30px; }
.not-found .box { width: 100%; max-width: 640px; }
.not-found__links { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; }
.not-found__links a { font-family: var(--font-accent); font-size: 15px; letter-spacing: 1px; text-transform: uppercase; color: var(--color-accent); text-decoration: none; }
.not-found__links a:hover { color: var(--color-text); }

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

/* ============ 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; }
}
