/* ==========================================================================
   Istanbul Mangal – site styles
   Palette: Brown/orange #CB4D00 · Light blue #CFEBF0 · White · Black
   ========================================================================== */

:root {
  --brand: #CB4D00;
  --brand-dark: #A33D00;
  --brand-light: #FFF1E8;
  --blue: #CFEBF0;
  --blue-deep: #0E7C9A;
  --ink: #111111;
  --ink-soft: #3B3B3B;
  --muted: #6B6B6B;
  --line: #E6E6E6;
  --paper: #FFFFFF;
  --paper-soft: #FAFAF8;

  --font-display: "Poppins", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(17, 17, 17, .08);
  --shadow-lg: 0 24px 60px rgba(17, 17, 17, .14);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 5.2vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px;
  background: var(--ink); color: #fff; padding: .6rem 1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm); z-index: 1000;
}
.skip-link:focus { top: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 1rem; line-height: 1;
  text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(203, 77, 0, .28); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; box-shadow: 0 12px 26px rgba(203, 77, 0, .34); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--blue); color: var(--ink); }

.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(0, 0, 0, .06); }

.header-inner {
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}

.brand {
  display: inline-flex; align-items: center; gap: .75rem;
  text-decoration: none; color: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.1;
}
.brand img { width: 52px; height: 52px; border-radius: 50%; }
.brand span small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .74rem; color: var(--muted); letter-spacing: .02em; }

.nav-toggle {
  display: none; appearance: none; border: 0; background: transparent;
  width: 46px; height: 46px; border-radius: 12px; cursor: pointer; padding: 0;
  position: relative;
}
.nav-toggle:hover { background: var(--blue); }
.nav-toggle .bar {
  position: absolute; left: 11px; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.nav-toggle .bar:nth-child(1) { top: 15px; }
.nav-toggle .bar:nth-child(2) { top: 22px; }
.nav-toggle .bar:nth-child(3) { top: 29px; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .35rem; }
.site-nav a {
  display: inline-block; padding: .6rem .95rem; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 500; transition: background .15s, color .15s;
}
.site-nav a:hover { background: var(--blue); color: var(--ink); }
.site-nav a[aria-current="page"] { background: var(--blue); }
.site-nav .btn { margin-left: .5rem; padding: .7rem 1.3rem; }
.site-nav .btn:hover { background: var(--brand-dark); }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(0,0,0,.08);
    padding: .75rem var(--gutter) 1.25rem;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: .25rem; }
  .site-nav a { display: block; padding: .85rem 1rem; font-size: 1.05rem; }
  .site-nav .btn { margin: .5rem 0 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #F6FBFC 0%, var(--blue) 60%, #E4F3F6 100%);
}
.hero::before {
  content: ""; position: absolute; inset: auto -10% -40% auto; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(closest-side, rgba(203, 77, 0, .16), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(3rem, 8vw, 6.5rem);
  position: relative;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--brand); background: #fff; padding: .45rem .9rem; border-radius: 999px; margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #2BA84A; box-shadow: 0 0 0 4px rgba(43,168,74,.18); }
.eyebrow.is-closed .dot { background: #C62828; box-shadow: 0 0 0 4px rgba(198,40,40,.18); }

.hero h1 { margin-bottom: .6em; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 54ch; margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 1.75rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.25rem; color: var(--ink-soft); font-size: .95rem; margin: 0; padding: 0; list-style: none; }
.hero-meta li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-meta svg { width: 18px; height: 18px; color: var(--brand); }

.hero-media { position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 28px; box-shadow: var(--shadow-lg);
}
.hero-badge {
  position: absolute; left: -12px; bottom: 24px;
  background: #fff; border-radius: 16px; padding: .85rem 1.1rem; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: .75rem; font-family: var(--font-display);
}
.hero-badge strong { display: block; font-size: 1.05rem; line-height: 1.1; }
.hero-badge span { font-size: .8rem; color: var(--muted); font-family: var(--font-body); }
.hero-badge .flame {
  width: 44px; height: 44px; border-radius: 12px; background: var(--brand-light); color: var(--brand);
  display: grid; place-items: center; flex: none;
}
.hero-badge .flame svg { width: 24px; height: 24px; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img { aspect-ratio: 16 / 10; border-radius: 22px; }
  .hero-badge { left: 12px; bottom: 12px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-soft { background: var(--paper-soft); }
.section-blue { background: var(--blue); }
.section-head { max-width: 62ch; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker {
  font-family: var(--font-display); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brand);
  margin-bottom: .6rem; display: block;
}
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }

/* Highlights strip */
.highlights { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.highlights li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem 1.35rem 1.25rem;
  display: flex; flex-direction: column; gap: .75rem;
}
.highlights .icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--blue); color: var(--blue-deep);
  display: grid; place-items: center;
}
.highlights .icon svg { width: 24px; height: 24px; }
.highlights h3 { margin: 0; font-size: 1.05rem; }
.highlights p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .highlights { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .highlights { grid-template-columns: 1fr; } }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: 24px; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.about-media .stamp {
  position: absolute; right: -10px; top: -10px; background: var(--brand); color: #fff;
  width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  font-family: var(--font-display); font-weight: 700; line-height: 1.1; font-size: .95rem; padding: .5rem;
  box-shadow: 0 12px 30px rgba(203,77,0,.35); transform: rotate(8deg);
}
.about-media .stamp small { display: block; font-weight: 500; font-size: .7rem; opacity: .9; }
.about-text p { color: var(--ink-soft); }
.checks { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: grid; gap: .6rem; }
.checks li { display: flex; gap: .65rem; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: .15rem; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .about-media .stamp { right: 8px; top: 8px; width: 96px; height: 96px; } }

/* Menu cards */
.menu-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.card-body h3 { margin: 0; font-size: 1.1rem; }
.card-body p { margin: 0; color: var(--muted); font-size: .95rem; flex: 1; }
.card-tag {
  align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-light); padding: .3rem .6rem; border-radius: 999px;
}
.menu-cta { text-align: center; margin-top: clamp(1.75rem, 4vw, 2.75rem); }
.menu-cta p { color: var(--muted); font-size: .95rem; margin-top: .85rem; }
@media (max-width: 1000px) { .menu-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .menu-grid { grid-template-columns: 1fr; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.gallery img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1rem .9rem;
  color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  background: linear-gradient(to top, rgba(0,0,0,.65), transparent);
}
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery figure:last-child { grid-column: span 2; } .gallery figure:last-child img { aspect-ratio: 16 / 9; } }

/* Apps / order banner */
.order-banner {
  background: var(--ink); color: #fff; border-radius: 28px; padding: clamp(2rem, 5vw, 3.5rem);
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center; position: relative; overflow: hidden;
}
.order-banner::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(203,77,0,.55), transparent 72%);
}
.order-banner h2, .order-banner p { color: #fff; }
.order-banner p { color: rgba(255,255,255,.78); }
.order-banner .kicker { color: var(--blue); }
.app-badges { display: flex; flex-wrap: wrap; gap: .75rem; position: relative; z-index: 1; }
.app-badge {
  display: inline-flex; align-items: center; gap: .65rem; text-decoration: none;
  background: #fff; color: var(--ink); border-radius: 12px; padding: .55rem .95rem .55rem .75rem;
  border: 1px solid rgba(0,0,0,.08); transition: transform .15s ease, background .15s ease;
}
.app-badge:hover { transform: translateY(-2px); background: var(--blue); color: var(--ink); }
.app-badge svg { width: 28px; height: 28px; flex: none; }
.app-badge small { display: block; font-size: .68rem; line-height: 1; color: var(--muted); }
.app-badge strong { display: block; font-family: var(--font-display); font-size: 1rem; line-height: 1.15; }
.order-banner .stack { display: flex; flex-direction: column; gap: 1rem; position: relative; z-index: 1; }
@media (max-width: 860px) { .order-banner { grid-template-columns: 1fr; } }

/* Info / hours */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.info-card { background: #fff; border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--line); }
.info-card h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: .85rem; }
.info-card h3 svg { width: 22px; height: 22px; color: var(--brand); }
.info-card p { margin: 0 0 .5rem; color: var(--ink-soft); }
.info-card address { font-style: normal; color: var(--ink-soft); }
.info-card .tel { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--ink); text-decoration: none; }
.info-card .tel:hover { color: var(--brand); }
.hours { width: 100%; border-collapse: collapse; font-size: .98rem; }
.hours th, .hours td { padding: .45rem 0; text-align: left; border-bottom: 1px dashed var(--line); vertical-align: top; }
.hours th { font-weight: 500; color: var(--ink-soft); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--brand); font-weight: 700; }
.hours-note { font-size: .85rem; color: var(--muted); margin: .75rem 0 0; }
.open-status { font-weight: 600; margin-top: .75rem; }
.open-status[data-state="open"] { color: #1E8E3E; }
.open-status[data-state="closed"] { color: #C62828; }
@media (max-width: 900px) { .info-grid { grid-template-columns: 1fr; } }

/* Contact page */
.page-hero { background: linear-gradient(135deg, #F6FBFC 0%, var(--blue) 100%); padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.page-hero h1 { margin-bottom: .35em; }
.page-hero p { max-width: 60ch; color: var(--ink-soft); font-size: 1.1rem; margin: 0; }
.breadcrumb { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; gap: .5rem; font-size: .9rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: var(--line); }

.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.contact-stack { display: grid; gap: 1.25rem; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--paper-soft); }
.map-wrap iframe { width: 100%; aspect-ratio: 4 / 3; min-height: 380px; border: 0; display: block; }
.map-actions { padding: 1rem 1.25rem; display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; }
.map-actions p { margin: 0; font-size: .95rem; color: var(--muted); }
.social-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.social-list a {
  display: inline-flex; align-items: center; gap: .5rem; padding: .6rem .95rem; border-radius: 999px;
  background: var(--blue); color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem;
}
.social-list a:hover { background: var(--ink); color: #fff; }
.social-list svg { width: 18px; height: 18px; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: .75rem; max-width: 820px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .25rem 1.25rem; }
.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 600; padding: .85rem 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--brand); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); margin: 0 0 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.82); padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.site-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .9rem; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer address { font-style: normal; }
.site-footer .brand { color: #fff; margin-bottom: .9rem; }
.site-footer .brand span small { color: rgba(255,255,255,.6); }
.footer-blurb { color: rgba(255,255,255,.7); font-size: .95rem; max-width: 40ch; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.35rem;
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; font-size: .9rem; color: rgba(255,255,255,.6);
}
.powered-by { display: inline-flex; align-items: center; gap: .6rem; }
.powered-by a { display: inline-flex; align-items: center; background: #fff; border-radius: 8px; padding: .35rem .6rem; }
.powered-by img { height: 28px; width: auto; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Sticky mobile order bar */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: .6rem; padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); border-top: 1px solid var(--line); backdrop-filter: blur(8px);
}
.mobile-cta .btn { flex: 1; padding: .85rem 1rem; }
@media (max-width: 700px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 76px; }
}

/* Reveal animation (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.is-visible { opacity: 1; transform: none; }
}
