/*
 * site.css: the only stylesheet for threeinone-plus.co.uk (3 in 1 Plus, Newton Mearns).
 * Same App4 2021 one-page template as indiancuisine4u.co.uk / kikichinese.co.uk.
 * Sizes and colours from the live Elementor CSS (post-19.css) and computed styles (2026-10-29).
 * Header nav and button groups (Elementor Pro / Extras, switched off on WordPress) restored from
 * the Internet Archive HTML of 2025-03-29; their styling is inferred from the indiancuisine4u build
 * because no CSS was ever archived for this domain (decision d1).
 *
 * Sections, in order:
 *   1. Tokens        colours, fonts, spacing (custom properties)
 *   2. Fonts         @font-face for the self-hosted fonts
 *   3. Base          reset and element defaults
 *   4. Layout        shared containers and section spacing
 *   5. Components    one block per component: "=== Component: <name> ==="
 *   6. Pages         page-specific rules (none: one-page site)
 *   7. Utilities     a handful of helpers
 *
 * Breakpoints (from the original Elementor page; media queries can't use custom properties):
 *   mobile   ≤ 767px    (columns stack)
 *   tablet   768px–1024px   (burger menu, red mobile hero, logo centred)
 *   desktop  ≥ 1025px   (horizontal nav, header buttons, hero image on the right)
 */

/* ============ 1. Tokens ============ */
:root {
  /* Colours (Elementor kit globals used by the page) */
  --color-text: #232323;            /* headings, body copy (kit f096f06) */
  --color-red: #d4302a;             /* mobile hero, buttons, social icons (kit 265d5c9) */
  --color-red-soft: rgb(212 48 42 / 0.18); /* social icon circles (#D4302A2E) */
  --color-white: #ffffff;
  --color-nav-dropdown: #494c4f;    /* Elementor default dropdown text */
  --color-nav-dropdown-active-bg: #55595c;
  --shadow-card: 0 0 4px 0 rgb(0 0 0 / 0.15);
  --shadow-button-hover: 0 0 10px 0 rgb(212 48 42 / 0.53);
  --shadow-dropdown: 0 0 10px 0 rgb(0 0 0 / 0.3);

  /* Typography */
  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Manrope", Arial, sans-serif;
  --text-display: 60px;      /* hero heading 60px/80px (30px/50px mobile) */
  --text-hero-sub: 30px;     /* hero sub-heading 30px/40px (22px mobile) */
  --text-h2: 46px;           /* section headings 46px/64px */
  --text-footer-title: 22px;

  /* Shape and motion */
  --radius-button: 6px;
  --duration-button: 0.2s;
  --duration-menu: 0.3s;
}

/* ============ 2. Fonts ============ */
/* Playfair Display and Manrope (Google Fonts, SIL OFL), latin subset, weight 400 only (the only weight used). */
@font-face {
  font-family: "Playfair Display";
  src: url("/assets/fonts/playfair-display-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-400-latin.woff2") format("woff2");
  font-weight: 400;
  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; }
/* Leaves and faint guide lines behind the whole page (background.png stretched over the body, as the original) */
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: normal; color: var(--color-text); background: var(--color-white) url("/wp-content/uploads/2021/08/background.png") 0 0 / cover no-repeat; overflow-x: hidden; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-heading); font-weight: 400; color: var(--color-text); }
a { color: var(--color-text); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--color-red); outline-offset: 2px; }
/* Accent words in headings: same colour as the heading on the live site (no archived CSS says otherwise).
 * One-line switch to red: .accent { color: var(--color-red); } */
.accent { color: inherit; }

/* ============ 4. Layout ============ */
/* Elementor-style boxed container: 1140px; columns carry their own 10px gutter */
.container { width: 100%; max-width: 1140px; margin-inline: auto; }
/* Elementor spacer sections are rebuilt as top margins (spacer + 20px column padding) */
.section-gap-100 { margin-top: 120px; }
.section-gap-30 { margin-top: 50px; }
.section-gap-175 { margin-top: 195px; }
.section-gap-50 { margin-top: 70px; }
.section-gap-300 { margin-top: 320px; }
.section-gap-150 { margin-top: 170px; }
@media (max-width: 1024px) {
  .section-gap-175, .section-gap-300, .section-gap-150 { margin-top: 120px; }
}

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

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

/* === Component: masthead (logo, main nav, header buttons) ===
 * Desktop: logo | nav | buttons in 13.3% / 56.4% / 29.9% columns, full width with 50px side padding,
 * overlapping the top of the hero (the hero is pulled up 146px).
 * Tablet: logo centred, burger under it. Mobile: logo 25% left, burger 75% right. */
.masthead { position: relative; z-index: 10; }
.masthead__inner { display: flex; align-items: center; padding: 0 50px; }
.masthead__logo { display: block; flex: 0 0 13.314%; padding: 10px; }
.masthead__logo img { width: 120px; }
.site-nav { flex: 0 0 56.414%; padding: 10px; }
.masthead .button-group--header { flex: 0 0 29.936%; justify-content: flex-end; padding: 10px; }
@media (max-width: 1024px) {
  .masthead__inner { flex-wrap: wrap; justify-content: center; }
  .masthead__logo { flex-basis: 100%; }
  .masthead__logo img { margin-inline: auto; }
  .site-nav { position: static; display: flex; flex-direction: column; align-items: center; flex-basis: 100%; }
  .masthead .button-group--header { display: none; }
}
@media (max-width: 767px) {
  .masthead__inner { padding: 0; flex-wrap: nowrap; }
  .masthead__logo { flex-basis: 25%; }
  .masthead__logo img { width: 100%; margin: 0; }
  .site-nav { flex-basis: 75%; align-items: flex-end; }
}

/* === Component: site-nav (horizontal ≥1025px; burger + full-width dropdown ≤1024px) === */
.site-nav__list { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.site-nav__list a { display: block; padding: 13px 20px; font-family: var(--font-body); font-size: 18px; line-height: 20px; color: var(--color-text); text-decoration: none; transition: color 0.3s; }
.site-nav__list a:hover, .site-nav__list a:focus-visible { color: var(--color-red); }
.nav-toggle { display: none; align-items: center; justify-content: center; padding: 0.25em; border: 0; border-radius: 3px; background: rgb(0 0 0 / 0.05); color: var(--color-white); font-size: 22px; cursor: pointer; }
.nav-toggle svg { width: 1em; height: 1em; 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 (max-width: 1024px) {
  .nav-toggle { display: flex; }
  /* The dropdown spans the full page width and overlays the hero under the toggle
   * (Elementor "full width" dropdown); slides open with a grid row. */
  .site-nav__panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 20; display: grid; grid-template-rows: 0fr; align-items: stretch; background: var(--color-white); box-shadow: var(--shadow-dropdown); visibility: hidden; transition: grid-template-rows var(--duration-menu) ease, visibility 0s linear var(--duration-menu); }
  .site-nav__panel.is-open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows var(--duration-menu) ease, visibility 0s; }
  .site-nav__list { display: block; min-height: 0; overflow: hidden; }
  .site-nav__list a { padding: 12px 20px; color: var(--color-nav-dropdown); text-align: center; } /* 44px rows (tap-target rule) */
  .site-nav__list a:hover, .site-nav__list a:focus-visible { color: var(--color-white); background: var(--color-nav-dropdown-active-bg); }
}

/* === Component: button / button-group (Elementor Extras button groups, rebuilt; style as indiancuisine4u in this site's red) === */
.button-group { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 14px 30px; border: 1px solid var(--color-red); border-radius: var(--radius-button); background: var(--color-white); color: var(--color-red); font-family: var(--font-body); font-size: 18px; line-height: 1; text-decoration: none; box-shadow: var(--shadow-card); transition: box-shadow var(--duration-button) ease-in-out; }
.button:hover, .button:focus-visible { box-shadow: var(--shadow-button-hover); }
.button--solid { background: var(--color-red); color: var(--color-white); }
.button-group--end { justify-content: flex-end; }
@media (max-width: 1100px) and (min-width: 1025px) {
  .button-group--header .button { padding-inline: 18px; font-size: 16px; }
}
@media (max-width: 767px) {
  .button { padding: 12px 22px; font-size: 16px; }
  .button-group--end { justify-content: flex-start; }
}

/* === Component: section-heading (h2, Playfair 46px/64px) === */
.section-heading { font-size: var(--text-h2); line-height: 64px; letter-spacing: 0.5px; }

/* === Component: hero (desktop: text left over hero.png; tablet/mobile: red band under the header) ===
 * Pulled up under the header (margin-top -146px desktop, -206px tablet/mobile) as on the original. */
.hero { position: relative; margin-top: -146px; background: url("/wp-content/uploads/2021/08/hero.png") right center no-repeat; }
.hero__inner { display: flex; align-items: center; min-height: 1033px; max-width: 1140px; margin-inline: auto; }
.hero__text { display: flex; flex-direction: column; align-items: flex-start; flex: 0 0 50%; padding: 10px; }
.hero__title { font-size: var(--text-display); line-height: 80px; letter-spacing: 0.5px; }
.hero__text .button-group { margin-top: 20px; }
.hero__sub { margin-top: 50px; font-size: var(--text-hero-sub); line-height: 40px; letter-spacing: 0.5px; }
@media (max-width: 1024px) {
  .hero { margin-top: -206px; background: var(--color-red); }
  .hero__inner { align-items: stretch; min-height: 581px; max-width: none; }
  /* 136px as the original (126px + 10px column padding) plus 57px for the restored burger row under the logo */
  .hero__text { flex-basis: 100%; padding: 193px 10px 10px; }
  .hero__title, .hero__sub { color: var(--color-white); }
  .hero__sub { margin-top: 20px; }
  /* buttons on the red band: white solid / white outline */
  .hero .button { border-color: var(--color-white); background: var(--color-white); color: var(--color-red); }
  .hero .button--solid { background: transparent; color: var(--color-white); }
  .hero .button:hover, .hero .button:focus-visible { box-shadow: 0 0 10px 0 rgb(255 255 255 / 0.6); }
}
@media (max-width: 767px) {
  .hero__text { padding-top: 196px; }
  .hero__title { font-size: 30px; line-height: 50px; }
  .hero__sub { font-size: 22px; }
}

/* === Component: split-heading (section heading left, buttons right, bottom-aligned) ===
 * Used by "Serving you the Freshest" (#about) and "Fresh Indian Food" (#menu). */
.split-heading { display: flex; align-items: flex-end; max-width: 1140px; margin-inline: auto; }
.split-heading__title { flex: 0 1 53.772%; padding-left: 70px; }
.split-heading__actions { flex: 0 1 46.228%; padding: 10px 10px 0; }
.split-heading--menu .split-heading__title { flex-basis: 54.035%; padding-left: 144px; }
.split-heading--menu .split-heading__actions { flex-basis: 45.965%; }
@media (max-width: 1024px) {
  .split-heading__title { margin-left: 20px; padding-left: 0; }
  .split-heading--menu { padding-inline: 20px; }
  .split-heading--menu .split-heading__title { margin-left: 0; padding-left: 0; }
  .split-heading__actions { padding: 10px 10px 0 20px; }
}
@media (max-width: 767px) {
  .split-heading { display: block; }
  .split-heading__actions { padding: 20px 20px 0; }
  .split-heading--menu .split-heading__actions { padding: 20px 0 0; }
}

/* === Component: wide-image (full container-width photo) === */
.wide-image { max-width: 1140px; margin-inline: auto; padding: 10px; }
.wide-image img { width: 100%; }

/* === Component: dish-tiles (3 photos with a white "View … Dishes →" link over the bottom) ===
 * The original overlaid the labels with a negative-margin row; here each label sits inside its tile,
 * which also fixes the 375px overlap (decision d8). */
.dish-tiles { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1140px; margin-inline: auto; }
.dish-tile { position: relative; margin: 0; padding: 10px; }
.dish-tile__image { width: 100%; }
.dish-tile__label { position: absolute; left: 40px; right: 42px; bottom: 48px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.dish-tile__link { max-width: 79.7%; font-family: var(--font-heading); font-size: 20px; line-height: 27px; color: var(--color-white); text-decoration: none; }
.dish-tile__arrow { flex: none; width: 24px; }
@media (max-width: 1024px) {
  .dish-tile__label { left: 40px; right: 38px; }
}
@media (max-width: 1024px) and (min-width: 768px) {
  .dish-tile__label { bottom: 40px; }
  .dish-tile__link { max-width: 136px; }
  .dish-tile__arrow { width: 18px; }
}
@media (max-width: 767px) {
  .dish-tiles { grid-template-columns: 1fr; }
  .dish-tile__label { left: 40px; right: 40px; bottom: 50px; }
}

/* === Component: app-promo (download the app: heading, text, badges; phones image) === */
.app-promo__inner { display: flex; max-width: 1140px; margin-inline: auto; }
.app-promo__text { display: flex; flex-direction: column; justify-content: center; flex: 0 1 54.035%; }
.app-promo__lead { margin: 38px 0 38px; font-size: 18px; line-height: 33px; }
.app-promo__badges { display: block; width: fit-content; }
.app-promo__media { display: flex; align-items: flex-end; justify-content: center; flex: 0 1 45.965%; }
@media (max-width: 1024px) {
  .app-promo__inner { padding-inline: 20px; }
  .app-promo__media img { width: 100%; }
}
@media (max-width: 767px) {
  .app-promo__inner { display: block; }
  .app-promo__media { margin-top: 20px; }
}

/* === Component: site-footer (Company / Get in Touch / Opening Times / Install App, copyright + social bar) === */
.site-footer { margin-top: 170px; }
.site-footer__inner { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1140px; margin-inline: auto; }
.site-footer__col { display: flex; flex-direction: column; padding: 10px; }
.site-footer__title { font-size: var(--text-footer-title); line-height: 22px; }
.site-footer__links { list-style: none; margin: 40px 0 0; padding: 0; }
.site-footer__links li { padding-bottom: 10px; }
.site-footer__links li + li { margin-top: 10px; }
.site-footer__links li:last-child { padding-bottom: 0; }
.site-footer__links a, .site-footer__links span { display: block; font-size: 1.2rem; color: var(--color-text); text-decoration: none; }
.site-footer__text { margin-top: 20px; font-size: 18px; line-height: 37px; }
.site-footer__text--hours { line-height: 35px; }
.site-footer__text p { margin: 18px 0; }
.site-footer__badges { display: block; align-self: flex-start; margin-top: 20px; padding-top: 20px; }
.site-footer__bar { display: grid; grid-template-columns: 1fr 1fr; align-items: center; max-width: 1140px; margin: 70px auto 0; padding-bottom: 70px; }
.site-footer__copyright { margin: 0; padding: 10px; font-size: 14px; text-transform: capitalize; }
.site-footer__copyright a { color: inherit; text-decoration: none; }
.social-icons { display: flex; justify-content: flex-end; gap: 20px; list-style: none; margin: 0; padding: 10px; }
.social-icons a { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--color-red-soft); color: var(--color-red); }
.social-icons svg { width: 14px; height: 14px; fill: currentColor; }
@media (max-width: 1024px) {
  .site-footer { margin-top: 120px; }
}
@media (max-width: 767px) {
  .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer__bar { grid-template-columns: 1fr; }
  .site-footer__copyright { padding-bottom: 0; }
  .social-icons { gap: 40px; }
}

/* === Component: contact-email (replaces WordPress forms: mailto button + visible address). Not used: the site had no forms === */
.contact-email { display: grid; gap: 16px; justify-items: start; }
.contact-email__address { font-weight: 600; word-break: break-word; }
.contact-email__phone a { color: inherit; }

/* === Component: not-found (404 page) === */
.not-found { padding: 80px 20px 20px; text-align: center; }
.not-found p { margin: 24px 0; font-size: 18px; line-height: 1.6; }
.not-found .button-group { justify-content: center; }
.not-found__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; list-style: none; margin: 32px 0 0; padding: 0; }
.not-found__links a { font-size: 18px; color: var(--color-text); text-decoration: none; }
.not-found__links a:hover { color: var(--color-red); }
@media (max-width: 1024px) {
  .not-found { background: var(--color-white); }
}

/* ============ 6. Pages ============ */
/* Pages without the red hero (404): dark burger on white */
.page-plain .nav-toggle { 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; }
}
