/* =========================================================================
   İKİ USTA DÖNER — Stylesheet
   Design tokens live in :root. Reuse variables rather than hardcoding colors.
   ========================================================================= */

:root{
  /* ---- Color tokens ---- */
  --black:        #0B0A08;   /* page background */
  --charcoal:     #17140F;   /* panel / card background */
  --charcoal-2:   #201B14;   /* raised panel */
  --line:         rgba(232, 201, 122, 0.14); /* hairline borders */
  --line-strong:  rgba(232, 201, 122, 0.28);
  --gold:         #C9973E;   /* primary accent — use sparingly */
  --gold-light:   #E8C97A;   /* hover / highlight */
  --gold-dim:     rgba(201, 151, 62, 0.14);
  --ember:        #8A2E1E;   /* secondary accent for ordering CTA */
  --ember-light:  #B4472F;
  --cream:        #F2E4C9;   /* primary text on dark */
  --cream-dim:    #C9C0AE;   /* secondary text on dark */
  --cream-faint:  #8A8378;   /* tertiary / meta text */

  /* ---- Type ---- */
  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* ---- Layout ---- */
  --max-w: 1200px;
  --radius-s: 6px;
  --radius-m: 12px;
  --nav-h: 76px;

  /* ---- Motion ---- */
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body{
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
button{ font-family: inherit; cursor: pointer; }
h1,h2,h3,h4{ font-family: var(--font-display); font-weight: 600; margin: 0; color: var(--cream); }
p{ margin: 0; }

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

/* Focus visibility (accessibility) */
a:focus-visible, button:focus-visible, input:focus-visible{
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

/* ---- Section rhythm ---- */
.section{ padding: 96px 0; }
.section--tight{ padding: 64px 0; }
.section-head{ max-width: 640px; margin-bottom: 48px; }
.section-head h2{ font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.15; }
.section-head p{ color: var(--cream-dim); margin-top: 14px; font-size: 1.05rem; }

.kicker{
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--gold-light);
  margin-bottom: 14px;
}

/* =========================================================================
   Reveal-on-scroll (single, restrained pattern — not per-card overload)
   ========================================================================= */
.reveal{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible{ opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .reveal{ opacity: 1; transform: none; transition: none; }
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* =========================================================================
   Buttons
   ========================================================================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: var(--radius-s);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .2s var(--ease);
  min-height: 48px; /* touch target */
  white-space: nowrap;
}
.btn:active{ transform: scale(0.98); }

.btn--gold{
  background: var(--gold);
  color: #1A1408;
}
.btn--gold:hover{ background: var(--gold-light); }

.btn--outline{
  background: transparent;
  color: var(--cream);
  border-color: var(--line-strong);
}
.btn--outline:hover{ border-color: var(--gold); color: var(--gold-light); }

.btn--ember{
  background: var(--ember);
  color: var(--cream);
}
.btn--ember:hover{ background: var(--ember-light); }

.btn--block{ width: 100%; }

/* =========================================================================
   Navbar
   ========================================================================= */
.nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .35s var(--ease), border-color .35s var(--ease);
}
.nav.is-scrolled{
  background: rgba(11, 10, 8, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--cream);
  letter-spacing: 0.01em;
}
.brand img{ height: 38px; width: auto; }
.brand strong{ color: var(--gold-light); font-weight: 600; }

.nav-links{
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a{
  font-size: 0.95rem;
  color: var(--cream-dim);
  position: relative;
  padding: 6px 0;
  transition: color .2s var(--ease);
}
.nav-links a::after{
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .25s var(--ease);
}
.nav-links a:hover{ color: var(--cream); }
.nav-links a:hover::after{ width: 100%; }
.nav-links a.active{ color: var(--gold-light); }

.nav-actions{ display: flex; align-items: center; gap: 18px; }

.hamburger{
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: none;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.hamburger span{
  width: 24px; height: 2px;
  background: var(--cream);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.hamburger.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2){ opacity: 0; }
.hamburger.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-menu{
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(11,10,8,0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 8px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
  z-index: 99;
}
.mobile-menu.is-open{ transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a{
  padding: 14px 4px;
  font-size: 1.05rem;
  color: var(--cream-dim);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child{ border-bottom: none; }
.mobile-menu .btn{ margin-top: 14px; }

@media (max-width: 860px){
  .nav-links{ display: none; }
  .nav-actions .btn{ display: none; }
  .hamburger{ display: flex; }
}

/* =========================================================================
   Hero
   ========================================================================= */
.hero{
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--cream);
}
.hero-media{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img{
  width: 100%; height: 100%;
  object-fit: cover;
  aspect-ratio: 16/9;
}
.hero-media::after{
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(11,10,8,0.94) 0%, rgba(11,10,8,0.55) 42%, rgba(11,10,8,0.25) 68%, rgba(11,10,8,0.55) 100%),
    radial-gradient(120% 90% at 50% 100%, transparent 35%, rgba(0,0,0,0.55) 100%);
}
.hero-content{
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 24px 96px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.hero-content .kicker{ color: var(--gold-light); }
.hero-content h1{
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 0.98;
  max-width: 14ch;
}
.hero-content .lede{
  margin-top: 22px;
  max-width: 46ch;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--cream);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}
.hero-content .support{
  margin-top: 12px;
  max-width: 52ch;
  color: var(--cream-dim);
  font-size: 1rem;
}
.hero-actions{
  margin-top: 36px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.scroll-hint{
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--cream-faint);
  font-size: 0.75rem;
}
.scroll-hint .line{
  width: 1px; height: 34px;
  background: linear-gradient(var(--gold), transparent);
  animation: hint-move 1.8s ease-in-out infinite;
}
@keyframes hint-move{
  0%,100%{ transform: scaleY(1); opacity: 0.5; }
  50%{ transform: scaleY(1.3); opacity: 1; }
}
@media (prefers-reduced-motion: reduce){
  .scroll-hint .line{ animation: none; }
}

/* =========================================================================
   About / brand section
   ========================================================================= */
.about{
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-media{
  aspect-ratio: 16/9;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--line);
}
.about-media img{ width: 100%; height: 100%; object-fit: cover; }
.about-copy p{ color: var(--cream-dim); margin-top: 18px; font-size: 1.05rem; }
.about-copy p:first-of-type{ margin-top: 22px; }
.stat-row{
  display: flex;
  gap: 36px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.stat-row .stat b{
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-light);
}
.stat-row .stat span{
  font-size: 0.85rem;
  color: var(--cream-faint);
}

@media (max-width: 900px){
  .about{ grid-template-columns: 1fr; gap: 32px; }
}

/* =========================================================================
   Gallery — asymmetric 3+2
   ========================================================================= */
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.gallery-grid .g-item{
  border-radius: var(--radius-m);
  overflow: hidden;
  aspect-ratio: 16/9;
  border: 1px solid var(--line);
  position: relative;
  cursor: pointer;
}
.gallery-grid .g-item img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.gallery-grid .g-item:hover img{ transform: scale(1.05); }
.gallery-grid .g-item::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.35), transparent 40%);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.gallery-grid .g-item:hover::after{ opacity: 1; }

.gallery-grid .g-item:nth-child(1){ grid-column: span 3; }
.gallery-grid .g-item:nth-child(2){ grid-column: span 3; }
.gallery-grid .g-item:nth-child(3){ grid-column: span 2; }
.gallery-grid .g-item:nth-child(4){ grid-column: span 2; }
.gallery-grid .g-item:nth-child(5){ grid-column: span 2; }

@media (max-width: 780px){
  .gallery-grid{ grid-template-columns: 1fr; }
  .gallery-grid .g-item{ grid-column: span 1 !important; }
}

/* Lightbox */
.lightbox{
  position: fixed; inset: 0;
  background: rgba(6,5,4,0.94);
  display: flex; align-items: center; justify-content: center;
  z-index: 200;
  opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease);
  padding: 24px;
}
.lightbox.is-open{ opacity: 1; pointer-events: auto; }
.lightbox img{
  max-width: min(90vw, 1100px);
  max-height: 85vh;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius-m);
}
.lightbox-close{
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-strong);
  color: var(--cream);
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
}

/* =========================================================================
   Video section
   ========================================================================= */
.video-block{
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  aspect-ratio: 16/9;
  border: 1px solid var(--line);
}
.video-block video, .video-block img{
  width: 100%; height: 100%; object-fit: cover;
}
.video-block::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.35));
  pointer-events: none;
}

/* =========================================================================
   Ordering section
   ========================================================================= */
.order-section{
  background: var(--charcoal);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.order-head{ text-align: left; max-width: 620px; }
.order-cards{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.order-card{
  background: var(--charcoal-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.order-card:hover{ border-color: var(--gold); transform: translateY(-3px); }
.order-card .platform-logo{
  height: 40px;
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold-light);
}
.order-card p{ color: var(--cream-dim); font-size: 0.95rem; }

@media (max-width: 700px){
  .order-cards{ grid-template-columns: 1fr; }
}

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer{
  background: var(--black);
  border-top: 1px solid var(--line);
  padding: 72px 0 32px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}
.footer-brand .brand{ margin-bottom: 16px; }
.footer-brand p{ color: var(--cream-dim); font-size: 0.95rem; max-width: 34ch; }
.footer-col h4{
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--gold-light);
  margin-bottom: 18px;
  font-weight: 700;
}
.footer-col address{ font-style: normal; color: var(--cream-dim); font-size: 0.95rem; line-height: 1.7; }
.footer-col a{
  display: block;
  color: var(--cream-dim);
  font-size: 0.95rem;
  padding: 6px 0;
  transition: color .2s var(--ease);
}
.footer-col a:hover{ color: var(--gold-light); }

.social-row{ display: flex; gap: 12px; margin-top: 18px; }
.social-row a{
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  padding: 0;
}
.social-row a:hover{ border-color: var(--gold); color: var(--gold-light); }
.social-row svg{ width: 18px; height: 18px; fill: currentColor; }

.payment-strip{
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.payment-strip h4{
  font-size: 0.8rem;
  color: var(--cream-faint);
  margin-bottom: 18px;
  font-weight: 600;
}
.payment-logos{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.payment-logos .p-logo{
  height: 34px;
  min-width: 78px;
  padding: 0 14px;
  border-radius: var(--radius-s);
  border: 1px solid var(--line);
  background: var(--charcoal);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  color: var(--cream-faint);
  letter-spacing: 0.02em;
}

.footer-bottom{
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--cream-faint);
  font-size: 0.82rem;
}

@media (max-width: 860px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .footer-brand{ grid-column: span 2; }
}
@media (max-width: 560px){
  .footer-grid{ grid-template-columns: 1fr; }
  .footer-brand{ grid-column: span 1; }
}

/* =========================================================================
   Menu page — banner
   ========================================================================= */
.page-banner{
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.page-banner .hero-media img{ filter: brightness(0.9); }
.page-banner .hero-content{ padding-bottom: 0; text-align: left; }
.page-banner h1{ font-size: clamp(2.2rem, 6vw, 3.6rem); max-width: none; }
.page-banner .support{ margin-top: 14px; }

/* =========================================================================
   Category nav (sticky)
   ========================================================================= */
.category-nav{
  position: sticky;
  top: var(--nav-h);
  z-index: 50;
  background: rgba(11,10,8,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.category-nav .container{
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-top: 14px;
  padding-bottom: 14px;
  scrollbar-width: none;
}
.category-nav .container::-webkit-scrollbar{ display: none; }
.category-nav a{
  flex: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--cream-dim);
  border: 1px solid var(--line);
  white-space: nowrap;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: all .2s var(--ease);
}
.category-nav a:hover{ border-color: var(--gold); color: var(--cream); }
.category-nav a.active{
  background: var(--gold);
  color: #1A1408;
  border-color: var(--gold);
  font-weight: 700;
}

/* =========================================================================
   Menu content
   ========================================================================= */
.menu-category{
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--nav-h) + 66px);
}
.menu-category:last-child{ border-bottom: none; }
.menu-category-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.menu-category-head h2{ font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.menu-category-head .count{ color: var(--cream-faint); font-size: 0.9rem; }

.menu-category--featured .menu-category-head h2{ color: var(--gold-light); }

.dish-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.dish-grid--single{ grid-template-columns: 1fr; }

.dish-card{
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 26px 26px 22px;
  transition: border-color .2s var(--ease);
}
.dish-card:hover{ border-color: var(--line-strong); }
.dish-card-top{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.dish-card h3{
  font-size: 1.15rem;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--cream);
}
.dish-card .price-from{
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold-light);
  white-space: nowrap;
}

.weight-list{ display: flex; flex-direction: column; gap: 0; }
.weight-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-top: 1px dashed var(--line);
  font-size: 0.95rem;
}
.weight-row:first-child{ border-top: none; }
.weight-row .w{ color: var(--cream-dim); }
.weight-row .p{ color: var(--cream); font-weight: 600; font-variant-numeric: tabular-nums; }

/* Combo / menü cards */
.combo-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.combo-card{
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.combo-card .combo-name{ font-size: 1rem; color: var(--cream); line-height: 1.5; }
.combo-card .combo-price{
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold-light);
  white-space: nowrap;
}

/* Simple items (ilave lezzetler) */
.simple-list{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.simple-item{
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.simple-item .name{ color: var(--cream); font-weight: 600; }
.simple-item .note{ display: block; color: var(--cream-faint); font-size: 0.78rem; font-weight: 400; margin-top: 2px; }
.simple-item .price{ color: var(--gold-light); font-family: var(--font-display); font-size: 1.15rem; white-space: nowrap; }

/* Drinks */
.drink-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.drink-item{
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
}
.drink-item .price{ color: var(--gold-light); font-weight: 700; }

@media (max-width: 900px){
  .dish-grid, .combo-grid{ grid-template-columns: 1fr; }
  .simple-list{ grid-template-columns: 1fr 1fr; }
  .drink-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px){
  .simple-list{ grid-template-columns: 1fr; }
  .drink-grid{ grid-template-columns: 1fr; }
}

/* =========================================================================
   Utility
   ========================================================================= */
.text-center{ text-align: center; }
.mt-lg{ margin-top: 48px; }
