/* ==============================================
   Restaurant Mardin — Premium Black & Gold Theme
   ============================================== */

:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #171717;
  --ink: #f4ece0;
  --ink-dim: #bdb3a3;
  --ink-muted: #8a8175;
  --gold: #d4ae5d;
  --gold-bright: #e8c576;
  --beige: #e9dcc2;
  --line: rgba(212, 174, 93, 0.18);
  --line-soft: rgba(255, 255, 255, 0.06);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-gold: 0 10px 40px -10px rgba(212, 174, 93, 0.35);
  --ff-display: "Playfair Display", serif;
  --ff-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --max: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { color: var(--ink); font-weight: 600; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
button { border: 0; background: transparent; color: inherit; cursor: pointer; font-family: inherit; }

::selection { background: var(--gold); color: var(--bg); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* Subtle grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: radial-gradient(rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.5;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform .2s ease, background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .3s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-gold {
  background: var(--gold);
  color: #1a1408;
  border: 1px solid var(--gold);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { background: var(--gold-bright); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(244, 236, 224, 0.35);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ============ HEADER ============ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-soft);
  transition: background .3s ease, border-color .3s ease;
}
.site-header.scrolled { background: rgba(10, 10, 10, 0.95); border-bottom-color: var(--line); }

.topbar {
  background: #050505;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.82rem;
}
.topbar-inner {
  max-width: var(--max); margin: 0 auto; padding: 10px 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink-dim);
}
.topbar-link:hover { color: var(--gold); }
.topbar-link i { font-size: 0.95rem; }
.review-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(212,174,93,0.18), rgba(212,174,93,0.06));
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  font-weight: 600;
}
.review-btn:hover { background: var(--gold); color: #1a1408; }
.social-btn {
  width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); color: var(--ink-dim);
}
.social-btn:hover { border-color: var(--gold); color: var(--gold); }
.lang-switch {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--ink-muted); font-size: 0.8rem;
}
.lang-btn { padding: 4px 6px; color: var(--ink-dim); font-weight: 500; }
.lang-btn:hover { color: var(--gold); }
.lang-btn.active { color: var(--gold); font-weight: 700; }

.mainbar-inner {
  max-width: var(--max); margin: 0 auto; padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, #a07e3a 100%);
  color: #1a1408; font-family: var(--ff-display); font-weight: 700;
  font-size: 1.6rem; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px -6px rgba(212,174,93,0.6);
}
.brand-mark-img {
  width: 54px; height: 54px; flex-shrink: 0;
  filter: drop-shadow(0 4px 14px rgba(212,174,93,0.35));
  transition: transform .3s ease;
}
.brand:hover .brand-mark-img { transform: rotate(-6deg) scale(1.06); }
.brand-name { font-family: var(--ff-display); font-size: 1.15rem; font-weight: 600; letter-spacing: 0.01em; }
.brand-sub { display: block; font-size: 0.72rem; color: var(--ink-muted); letter-spacing: 0.15em; text-transform: uppercase; }

.mainnav { display: flex; align-items: center; gap: 28px; }
.mainnav a {
  font-size: 0.92rem; font-weight: 500; color: var(--ink-dim);
  position: relative; padding: 6px 0;
}
.mainnav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--gold);
  transition: width .3s ease;
}
.mainnav a:hover { color: var(--ink); }
.mainnav a:hover::after, .mainnav a.active::after { width: 100%; }
.mainnav a.active { color: var(--gold); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.phone-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink); font-weight: 500; font-size: 0.95rem;
}
.phone-link i { color: var(--gold); }
.phone-link:hover { color: var(--gold); }
.menu-toggle { display: none; font-size: 1.4rem; color: var(--ink); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 160px 0 80px;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url("../images/hero/hero-1.jpg");
  background-size: cover; background-position: center;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  to { transform: scale(1.15); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.85) 100%),
    radial-gradient(ellipse at 30% 40%, rgba(212,174,93,0.12), transparent 60%);
}
.hero-inner {
  position: relative; z-index: 2;
  width: 100%;
  max-width: 1100px; margin: 0 auto; padding: 0 28px;
  text-align: center;
}
.hero-eyebrow, .hero-cta, .hero-badges { justify-content: center; }
.hero-cta, .hero-badges { display: flex; }
.hero-sub { margin-left: auto; margin-right: auto; }
.hero-eyebrow {
  color: var(--gold); letter-spacing: 0.25em; text-transform: uppercase;
  font-size: 0.8rem; font-weight: 500; margin-bottom: 24px;
  display: inline-flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ""; width: 40px; height: 1px; background: var(--gold);
}
.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.05;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.hero-title em { color: var(--gold); font-style: italic; }
.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-dim);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-badges { display: flex; gap: 24px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-soft);
  font-size: 0.85rem; color: var(--ink-dim);
}
.badge i { color: var(--gold); }
.hero-scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  animation: bounce 2s ease-in-out infinite;
  z-index: 2;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============ SECTIONS ============ */
.section { padding: 120px 0; position: relative; }
.section-head { text-align: center; margin-bottom: 64px; }
.eyebrow {
  color: var(--gold); font-size: 0.78rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.3em; margin-bottom: 16px;
}
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600; line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.lede { font-size: 1.1rem; color: var(--ink-dim); line-height: 1.75; }

/* ============ ABOUT ============ */
.about { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.about-media {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/5;
}
.about-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s ease;
}
.about-media:hover img { transform: scale(1.04); }
.about-badge {
  position: absolute; bottom: 24px; left: 24px;
  background: var(--gold); color: #1a1408;
  padding: 18px 22px; border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.8);
}
.about-badge .num { display: block; font-family: var(--ff-display); font-size: 2.2rem; font-weight: 700; line-height: 1; }
.about-badge .lbl { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 600; }
.about-content .section-title { margin-bottom: 20px; }
.about-content .lede { margin-bottom: 40px; }
.about-pillars { display: grid; gap: 28px; }
.pillar {
  padding: 24px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
  background: rgba(255,255,255,0.02);
  transition: border-color .3s ease, background .3s ease;
}
.pillar:hover { border-color: var(--line); background: rgba(212,174,93,0.04); }
.pillar i { color: var(--gold); font-size: 1.4rem; margin-bottom: 12px; }
.pillar h3 { font-family: var(--ff-display); font-size: 1.3rem; margin-bottom: 8px; font-weight: 600; }
.pillar p { color: var(--ink-dim); font-size: 0.95rem; }

/* ============ GALLERY ============ */
.gallery { background: var(--bg-2); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
  max-width: 1300px;
  margin: 0 auto;
}
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius-sm);
  cursor: pointer; background: var(--bg-3);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-item::after {
  content: "\f065"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,10,10,0.6); color: var(--gold);
  opacity: 0; transition: opacity .3s ease; font-size: 1.5rem;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(5,5,5,0.97);
  display: none; align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius-sm); }
.lb-close, .lb-prev, .lb-next {
  position: absolute; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.06); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; transition: background .25s ease;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--gold); color: #1a1408; }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ============ MENU ============ */
.menu { background: var(--bg); }
.menu-note {
  margin-top: 20px; color: var(--ink-muted); font-size: 0.95rem;
  max-width: 600px; margin-left: auto; margin-right: auto;
}
.menu-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; margin: 0 auto 56px;
  padding: 8px; border-radius: 999px;
  background: var(--bg-2); border: 1px solid var(--line-soft);
  max-width: fit-content;
}
.menu-tab {
  padding: 10px 20px; border-radius: 999px;
  font-size: 0.88rem; font-weight: 500; color: var(--ink-dim);
  white-space: nowrap; transition: all .25s ease;
}
.menu-tab:hover { color: var(--ink); }
.menu-tab.active { background: var(--gold); color: #1a1408; font-weight: 600; }

.menu-panel { display: none; }
.menu-panel.active { display: block; }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}
.menu-card {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .3s ease, transform .3s ease;
  display: flex; flex-direction: column;
}
.menu-card:hover { border-color: var(--line); transform: translateY(-4px); }
.menu-card-img {
  aspect-ratio: 16/10; overflow: hidden; background: var(--bg-3);
  position: relative;
}
.menu-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.menu-card:hover .menu-card-img img { transform: scale(1.06); }
.menu-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.menu-card-title {
  font-family: var(--ff-display);
  font-size: 1.25rem; font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
}
.menu-card-title > span:first-child { color: var(--ink); }
.menu-card-price { color: var(--gold); font-family: var(--ff-body); font-size: 1rem; font-weight: 600; white-space: nowrap; }
.menu-card-desc { color: var(--ink-dim); font-size: 0.9rem; line-height: 1.65; flex: 1; }

.menu-cta { text-align: center; margin-top: 64px; }

/* ============ ORDER ============ */
.order { background: var(--bg-2); }
.order-grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px;
  max-width: 1100px; margin: 0 auto;
}
.order-col-title {
  font-family: var(--ff-display); font-size: 1.6rem; margin-bottom: 6px; font-weight: 600;
}
.order-col-sub { color: var(--ink-muted); margin-bottom: 28px; font-size: 0.95rem; }
.order-platforms { display: grid; gap: 14px; }
.platform {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 28px;
  background: var(--bg-3); border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: all .3s ease;
}
.platform:hover {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(212,174,93,0.06), rgba(212,174,93,0.02));
  transform: translateX(6px);
}
.platform-name {
  font-family: var(--ff-display); font-size: 1.4rem; font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}
.platform-cta { font-size: 0.88rem; color: var(--ink-dim); }
.platform i { color: var(--gold); font-size: 1.2rem; }
.platform.ubereats .platform-name { color: #06c167; }
.platform.lieferando .platform-name { color: #ff8000; }
.platform.whatsapp .platform-name { color: #25d366; }

.pickup-card {
  background: linear-gradient(180deg, rgba(212,174,93,0.1), rgba(212,174,93,0.02));
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
}
.pickup-icon { font-size: 3rem; color: var(--gold); margin-bottom: 8px; }
.pickup-card h4 { font-family: var(--ff-display); font-size: 1.6rem; font-weight: 600; }
.pickup-card p { color: var(--ink-dim); margin-bottom: 20px; max-width: 320px; }

/* ============ CONTACT ============ */
.contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; max-width: 1200px; margin: 0 auto; }
.contact-brand { font-family: var(--ff-display); font-size: 1.8rem; margin-bottom: 28px; color: var(--gold); }
.info-row {
  display: flex; gap: 16px; margin-bottom: 24px;
  padding-bottom: 24px; border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
}
.info-row > div { color: var(--ink); }
.info-row:last-of-type { border-bottom: 0; }
.info-row i { color: var(--gold); font-size: 1.1rem; margin-top: 4px; min-width: 20px; }
.info-row strong {
  display: block; font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--ink-muted); margin-bottom: 6px; font-weight: 500;
}
.info-row a:hover { color: var(--gold); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.contact-map {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-soft);
  min-height: 480px;
}
.contact-map iframe { width: 100%; height: 100%; min-height: 480px; border: 0; filter: grayscale(0.3) invert(0.92) hue-rotate(180deg); }

/* ============ FOOTER ============ */
.site-footer {
  background: #050505;
  padding: 72px 0 0;
  border-top: 1px solid var(--line-soft);
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-soft);
  max-width: 1200px; margin: 0 auto;
}
.foot-brand { display: flex; gap: 14px; align-items: center; }
.foot-brand .brand-name { font-family: var(--ff-display); font-size: 1.2rem; font-weight: 600; }
.foot-brand .brand-sub { font-size: 0.78rem; color: var(--ink-muted); letter-spacing: 0.12em; text-transform: uppercase; }
.foot-col h4 { font-family: var(--ff-display); font-size: 1.1rem; margin-bottom: 14px; color: var(--gold); font-weight: 600; }
.foot-col p { color: var(--ink-dim); font-size: 0.92rem; margin-bottom: 6px; }
.foot-col a:hover { color: var(--gold); }
.foot-social { display: flex; gap: 10px; }
.foot-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-dim);
}
.foot-social a:hover { background: var(--gold); color: #1a1408; border-color: var(--gold); }
.foot-bottom {
  text-align: center; padding: 24px 0;
  color: var(--ink-muted); font-size: 0.85rem;
}

/* ============ STICKY MOBILE ORDER ============ */
.sticky-order {
  position: fixed; bottom: 20px; right: 20px;
  background: var(--gold); color: #1a1408;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
  display: none; align-items: center; gap: 10px;
  box-shadow: 0 10px 30px -6px rgba(212,174,93,0.6);
  z-index: 90;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .mainnav { display: none; }
  .menu-toggle { display: inline-flex; }
  .mainnav.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); padding: 20px 28px;
    border-bottom: 1px solid var(--line);
  }
  .mainnav.open a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-media { max-width: 500px; margin: 0 auto; aspect-ratio: 4/3; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .order-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .topbar { font-size: 0.72rem; }
  .topbar-inner { padding: 8px 18px; gap: 10px; flex-wrap: wrap; }
  .topbar-left, .topbar-right { gap: 10px; flex-wrap: wrap; }
  .topbar-link span { display: none; }
  .review-btn span { display: none; }
  .review-btn { padding: 6px 10px; }
  .mainbar-inner { padding: 12px 18px; }
  .brand-sub { display: none; }
  .brand-name { font-size: 1rem; }
  .header-cta .phone-link span { display: none; }
  .header-cta .order-btn { display: none; }
  .section { padding: 80px 0; }
  .container { padding: 0 20px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-item.tall, .gallery-item.wide { grid-column: span 1; grid-row: span 1; }
  .menu-grid { grid-template-columns: 1fr; }
  .menu-tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding: 6px; }
  .menu-tab { font-size: 0.82rem; padding: 8px 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .sticky-order { display: inline-flex; }
  .hero { padding-top: 130px; }
  .contact-map { min-height: 360px; }
  .contact-map iframe { min-height: 360px; }
}

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
