/* ==========================================================
   Can-Öz Erzincan Döner — ortak stil dosyası
   Renkler dükkân tabelasından alındı: kırmızı + lacivert
   ========================================================== */

:root {
  --red: #d42a2f;
  --red-dark: #a91d22;
  --navy: #22318f;
  --navy-dark: #141d57;
  --navy-ink: #0e1440;
  --cream: #fbf6ee;
  --cream-2: #f3eadb;
  --ink: #1d1d24;
  --muted: #5d5e6b;
  --line: #e4d9c6;
  --white: #ffffff;
  --gold: #e8b04a;

  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(20, 29, 87, 0.28);
  --maxw: 1180px;

  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Masa örtüsü deseni (dükkândaki mavi-beyaz kareli örtü) ---------- */
.gingham {
  height: 14px;
  background-color: var(--white);
  background-image:
    linear-gradient(90deg, rgba(34, 49, 143, 0.55) 50%, transparent 50%),
    linear-gradient(rgba(34, 49, 143, 0.55) 50%, transparent 50%);
  background-size: 14px 14px;
}

/* ---------- Üst şerit ---------- */
.topbar {
  background: var(--navy-ink);
  color: #d9dcf3;
  font-size: 15px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--white); }

.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.open-badge .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #9aa0b8;
}
.open-badge.is-open .dot { background: #3ecf6e; box-shadow: 0 0 0 4px rgba(62, 207, 110, 0.2); }
.open-badge.is-closed .dot { background: var(--red); }

/* ---------- Header / navigasyon ---------- */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 0 var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 84px;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
}
.logo .logo-main {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 34px;
  color: var(--red);
  letter-spacing: 0.02em;
}
.logo .logo-sub {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  letter-spacing: 0.24em;
  margin-top: 4px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  padding: 10px 16px;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--navy-dark);
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover { background: var(--cream-2); }
.main-nav a[aria-current="page"] {
  color: var(--red);
  box-shadow: inset 0 -3px 0 var(--red);
  border-radius: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--navy);
  color: var(--navy);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  padding: 8px 12px;
  cursor: pointer;
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s, background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.6); color: var(--white); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-sm { padding: 10px 18px; font-size: 16px; }

.header-call { white-space: nowrap; }

/* ---------- Fotoğraf yer tutucuları ---------- */
.photo-ph {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(34, 49, 143, 0.06) 0 14px, transparent 14px 28px),
    var(--cream-2);
  border: 2px dashed #c8b99f;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  color: var(--muted);
  overflow: hidden;
}
.photo-ph .ph-num {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.photo-ph .ph-label {
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}
.photo-ph .ph-desc { font-size: 15px; margin-top: 8px; max-width: 26ch; }
.photo-ph.tall { aspect-ratio: 3 / 4; }
.photo-ph.wide { aspect-ratio: 16 / 9; }
.photo-ph.square { aspect-ratio: 1 / 1; }
.photo-ph.on-dark {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 14px, transparent 14px 28px),
    rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.35);
  color: #c6cbea;
}
.photo-ph.on-dark .ph-num { color: var(--white); }

/* ---------- Hero (ana sayfa) ---------- */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(212, 42, 47, 0.35), transparent 45%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 70%);
  color: var(--white);
  padding: 72px 0 84px;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(42px, 5.4vw, 72px);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--red);
  background: var(--white);
  padding: 0 0.18em;
  border-radius: 6px;
  display: inline-block;
}
.hero p.lead {
  font-size: 21px;
  color: #d6daf3;
  max-width: 34ch;
  margin: 0 0 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-photo { position: relative; }

/* ---------- Sayfa başlığı (iç sayfalar) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 56px 0 52px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(38px, 5vw, 60px);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}
.page-hero p { color: #cfd4f0; font-size: 20px; margin: 0 auto; max-width: 52ch; }

/* ---------- Bölümler ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--white); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head h2 {
  font-size: clamp(32px, 4vw, 46px);
  color: var(--navy-dark);
  text-transform: uppercase;
}
.section-head p { color: var(--muted); margin: 0; }
.section-head .eyebrow { color: var(--red); margin-bottom: 10px; }

.divider {
  width: 72px;
  height: 4px;
  background: var(--red);
  border-radius: 4px;
  margin: 14px auto 18px;
}

/* Özellik kartları */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--red);
}
.feature:nth-child(2) { border-top-color: var(--navy); }
.feature .icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--cream-2);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature .icon svg { width: 30px; height: 30px; }
.feature h3 { font-size: 26px; color: var(--navy-dark); }
.feature p { margin: 0; color: var(--muted); }

/* İki kolon: görsel + yazı */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split h2 { font-size: clamp(32px, 4vw, 46px); color: var(--navy-dark); text-transform: uppercase; }
.split p { color: #3b3c48; }
.split .divider { margin-left: 0; }

/* Öne çıkanlar */
.favorites {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.fav-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.fav-card .photo-ph { border-radius: 0; border: 0; border-bottom: 2px dashed #c8b99f; }
.fav-card .body { padding: 20px 22px 24px; }
.fav-card h3 { font-size: 22px; color: var(--navy-dark); margin-bottom: 4px; }
.fav-card p { margin: 0; color: var(--muted); font-size: 16px; }
.fav-card .price {
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--red);
  font-weight: 600;
  margin-top: 10px;
}

.center-cta { text-align: center; margin-top: 44px; }

/* Arama şeridi */
.call-band {
  background: var(--red);
  color: var(--white);
  padding: 56px 0;
}
.call-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.call-band h2 { font-size: clamp(30px, 3.6vw, 42px); text-transform: uppercase; margin: 0 0 4px; }
.call-band p { margin: 0; color: #ffe0e0; font-size: 19px; }
.call-band .phone-big {
  font-family: var(--font-head);
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  background: var(--navy-dark);
  padding: 10px 30px;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 0.12s;
}
.call-band .phone-big:hover { transform: scale(1.03); }

/* ---------- Menü sayfası ---------- */
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
}
.menu-tab {
  font-family: var(--font-head);
  font-size: 17px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px solid var(--navy);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.menu-tab:hover { background: var(--cream-2); }
.menu-tab[aria-selected="true"] { background: var(--navy); color: var(--white); }

.menu-panel[hidden] { display: none; }

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.menu-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 34px 26px;
}
.menu-card.span-2 { grid-column: span 2; }
.menu-card h2 {
  font-size: 30px;
  color: var(--navy-dark);
  text-transform: uppercase;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 3px solid var(--red);
  padding-bottom: 12px;
  margin-bottom: 8px;
}
.menu-card h2 small {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}
.menu-card .card-note { color: var(--muted); font-size: 16px; margin: 0 0 10px; }

.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
}
.menu-list li:last-child { border-bottom: 0; }
.menu-list .name { font-weight: 600; font-size: 19px; }
.menu-list .name small { display: block; font-weight: 400; font-size: 15px; color: var(--muted); }
.menu-list .dots { flex: 1; border-bottom: 2px dotted #cdbfa6; transform: translateY(-5px); }
.menu-list .price {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  color: var(--red);
  white-space: nowrap;
}

.menu-photo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.menu-footnote {
  text-align: center;
  color: var(--muted);
  margin-top: 40px;
  font-size: 16px;
}

/* ---------- Hakkımızda ---------- */
.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding-left: 40px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: linear-gradient(var(--red), var(--navy));
  border-radius: 3px;
}
.tl-item { position: relative; padding-bottom: 40px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -37px;
  top: 6px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--red);
}
.tl-item .year {
  font-family: var(--font-head);
  font-size: 18px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}
.tl-item h3 { font-size: 28px; color: var(--navy-dark); margin: 4px 0 6px; }
.tl-item p { margin: 0; color: #3b3c48; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}
.step {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 30px 28px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.step h3 { font-size: 24px; color: var(--navy-dark); }
.step p { margin: 0; color: var(--muted); }

.quote {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--navy-dark);
  border-left: 6px solid var(--red);
  padding: 6px 0 6px 28px;
  margin: 0 0 18px;
}
.quote-by { color: var(--muted); font-size: 17px; padding-left: 34px; }

/* ---------- Galeri ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.gallery .g-wide { grid-column: span 2; }
.gallery .photo-ph { height: 100%; }

.photo-note {
  background: var(--white);
  border-left: 5px solid var(--gold);
  border-radius: 10px;
  padding: 18px 22px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 16px;
}

/* ---------- İletişim & Konum ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 36px;
  align-items: stretch;
}
.info-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px;
}
.info-row {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.info-row:first-child { padding-top: 0; }
.info-row:last-of-type { border-bottom: 0; }
.info-row .ic {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--cream-2);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-row .ic svg { width: 24px; height: 24px; }
.info-row h3 {
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 2px 0 4px;
  font-weight: 500;
}
.info-row p { margin: 0; font-size: 19px; }
.info-row .big-link {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
}
.info-row .hint { color: var(--muted); font-size: 16px; margin-top: 4px; }
.info-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 460px;
  background: var(--cream-2);
  border: 4px solid var(--white);
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }

.hours-table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.hours-table td { padding: 6px 0; font-size: 18px; }
.hours-table td:last-child { text-align: right; font-weight: 600; }
.hours-table tr.today td { color: var(--red); }

.landmark {
  display: inline-block;
  background: #fff5d9;
  border: 1px dashed var(--gold);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 15px;
  color: #7a5a12;
  margin-top: 6px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-ink);
  color: #c3c8e6;
  padding: 60px 0 0;
  font-size: 16px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
.site-footer h4 {
  color: var(--white);
  font-size: 17px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer .logo .logo-main { color: var(--white); }
.site-footer .logo .logo-sub { color: #9aa3dd; }
.site-footer .about { margin-top: 14px; max-width: 32ch; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  font-size: 14px;
  color: #8f95bb;
}
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Basit duyarlı (mobil) ayarlar — ayrıntılı mobil düzen sonra ---------- */
@media (max-width: 1024px) {
  .favorites { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-call { display: none; }
}

@media (max-width: 860px) {
  body { font-size: 17px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.25);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 8px 16px 16px; }
  .main-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--red); }

  .hero .container,
  .split,
  .contact-grid,
  .menu-grid { grid-template-columns: 1fr; }
  .menu-card.span-2 { grid-column: auto; }
  .features,
  .steps,
  .menu-photo-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .section { padding: 60px 0; }
  .topbar .hide-sm { display: none; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .favorites,
  .gallery,
  .footer-grid { grid-template-columns: 1fr; }
  .gallery .g-wide { grid-column: auto; }
  .menu-card { padding: 26px 20px 18px; }
  .logo .logo-main { font-size: 28px; }
}
