/* Al-Madina — dark photo-forward restaurant (Miel-inspired energy) */
:root {
  --bg: #0A0A0A;
  --bg-2: #111111;
  --bg-3: #1A1A1A;
  --surface: #161616;
  --text: #F5F2EC;
  --text-dim: rgba(245, 242, 236, 0.68);
  --muted: rgba(245, 242, 236, 0.5);
  --line: rgba(245, 242, 236, 0.12);
  --accent: #E8D5B5;
  --white: #FFFFFF;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Outfit", system-ui, -apple-system, sans-serif;
  --radius-pill: 999px;
  --radius: 12px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s, opacity 0.2s; }
a:hover { color: var(--white); }
ul { list-style: none; }

.container { width: min(1180px, 92%); margin: 0 auto; }

/* ——— Sticky dark header with Call / Directions / Socials ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-bar, .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  flex-shrink: 0;
}
.brand:hover { color: var(--white); opacity: 0.9; }
.brand img {
  width: 42px; height: 42px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
}
.brand-text span {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.header-actions .pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.header-actions .pill:hover { transform: translateY(-1px); }
.pill-solid {
  background: var(--white);
  color: #0A0A0A;
  border: 1px solid var(--white);
}
.pill-solid:hover { background: var(--accent); color: #0A0A0A; border-color: var(--accent); }
.pill-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.45);
}
.pill-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); color: var(--white); }

.social-icons { display: flex; align-items: center; gap: 0.35rem; margin-left: 0.25rem; }
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  transition: background 0.2s, border-color 0.2s;
}
.social-icons a:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  color: var(--white);
}
.social-icons svg { width: 16px; height: 16px; fill: currentColor; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--white);
  width: 40px; height: 40px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav-links a {
  color: var(--text-dim);
  padding: 0.45rem 0.85rem;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius-pill);
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: flex-end;
  padding: 5rem 0 4.5rem;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.55) 45%, rgba(10,10,10,0.92) 100%),
    linear-gradient(90deg, rgba(10,10,10,0.65) 0%, rgba(10,10,10,0.2) 55%, transparent 100%);
}
.hero-content, .hero-content {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}
.hero-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}
.hero-lead {
  color: var(--text-dim);
  font-size: 1.1rem;
  font-weight: 300;
  max-width: 32rem;
  margin-bottom: 2rem;
}
.btn-row, .btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-light {
  background: var(--white);
  color: #0A0A0A;
}
.btn-light:hover { background: var(--accent); color: #0A0A0A; }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  color: var(--white);
}

/* ——— Sections ——— */
main { flex: 1; }
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-dark { background: var(--bg-2); }
.section-header {
  max-width: 40rem;
  margin-bottom: 2.75rem;
}
.section-header.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.section-header h2,
.page-title {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 0.85rem;
}
.section-header p { color: var(--text-dim); font-size: 1.05rem; font-weight: 300; }

/* Split / editorial */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.split-copy p {
  color: var(--text-dim);
  margin-bottom: 1rem;
  font-weight: 300;
  font-size: 1.05rem;
}

/* Gallery strip */
.gallery-scroll, .gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery-scroll figure, .gallery figure {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 3/4;
  background: var(--bg-3);
  /* elegant double frame */
  border: 1px solid rgba(232, 213, 181, 0.55);
  box-shadow:
    inset 0 0 0 4px rgba(10, 10, 10, 0.92),
    inset 0 0 0 5px rgba(232, 213, 181, 0.35),
    0 12px 40px rgba(0, 0, 0, 0.45);
  padding: 6px;
}
.gallery-scroll figure img, .gallery figure img {
  border-radius: 2px;
}
.gallery-scroll img, .gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery-scroll figure:hover img, .gallery figure:hover img { transform: scale(1.06); }
.gallery-scroll figcaption, .gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2rem 1rem 0.9rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 4.5rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
}
.page-hero .page-title { margin-bottom: 0.5rem; }
.page-hero p { color: var(--text-dim); max-width: 36rem; }

/* About prose on dark */
.prose {
  max-width: 720px;
  margin: 0 auto;
}
.prose p {
  color: var(--text-dim);
  font-size: 1.08rem;
  font-weight: 300;
  margin-bottom: 1.2rem;
}
.pull-quote {
  margin-top: 2rem;
  padding: 1.5rem 0 1.5rem 1.5rem;
  border-left: 2px solid var(--accent);
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--white);
  line-height: 1.4;
  font-style: italic;
}

/* Menu cards */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.menu-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color 0.25s, transform 0.25s;
}
.menu-card:hover {
  border-color: rgba(232, 213, 181, 0.35);
  transform: translateY(-3px);
}
.menu-card h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.85rem;
  text-align: center;
}
.menu-card a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.menu-card img {
  width: 100%;
  transition: transform 0.45s var(--ease);
}
.menu-card a:hover img { transform: scale(1.03); }
.menu-hint {
  text-align: center;
  margin-top: 0.65rem;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-height: 92vh;
  max-width: 96vw;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.lightbox-close {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.5rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.card h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}
.contact-list li {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 0.75rem 1rem;
  align-items: start;
  line-height: 1.5;
}
.contact-list .label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  padding-top: 0.2rem;
}
.contact-list a { color: var(--text); }
.contact-list a:hover { color: var(--accent); }
.card-accent {
  background: linear-gradient(160deg, #1C1814, #12100E);
  border-color: rgba(232, 213, 181, 0.2);
}
.card-accent p { color: var(--text-dim); margin-bottom: 1rem; font-weight: 300; }

/* CTA band */
.cta-band {
  padding: clamp(3.5rem, 7vw, 5rem) 0;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(232, 213, 181, 0.08), transparent 55%),
    var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}
.cta-band p { color: var(--text-dim); margin-bottom: 1.75rem; }

/* Footer */
.site-footer {
  background: #050505;
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 1.5rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.site-footer h4 {
  font-family: var(--serif);
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}
.site-footer p, .site-footer a { color: var(--text-dim); font-size: 0.95rem; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

@media (max-width: 960px) {
  .gallery-scroll, .gallery { grid-template-columns: repeat(2, 1fr); }
  .menu-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split-media { aspect-ratio: 16/10; max-height: 360px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 1.75rem; }
  .hero { min-height: 70vh; align-items: center; text-align: center; }
  .hero-content, .hero-content { max-width: 100%; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .btn-row, .btn-row { justify-content: center; }
}
@media (max-width: 820px) {
  .header-bar, .header-inner { flex-wrap: wrap; padding: 0.65rem 0; gap: 0.65rem; }
  .header-right { width: 100%; justify-content: space-between; order: 3; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    display: none;
    width: 100%;
    order: 4;
    flex-direction: column;
    padding: 0.5rem 0 0.75rem;
    border-top: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; text-align: center; padding: 0.75rem; }
  .header-actions { flex: 1; }
  .pill-label { display: none; } /* icons-only space save optional - keep text */
}
@media (max-width: 560px) {
  .header-actions .pill { padding: 0.5rem 0.85rem; font-size: 0.72rem; }
  .contact-list li { grid-template-columns: 1fr; gap: 0.2rem; }
  .gallery-scroll, .gallery { gap: 0.75rem; }
}


/* photo frames */
.split-media {
  border: 1px solid rgba(232, 213, 181, 0.55);
  box-shadow:
    inset 0 0 0 5px rgba(10, 10, 10, 0.92),
    inset 0 0 0 6px rgba(232, 213, 181, 0.3),
    0 16px 48px rgba(0, 0, 0, 0.5);
  padding: 6px;
  border-radius: 4px;
}
.menu-card {
  border: 1px solid rgba(232, 213, 181, 0.45);
  box-shadow:
    inset 0 0 0 4px rgba(10, 10, 10, 0.9),
    inset 0 0 0 5px rgba(232, 213, 181, 0.28),
    0 12px 36px rgba(0, 0, 0, 0.4);
  padding: 6px;
}
.menu-card img {
  border-radius: 2px;
}
