/* Sorgun Dönerci - Main Stylesheet (Zero CLS, Mobile PageSpeed 100) */
:root {
  --brand: #b91c1c;
  --brand-dark: #991b1b;
  --accent: #d97706;
  --accent-light: #fef3c7;
  --dark: #140e0c;
  --dark-soft: #231916;
  --bg: #fffbf7;
  --surface: #ffffff;
  --border: #e7e5e4;
  --text: #1c1917;
  --muted: #57534e;
  --ok: #15803d;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(20, 14, 12, 0.08);
  --shadow-lg: 0 20px 45px rgba(20, 14, 12, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Top Info Bar */
@media (max-width: 959px) { .topbar { display: none; } }
.topbar {
  background: var(--dark);
  color: #f5f5f4;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
}
.topbar-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e7e5e4;
}
.topbar-item svg { width: 15px; height: 15px; color: #fbbf24; flex-shrink: 0; }

/* Header & Mega Menu */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--dark);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.brand-sub {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
}

.main-nav { display: none; align-items: center; gap: 6px; }
.nav-link, .nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  background: transparent;
  border: 0;
  transition: background-color 0.2s, color 0.2s;
  min-height: 44px;
}
.nav-link:hover, .nav-trigger:hover, .nav-link[aria-current="page"] {
  background: #fef2f2;
  color: var(--brand);
}

/* Mega Menu with Hover Bridge + 250ms Close Delay */
.nav-dropdown { position: relative; }
.mega-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 340px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 14px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  transition-delay: 0.25s;
  z-index: 120;
}
.mega-panel::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}
.nav-dropdown:hover .mega-panel,
.nav-dropdown:focus-within .mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}
.mega-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
.mega-grid-2 { grid-template-columns: repeat(2, minmax(150px, 1fr)); min-width: 380px; }
.mega-panel-wide {
  min-width: 680px;
  padding: 20px;
}
.mega-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.mega-col-title {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand);
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.mega-sublist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mega-sublist a {
  display: block;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  transition: background-color 0.15s, color 0.15s;
}
.mega-sublist a:hover { background: #fef2f2; color: var(--brand); }
.mega-item {
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background-color 0.15s;
}
.mega-item:hover { background: #fff7ed; }
.mega-item strong { font-size: 0.92rem; color: var(--dark); }
.mega-item span { font-size: 0.8rem; color: var(--muted); }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
  min-height: 44px;
  box-shadow: 0 6px 18px rgba(185, 28, 28, 0.28);
  transition: transform 0.2s, background-color 0.2s;
}
.header-cta:hover { background: var(--brand-dark); transform: translateY(-1px); }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--dark);
}
.mobile-drawer {
  display: none;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 20px 22px;
}
.mobile-drawer.is-open { display: block; }
.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile-nav-list a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--dark);
  background: #fafaf9;
}
.mobile-nav-list a:hover { background: #fef2f2; color: var(--brand); }
.mobile-mega {
  background: #fafaf9;
  border-radius: 10px;
  overflow: hidden;
}
.mobile-mega summary {
  padding: 12px 14px;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-mega summary::-webkit-details-marker { display: none; }
.mobile-mega-body {
  padding: 4px 12px 12px;
  display: grid;
  gap: 10px;
}
.mobile-mega-group strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand);
  margin-bottom: 6px;
}
.mobile-mega-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.mobile-mega-links a {
  padding: 8px 10px;
  font-size: 0.85rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
}

@media (min-width: 960px) {
  .main-nav { display: flex; }
  .menu-toggle, .mobile-drawer { display: none !important; }
}

/* Hero Slider (Full-Bleed Background Image + Overlay Text, Zero CLS) */
.hero-section {
  background: #140e0c;
  color: #fff;
  padding: 0 0 28px;
  position: relative;
}
.hero-slider {
  position: relative;
  overflow: hidden;
  background: #140e0c;
}
.hero-slides { position: relative; }
.hero-slide {
  display: none;
  position: relative;
  min-height: 430px;
  align-items: center;
  overflow: hidden;
}
.hero-slide.is-active {
  display: flex;
  animation: fadeSlide 0.35s ease;
}
@keyframes fadeSlide {
  from { opacity: 0.3; }
  to { opacity: 1; }
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(16, 10, 8, 0.88) 0%, rgba(16, 10, 8, 0.66) 52%, rgba(16, 10, 8, 0.38) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 44px 20px 64px;
}
.hero-copy { max-width: 640px; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(217, 119, 6, 0.25);
  color: #fde68a;
  border: 1px solid rgba(251, 191, 36, 0.45);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.hero-title, h1.hero-title {
  margin: 0 0 10px;
  font-size: clamp(1.75rem, 4.2vw, 3rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}
.hero-desc {
  margin: 0 0 18px;
  color: #f5f5f4;
  font-size: 1.02rem;
  max-width: 48ch;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.hero-tags li {
  background: rgba(20, 14, 12, 0.65);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  padding: 5px 11px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
}

.slider-controls {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: -52px auto 0;
  padding: 0 20px 14px;
}
.slider-dots { display: flex; gap: 8px; align-items: center; }
.slider-dot {
  width: 28px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,0.35);
  padding: 0;
  transition: background-color 0.2s, transform 0.2s;
}
.slider-dot[aria-selected="true"] { background: #fbbf24; transform: scaleX(1.15); }
.slider-arrows { display: flex; gap: 8px; }
.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.32);
  background: rgba(20, 14, 12, 0.65);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}
.slider-btn:hover { background: var(--brand); border-color: var(--brand); }

/* BLUF Box & Compact CTA Row */
.hero-bottom {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.bluf-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 4px solid #fbbf24;
  border-radius: 14px;
  padding: 14px 16px;
  color: #f5f5f4;
  font-size: 0.94rem;
}
.bluf-box strong { color: #fde68a; }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.96rem;
  white-space: nowrap;
  min-height: 48px;
  transition: transform 0.2s, background-color 0.2s;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 22px rgba(185, 28, 28, 0.35);
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-secondary {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.28);
}
.btn-secondary:hover { background: rgba(255,255,255,0.22); }

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(21, 128, 61, 0.22);
  border: 1px solid rgba(74, 222, 128, 0.35);
  color: #dcfce7;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}
.trust-pill.card-pill {
  background: rgba(217, 119, 6, 0.22);
  border-color: rgba(251, 191, 36, 0.4);
  color: #fef3c7;
}

/* Drinks Plain Text List */
.drinks-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-top: 28px;
}
.drinks-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.drinks-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fffbf7;
  border: 1px solid var(--border);
  font-weight: 700;
  color: var(--dark);
}
.drinks-list li span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

@media (min-width: 900px) {
  .hero-slide { min-height: 500px; }
  .hero-content { padding: 64px 20px 84px; }
  .hero-bottom {
    grid-template-columns: 1.35fr 0.65fr;
    align-items: center;
  }
}

/* Sections */
.section { padding: 56px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.section-kicker {
  display: inline-block;
  color: var(--brand);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.section-title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.2;
  color: var(--dark);
}
.section-lead {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 62ch;
}

/* Menu Filter Tabs */
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.tab-btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-weight: 700;
  font-size: 0.92rem;
  min-height: 44px;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.tab-btn[aria-pressed="true"], .tab-btn:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* Menu Cards Grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 20px;
}
.menu-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.menu-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.menu-card.is-hidden { display: none; }
.menu-thumb {
  aspect-ratio: 4 / 3;
  background: #f5f5f4;
  overflow: hidden;
  position: relative;
}
.menu-thumb img { width: 100%; height: 100%; object-fit: cover; }
.menu-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(20, 14, 12, 0.82);
  color: #fde68a;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}
.menu-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.menu-body h3 {
  margin: 0 0 6px;
  font-size: 1.12rem;
  color: var(--dark);
}
.menu-body p {
  margin: 0 0 14px;
  font-size: 0.92rem;
  color: var(--muted);
  flex: 1;
}
.menu-order-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fef2f2;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.9rem;
  min-height: 44px;
  transition: background-color 0.2s, color 0.2s;
}
.menu-order-link:hover { background: var(--brand); color: #fff; }

/* Full Menu Table (GEO + Structured Clarity) */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.menu-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 560px;
}
.menu-table th, .menu-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.menu-table th {
  background: #fafaf9;
  font-weight: 800;
  color: var(--dark);
}
.menu-table tr:last-child td { border-bottom: 0; }

/* Feature & Order Steps */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #fef2f2;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.feature-card h3 { margin: 0 0 6px; font-size: 1.08rem; color: var(--dark); }
.feature-card p { margin: 0; font-size: 0.92rem; color: var(--muted); }

/* FAQ Accordion */
.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 18px;
}
.faq-item summary {
  padding: 16px 0;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin: 0 0 16px; color: var(--muted); font-size: 0.94rem; }

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #1c110d 0%, #7f1d1d 100%);
  color: #fff;
  border-radius: 22px;
  padding: 32px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cta-banner h2 { margin: 0 0 6px; font-size: clamp(1.4rem, 3vw, 2rem); }
.cta-banner p { margin: 0; color: #f5f5f4; max-width: 54ch; }

/* Footer */
.site-footer {
  background: var(--dark);
  color: #d6d3d1;
  padding: 48px 0 28px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-title { color: #fff; font-size: 1rem; margin: 0 0 12px; font-weight: 700; }
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.92rem;
}
.footer-links a:hover { color: #fbbf24; }
.footer-bottom {
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: #a8a29e;
}
.footer-bottom a { color: #fde68a; }

/* Sticky Mobile Call Bar */
.mobile-call-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  padding: 13px 18px;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(185, 28, 28, 0.45);
  min-height: 48px;
}
@media (min-width: 960px) { .mobile-call-bar { display: none; } }
@media (max-width: 959px) { body { padding-bottom: 74px; } }
@media (prefers-reduced-motion: reduce) {
  .hero-slide.is-active { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
