/* Planet Restaurant & Kebab — style.css */

:root {
  /* Brand */
  --red: #c8141c;
  --red-dark: #8c0a0f;
  --red-soft: #fdecec;
  --navy: #0f2a4a;
  --navy-2: #163a63;
  --blue: #1f5fa8;
  --blue-soft: #e9f1fb;

  /* Neutrals */
  --ink: #14202e;
  --muted: #4a5869;
  --line: #dde4ec;
  --line-dark: rgba(255, 255, 255, .14);
  --paper: #ffffff;
  --paper-2: #f5f7fa;

  /* Type */
  --font-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Barlow", "Segoe UI", Arial, sans-serif;
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: clamp(1rem, .96rem + .2vw, 1.0625rem);
  --fs-lg: clamp(1.125rem, 1.05rem + .35vw, 1.25rem);
  --fs-h3: clamp(1.35rem, 1.2rem + .6vw, 1.6rem);
  --fs-h2: clamp(2rem, 1.6rem + 1.8vw, 3rem);
  --fs-h1: clamp(2.6rem, 1.8rem + 3.8vw, 4.75rem);

  /* Space, shape */
  --gutter: clamp(1rem, .6rem + 2vw, 2rem);
  --section: clamp(3.5rem, 2.5rem + 5vw, 6.5rem);
  --max: 1200px;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 1px 2px rgba(15, 42, 74, .06), 0 8px 24px rgba(15, 42, 74, .08);
  --grid-size: 32px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: .01em;
  margin: 0 0 .5em;
  text-transform: uppercase;
}
h1 { font-size: var(--fs-h1); font-weight: 800; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: #fff; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--navy); color: #fff; padding: .7rem 1rem; border-radius: var(--radius);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--alt { background: var(--paper-2); }
.grid-bg {
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  background-position: -1px -1px;
}
.on-dark { background: var(--navy); color: #fff; }
.on-dark.grid-bg {
  background-color: var(--navy);
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
}
.on-dark a { color: #fff; }
.on-dark p, .on-dark li { color: rgba(255, 255, 255, .86); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm);
  letter-spacing: .12em; text-transform: uppercase; color: var(--red);
  margin-bottom: .75rem;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; background: currentColor; }
.on-dark .eyebrow { color: #ff8a8f; }
.lead { font-size: var(--fs-lg); color: var(--muted); max-width: 62ch; }
.on-dark .lead { color: rgba(255, 255, 255, .86); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }

/* Buttons — the only animated elements on the site */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.35rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  border: 2px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); color: #fff; box-shadow: 0 6px 16px rgba(200, 20, 28, .28); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(15, 42, 74, .25); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--blue-soft); color: var(--navy); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(15, 42, 74, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  font-family: var(--font-head); font-weight: 600; font-size: 1.0625rem; letter-spacing: .05em;
  text-transform: uppercase; color: var(--ink); text-decoration: none;
  padding: .5rem .7rem; border-radius: var(--radius); white-space: nowrap;
}
.nav a:hover { color: var(--red); }
.nav a[aria-current="page"] { color: var(--red); }
.nav .btn { margin-left: .5rem; color: #fff; padding-inline: 1rem; white-space: nowrap; }
.nav .btn:hover { color: #fff; }
.menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; color: var(--navy); cursor: pointer;
}
.menu-toggle svg { width: 24px; height: 24px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1020px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(15, 42, 74, .12);
    padding: .5rem var(--gutter) 1.25rem;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .9rem .25rem; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.25rem; }
  .nav .btn { margin: 1rem 0 0; border-bottom: 0; border-radius: var(--radius); }
}
@media (max-width: 720px) { .brand img { height: 34px; } }

/* Hero */
.hero {
  position: relative; isolation: isolate; color: #fff;
  min-height: min(86vh, 760px); display: flex; align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, var(--red-dark) 140%);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media video { position: absolute; inset: 0; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 26, 46, .92) 0%, rgba(10, 26, 46, .78) 45%, rgba(10, 26, 46, .35) 100%),
    linear-gradient(0deg, rgba(10, 26, 46, .55), transparent 40%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
  mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
}
.hero-inner { padding-block: clamp(4rem, 3rem + 6vw, 7rem); max-width: 760px; }
.hero h1 { margin-bottom: .35em; }
.hero h1 .accent { color: #ff4148; display: block; }
.hero p { font-size: var(--fs-lg); color: rgba(255, 255, 255, .9); max-width: 56ch; margin-bottom: 1.75rem; }
.badge {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-head); font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  font-size: var(--fs-sm); padding: .35rem .75rem; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3); color: #fff;
  margin-bottom: 1.25rem;
}
.badge svg { width: 18px; height: 18px; }

/* Info bar under hero */
.info-bar { background: #fff; border-bottom: 1px solid var(--line); }
.info-bar ul { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); }
.info-bar li {
  display: flex; align-items: center; gap: .9rem; padding: 1.4rem var(--gutter);
  border-right: 1px solid var(--line);
}
.info-bar li:last-child { border-right: 0; }
.info-bar strong { display: block; font-family: var(--font-head); font-size: 1.25rem; text-transform: uppercase; letter-spacing: .03em; line-height: 1.1; }
.info-bar span { color: var(--muted); font-size: var(--fs-sm); }
.ico {
  flex: none; display: inline-grid; place-items: center; width: 48px; height: 48px;
  border-radius: var(--radius); background: var(--red-soft); color: var(--red);
}
.ico svg { width: 24px; height: 24px; }
.ico--blue { background: var(--blue-soft); color: var(--blue); }
@media (max-width: 720px) {
  .info-bar ul { grid-template-columns: 1fr; }
  .info-bar li { border-right: 0; border-bottom: 1px solid var(--line); padding-block: 1.1rem; }
  .info-bar li:last-child { border-bottom: 0; }
}

/* Media frames with graceful fallback */
.frame {
  position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--red-dark) 100%);
  aspect-ratio: 4 / 3; box-shadow: var(--shadow);
}
.frame::before {
  content: ""; position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; opacity: .55;
  background: url("/assets/img/icon.svg") center / contain no-repeat;
}
.frame img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.frame.is-missing img { display: none; }
.frame-tag {
  position: absolute; left: 0; bottom: 0; z-index: 1;
  background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; font-size: var(--fs-sm); padding: .45rem .9rem;
}

/* Split layout */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 1020px) {
  .split { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
}
.ticks { list-style: none; display: grid; gap: .65rem; margin-top: 1.5rem; }
.ticks li { display: flex; gap: .65rem; align-items: flex-start; }
.ticks svg { flex: none; width: 22px; height: 22px; color: var(--red); margin-top: .15rem; }
.on-dark .ticks svg { color: #ff6a70; }

/* Spec-sheet card grid (shared borders) */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
  background: #fff;
}
.card {
  padding: clamp(1.4rem, 1rem + 1.2vw, 2rem);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: #fff;
}
.card h3 { margin: 1rem 0 .4rem; font-size: 1.45rem; }
.card p { color: var(--muted); margin: 0; }
.card .num {
  font-family: var(--font-head); font-weight: 800; font-size: .95rem; letter-spacing: .1em; color: var(--muted);
  float: right;
}
@media (max-width: 1020px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .cards { grid-template-columns: 1fr; } }

.intro-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: end; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.intro-split .section-head { margin-bottom: 0; }
@media (max-width: 1020px) { .intro-split { grid-template-columns: 1fr; } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; border-top: 3px solid var(--red); }
.steps li { position: relative; padding: 1.75rem 1.5rem 0 0; }
.steps li::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--font-head); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--red);
  margin-bottom: .75rem;
}
.steps h3 { font-size: 1.4rem; margin-bottom: .35rem; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 1020px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 1rem; } }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }

/* Coverage */
.nations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.nation { background: var(--navy); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.nation h3 { font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.5rem); margin-bottom: .25rem; }
.nation .tag { font-family: var(--font-head); letter-spacing: .12em; text-transform: uppercase; font-size: var(--fs-sm); color: #ff8a8f; display: block; margin-bottom: .75rem; }
.nation p { margin: 0; }
@media (max-width: 1020px) { .nations { grid-template-columns: 1fr; } }

/* Halal band */
.halal {
  background: var(--red); color: #fff; padding-block: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  background-image:
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
}
.halal-inner { display: flex; align-items: center; gap: clamp(1rem, .5rem + 2vw, 2rem); flex-wrap: wrap; }
.halal-mark {
  flex: none; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
  border: 3px solid #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase;
}
.halal h2 { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.3rem); margin: 0 0 .2rem; }
.halal p { margin: 0; color: rgba(255, 255, 255, .92); max-width: 70ch; }

/* FAQ */
.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 0; font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--radius);
  background: var(--blue-soft); color: var(--navy); font-size: 1.4rem; line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; background: var(--red); color: #fff; }
.faq summary:hover { color: var(--red); }
.faq .answer { padding: 0 0 1.25rem; color: var(--muted); max-width: 70ch; }

/* CTA */
.cta { text-align: left; }
.cta-box {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center;
  padding: clamp(2rem, 1.2rem + 3vw, 3.5rem); border-radius: var(--radius-lg);
  background: var(--navy); color: #fff; position: relative; overflow: hidden;
}
.cta-box::after {
  content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 45%; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
}
.cta-box h2 { margin-bottom: .3em; }
.cta-box p { color: rgba(255, 255, 255, .86); margin: 0; }
.cta-box .btn-row { position: relative; z-index: 1; justify-content: flex-end; }
@media (max-width: 1020px) {
  .cta-box { grid-template-columns: 1fr; }
  .cta-box .btn-row { justify-content: flex-start; }
}

/* Page header (inner pages) */
.page-head { padding-block: clamp(3rem, 2rem + 4vw, 5rem) clamp(2rem, 1.5rem + 2vw, 3rem); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.4rem, 1.8rem + 3vw, 4rem); margin-bottom: .25em; }
.page-head p { margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.contact-grid .card h2 { font-size: 1.5rem; margin: 1rem 0 .4rem; }
.contact-grid .card p { color: var(--ink); }
.contact-grid .card a { font-weight: 600; word-break: break-word; }
.contact-grid .card .muted { color: var(--muted); font-size: var(--fs-sm); margin-top: .5rem; }
@media (max-width: 1020px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }
.map {
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); aspect-ratio: 16 / 7; background: var(--paper-2);
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 720px) { .map { aspect-ratio: 4 / 5; } }
.enquiry { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.enquiry ul { list-style: none; display: grid; gap: .5rem; }
@media (max-width: 1020px) { .enquiry { grid-template-columns: 1fr; } }
.note {
  border-left: 4px solid var(--red); background: var(--red-soft); padding: 1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0;
}
.note p:last-child { margin: 0; }

/* Prose (privacy) */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 1.4rem + 1vw, 2rem); margin-top: 2.25rem; }
.prose ul { padding-left: 1.25rem; margin-bottom: 1em; }
.prose li { margin-bottom: .35rem; }

/* 404 */
.error-page { min-height: 60vh; display: flex; align-items: center; }
.error-code { font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 3rem + 10vw, 10rem); line-height: .9; color: var(--red); margin-bottom: .5rem; }

/* Footer */
.site-footer { background: #0a1c33; color: rgba(255, 255, 255, .82); padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); font-size: var(--fs-sm); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer-brand img { height: 46px; width: auto; margin-bottom: 1rem; }
.footer-brand p { max-width: 34ch; }
.site-footer h2 { font-size: 1.15rem; letter-spacing: .1em; color: #fff; margin-bottom: .9rem; }
.site-footer ul { list-style: none; display: grid; gap: .45rem; }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 1.25rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; font-size: var(--fs-xs); color: rgba(255, 255, 255, .7);
}
.footer-legal p { margin: 0; }
@media (max-width: 1020px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .btn:hover { transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* Arabic "halal" mark */
.ar { font-family: "Reem Kufi", "Noto Kufi Arabic", "Geeza Pro", "Segoe UI", Tahoma, sans-serif; font-weight: 700; line-height: 1; text-transform: none; letter-spacing: 0; }
.badge--halal { gap: .6rem; padding: .35rem .9rem .35rem .45rem; }
.badge--halal .ar {
  display: inline-grid; place-items: center; height: 28px; padding: 0 .5rem; border-radius: 999px;
  background: var(--red); color: #fff; font-size: 1rem;
}
.ico--ar .ar { font-size: 1.05rem; }
.halal-mark .ar { font-size: 2rem; }
