/* ==========================================================================
   Copper Lane - tek stil dosyasi
   Musteriye gore degistirilecek tek yer: asagidaki :root token'lari.
   ========================================================================== */

:root {
  /* --- Renkler --- */
  --ink:        #241a14;   /* basliklar, koyu zemin */
  --ink-soft:   #5b4b41;   /* govde metni */
  --copper:     #b23c0c;   /* birincil aksan, butonlar */
  --ember:      #d9631f;   /* hover */
  --cream:      #fbf6ef;   /* sayfa zemini */
  --butter:     #f4e8d6;   /* kart / bolum zemini */
  --white:      #fffdfa;
  --line:       rgba(36, 26, 20, .12);

  /* --- Tipografi --- */
  --font-head:  "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* --- Olcu --- */
  --wrap:       1180px;
  --gap:        clamp(20px, 4vw, 32px);
  --section:    clamp(68px, 9vw, 122px);
  --radius:     18px;
  --shadow:     0 14px 34px -18px rgba(36, 26, 20, .45);
  --shadow-lg:  0 26px 60px -28px rgba(36, 26, 20, .55);
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -.015em;
  margin: 0;
  font-weight: 600;
}

a { color: var(--copper); }

:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gap); }

.section { padding: var(--section) 0; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* --- Bolum basliklari --- */
.kicker {
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--copper); margin: 0 0 14px; display: flex; align-items: center; gap: 12px;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--copper); flex: none; }

.section-title { font-size: clamp(30px, 4.4vw, 46px); max-width: 20ch; }
.section-intro { margin: 18px 0 0; max-width: 56ch; font-size: 18px; }

/* --- Butonlar --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; border: 2px solid transparent;
  font: 600 16px/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn--primary { background: var(--copper); color: var(--white); }
.btn--primary:hover { background: var(--ember); transform: translateY(-1px); }
.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn--on-dark { border-color: rgba(255,255,255,.75); color: #fff; }
.btn--on-dark:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ==========================================================================
   Header / navigasyon
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 246, 239, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__bar { display: flex; align-items: center; justify-content: space-between; height: 70px; }

.logo { display: flex; align-items: baseline; gap: 9px; text-decoration: none; color: var(--ink); }
.logo__name { font-family: var(--font-head); font-weight: 700; font-size: 22px; letter-spacing: -.02em; }
.logo__sub  { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--copper); font-weight: 600; }

.nav__toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px; border: 1px solid var(--line);
  border-radius: 10px; background: transparent; cursor: pointer;
}
.nav__toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .18s ease, opacity .18s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--cream); border-bottom: 1px solid var(--line);
  padding: 10px var(--gap) 24px;
}
.nav.is-open { display: block; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.nav__list a {
  display: block; padding: 13px 2px; text-decoration: none; color: var(--ink);
  font-weight: 500; border-bottom: 1px solid var(--line);
}
.nav__list a:hover { color: var(--copper); }
.nav .btn { margin-top: 18px; width: 100%; }

@media (min-width: 861px) {
  .nav__toggle { display: none; }
  .nav {
    display: flex; align-items: center; gap: 34px;
    position: static; padding: 0; border: 0; background: none;
  }
  .nav__list { flex-direction: row; gap: 30px; }
  .nav__list a { padding: 6px 0; border: 0; font-size: 16px; }
  .nav .btn { margin: 0; width: auto; padding: 11px 22px; font-size: 15px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; background: var(--ink); overflow: hidden; }
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 1; z-index: 0;
}
/* Metnin her fotografta okunakli kalmasi icin yonlu koyu gecis */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(95deg, rgba(24,16,12,.86) 0%, rgba(24,16,12,.62) 32%, rgba(24,16,12,.20) 62%, rgba(24,16,12,.04) 100%),
    linear-gradient(to top, rgba(24,16,12,.30) 0%, rgba(24,16,12,0) 38%);
}
.hero__inner {
  position: relative; z-index: 2; padding: clamp(84px, 15vw, 168px) 0 clamp(64px, 10vw, 112px);
  max-width: 44ch;
}
.hero__sub {
  color: #f0d9c4; font-size: 13px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; margin: 0 0 18px;
}
.hero h1 {
  color: #fff; font-size: clamp(46px, 8.5vw, 92px); font-weight: 700;
  letter-spacing: -.03em; margin: 0;
}
.hero__slogan {
  color: rgba(255, 253, 250, .88); font-size: clamp(18px, 2.4vw, 22px);
  margin: 20px 0 34px; max-width: 34ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ==========================================================================
   Hakkimizda
   ========================================================================== */
.about__grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 861px) { .about__grid { grid-template-columns: 1.05fr .95fr; } }

.about__body { margin-top: 22px; }
.about__body p { margin: 0 0 18px; }
.about__body p:first-child { font-size: 19px; color: var(--ink); }
.about__body p:last-child { margin-bottom: 0; }

.about__figure { position: relative; }
.about__figure img { border-radius: var(--radius); box-shadow: var(--shadow-lg); position: relative; z-index: 1; }
.about__figure::after {
  content: ""; position: absolute; z-index: 0;
  inset: 22px -22px -22px 22px; border: 2px solid var(--copper);
  border-radius: var(--radius); opacity: .35;
}

.features {
  list-style: none; margin: clamp(44px, 6vw, 72px) 0 0; padding: 0;
  display: grid; gap: 28px;
}
@media (min-width: 700px) { .features { grid-template-columns: repeat(3, 1fr); gap: 34px; } }
.features h3 { font-size: 20px; margin: 0 0 8px; }
.features p { margin: 0; font-size: 16px; }
.features__icon {
  width: 52px; height: 52px; border-radius: 50%; background: var(--butter);
  color: var(--copper); display: grid; place-items: center; margin-bottom: 16px;
}
.features__icon svg { width: 24px; height: 24px; }

/* ==========================================================================
   One cikan urunler
   ========================================================================== */
.dishes { background: var(--butter); }
.dishes__head { display: grid; gap: 20px; margin-bottom: clamp(36px, 5vw, 56px); }
@media (min-width: 861px) {
  .dishes__head { grid-template-columns: 1fr auto; align-items: end; }
}

.cards { display: grid; gap: 26px; }
@media (min-width: 620px)  { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px)  { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card__img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.card__body { padding: 22px 24px 26px; }
.card__top { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.card h3 { font-size: 21px; }
.card__price { font-weight: 600; color: var(--copper); white-space: nowrap; font-size: 17px; }
.card p { margin: 10px 0 0; font-size: 15.5px; line-height: 1.55; }

/* Fotografi olmayan urun: bos kare yerine sade, kasitli gorunen bir kutu */
.card__img--blank {
  aspect-ratio: 4 / 3; display: grid; place-items: center;
  background:
    repeating-linear-gradient(45deg, rgba(178,60,12,.05) 0 10px, rgba(178,60,12,0) 10px 20px),
    var(--butter);
  color: var(--copper);
}
.card__img--blank svg { width: 40px; height: 40px; opacity: .5; }

/* Ana sayfa yazili modda menu listesini kullanir */
.menu-list--home { margin-top: 8px; border-top: 1px solid var(--line); }

.dishes__cta { margin-top: clamp(36px, 5vw, 52px); text-align: center; }

/* ==========================================================================
   Konum / iletisim
   ========================================================================== */
.visit__grid { display: grid; gap: clamp(32px, 5vw, 56px); align-items: start; margin-top: clamp(36px, 5vw, 52px); }
@media (min-width: 861px) { .visit__grid { grid-template-columns: .85fr 1.15fr; } }

.info { display: grid; gap: 26px; }
.info h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .12em; color: var(--copper); font-family: var(--font-body); font-weight: 600; margin-bottom: 8px; }
.info p, .info address { margin: 0; font-style: normal; }
.info a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.info a:hover { color: var(--copper); border-color: currentColor; }

.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.hours li:last-child { border-bottom: 0; }
.hours span:last-child { color: var(--ink); font-weight: 500; white-space: nowrap; }

.social { display: flex; gap: 12px; }
.social a {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink);
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.social a:hover { background: var(--copper); color: #fff; border-color: var(--copper); }
.social svg { width: 19px; height: 19px; }

.map {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow); background: var(--butter);
}
.map iframe { display: block; width: 100%; height: 320px; border: 0; }

.form { margin-top: 28px; background: var(--butter); border-radius: var(--radius); padding: clamp(24px, 4vw, 36px); }
.form h3 { font-family: var(--font-head); font-size: 24px; text-transform: none; letter-spacing: -.01em; color: var(--ink); margin: 0 0 6px; }
.form p { margin: 0 0 22px; font-size: 16px; }
.form__row { display: grid; gap: 16px; margin-bottom: 16px; }
@media (min-width: 620px) { .form__row--two { grid-template-columns: 1fr 1fr; } }
.form label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.form input, .form textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--white); font: 400 16px/1.5 var(--font-body); color: var(--ink);
}
.form textarea { min-height: 132px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--copper); outline-offset: 1px; border-color: transparent; }
.form__note { margin: 14px 0 0; font-size: 15px; color: var(--copper); font-weight: 500; min-height: 22px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--ink); color: rgba(251, 246, 239, .72); padding: clamp(52px, 7vw, 76px) 0 32px; }
.footer__grid { display: grid; gap: 30px; }
@media (min-width: 700px) { .footer__grid { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.footer .logo__name { color: var(--cream); }
.footer p { margin: 16px 0 0; max-width: 44ch; font-size: 16px; }
.footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; }
@media (min-width: 700px) { .footer__links { justify-content: flex-end; } }
.footer__links a { color: rgba(251, 246, 239, .85); text-decoration: none; }
.footer__links a:hover { color: var(--ember); }
.footer__bottom {
  margin-top: clamp(36px, 5vw, 54px); padding-top: 22px; border-top: 1px solid rgba(251, 246, 239, .16);
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 14px;
}
.footer__demo { opacity: .55; }

/* --- Mobilde alt sabit rezervasyon cubugu --- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 246, 239, .96); border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.callbar .btn { flex: 1; padding: 13px 18px; font-size: 15px; }
@media (min-width: 861px) { .callbar { display: none; } }
@media (max-width: 860px) { body { padding-bottom: 74px; } }

/* ==========================================================================
   Menu sayfasi
   ========================================================================== */
.menu-hero { background: var(--ink); color: var(--cream); padding: clamp(48px, 8vw, 88px) 0 clamp(40px, 6vw, 64px); text-align: center; }
.menu-hero h1 { color: #fff; font-size: clamp(34px, 5.6vw, 58px); }
.menu-hero p { margin: 16px auto 0; max-width: 52ch; color: rgba(251, 246, 239, .78); }
.menu-hero .kicker { justify-content: center; color: #f0d9c4; }
.menu-hero .kicker::before { background: #f0d9c4; }

.tabs {
  position: sticky; top: 70px; z-index: 30;
  background: rgba(251, 246, 239, .95); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.tabs__list {
  display: flex; gap: 6px; list-style: none; margin: 0; padding: 0;
  overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__list a {
  display: block; white-space: nowrap; scroll-snap-align: start;
  padding: 17px 16px; text-decoration: none; color: var(--ink-soft);
  font-weight: 500; font-size: 15.5px; border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.tabs__list a:hover { color: var(--copper); }
.tabs__list a.is-active { color: var(--copper); border-bottom-color: var(--copper); font-weight: 600; }

.menu-cat { padding: clamp(44px, 6vw, 72px) 0 0; scroll-margin-top: 128px; }

/* --- Kompakt menu satiri: gorsel solda, metin sagda --- */
.mrows { display: grid; gap: 14px; margin-top: 24px; }
@media (min-width: 900px) { .mrows { grid-template-columns: repeat(2, 1fr); gap: 16px 30px; } }

.mrow {
  display: flex; align-items: center; gap: 16px;
  padding: 12px; background: var(--white); border: 1px solid var(--line);
  border-radius: 14px; transition: border-color .18s ease, box-shadow .18s ease;
}
.mrow:hover { border-color: rgba(178, 60, 12, .35); box-shadow: var(--shadow); }

.mrow__img {
  width: 96px; height: 96px; flex: none;
  border-radius: 10px; object-fit: cover;
}
.mrow__img--blank {
  display: grid; place-items: center; color: var(--copper);
  background:
    repeating-linear-gradient(45deg, rgba(178,60,12,.06) 0 8px, rgba(178,60,12,0) 8px 16px),
    var(--butter);
}
.mrow__img--blank svg { width: 28px; height: 28px; opacity: .55; }

.mrow__body { flex: 1; min-width: 0; }
.mrow__top { display: flex; align-items: baseline; gap: 10px; }
.mrow__name {
  font-family: var(--font-head); font-size: 18px; font-weight: 600;
  color: var(--ink); margin: 0; line-height: 1.25;
}
.mrow__dots { flex: 1; border-bottom: 1px dotted rgba(36, 26, 20, .2); transform: translateY(-4px); min-width: 10px; }
.mrow__price { font-weight: 600; color: var(--copper); white-space: nowrap; font-size: 16px; }
.mrow__text { margin: 5px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }

@media (max-width: 620px) {
  .mrow { gap: 13px; padding: 10px; }
  .mrow__img { width: 82px; height: 82px; }
  .mrow__name { font-size: 17px; }
  .mrow__dots { display: none; }
  .mrow__top { justify-content: space-between; }
  .mrow__text { font-size: 15px; }
}
.menu-cat:last-of-type { padding-bottom: clamp(48px, 7vw, 84px); }
/* layout: "photo" modunda menu sayfasi da ana sayfayla ayni kart izgarasini
   kullanir; layout: "text" modunda kategori basliginda kucuk bir gorsel olur. */
.menu-cat__head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.menu-cat__img { width: 78px; height: 78px; border-radius: 14px; object-fit: cover; flex: none; box-shadow: var(--shadow); }
.menu-cat > .menu-cat__head h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  border-bottom: 2px solid var(--ink); padding-bottom: 10px;
}

.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.menu-item__top { display: flex; align-items: baseline; gap: 10px; }
.menu-item__name { font-family: var(--font-head); font-size: 19px; font-weight: 600; color: var(--ink); }
.menu-item__dots { flex: 1; border-bottom: 1px dotted rgba(36, 26, 20, .2); transform: translateY(-4px); min-width: 12px; }
.menu-item__price { font-weight: 600; color: var(--copper); white-space: nowrap; }
.menu-item__text { margin: 6px 0 0; font-size: 15.5px; line-height: 1.55; max-width: 62ch; }

.menu-note { margin: clamp(30px, 4vw, 44px) 0 0; padding: 18px 22px; background: var(--butter); border-radius: 12px; font-size: 15px; }
.menu-back { padding: clamp(36px, 5vw, 56px) 0; text-align: center; border-top: 1px solid var(--line); }

@media (max-width: 620px) {
  /* Telefonda menuyu rahat okumak icin govde 16px'in altina inmiyor */
  .menu-item__text, .card p { font-size: 16px; }
  .menu-cat__img { width: 62px; height: 62px; }
  .menu-cat__head { gap: 14px; margin-bottom: 16px; }
  .menu-item__dots { display: none; }
  .menu-item__top { justify-content: space-between; }
}

/* --- Hareket azaltma tercihi --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; }
}
