/* ==========================================================
   Kasap İrfan & Izgara
   Renkler logodan ve tabeladan alınmıştır.
   ========================================================== */
:root {
  --black: #0f0d0c;
  --black-2: #171412;
  --black-3: #211c19;
  --gold: #c9a24a;
  --gold-light: #e6c877;
  --red: #9e1b1b;
  --red-bright: #c42a24;
  --cream: #f3ead8;
  --muted: #b9ad98;
  --line: rgba(201, 162, 74, 0.28);

  --font-head: "Cinzel", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 10px;
  --nav-h: 72px;
}

*, *::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.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  letter-spacing: 0.02em;
}

h2 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); color: var(--cream); }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* Tabeladaki altın çizgi + ortada kırmızı alev noktası */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 18px auto 0;
  max-width: 220px;
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.divider::after { background: linear-gradient(90deg, var(--gold), transparent); }
.divider span {
  width: 8px; height: 8px;
  background: var(--red-bright);
  transform: rotate(45deg);
}
.divider--left { margin-left: 0; justify-content: flex-start; }
.divider--left::before { display: none; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--black);
}
.btn--gold:hover { background: var(--gold-light); }
.btn--outline { border-color: var(--gold); color: var(--gold-light); }
.btn--outline:hover { background: var(--gold); color: var(--black); }
.btn--sm { padding: 9px 18px; font-size: 0.88rem; }

/* ---------- Menü ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(15, 13, 12, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.nav.is-scrolled { background: rgba(15, 13, 12, 0.95); border-bottom-color: var(--line); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav__brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--gold-light);
  letter-spacing: 0.04em;
}
.nav__brand img { width: 48px; height: 48px; border-radius: 50%; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a:not(.btn) {
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--cream);
  position: relative;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--gold);
  transition: width .25s;
}
.nav__links a:not(.btn):hover::after { width: 100%; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; padding: 10px;
  cursor: pointer;
}
.nav__toggle span {
  display: block; height: 2px; margin: 5px 0;
  background: var(--gold-light);
  transition: transform .3s, opacity .3s;
}
.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); }

/* ---------- Giriş ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 80px;
  overflow: hidden;
  text-align: center;
}
.hero__bg {
  position: absolute; inset: 0;
  background: url("../images/tabela/tabela.jpg") center 35% / cover no-repeat;
  transform: scale(1.05);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(15,13,12,.55) 0%, rgba(15,13,12,.85) 70%),
    linear-gradient(180deg, rgba(15,13,12,.5) 0%, var(--black) 100%);
}
.hero__content { position: relative; }
.hero__logo {
  width: 140px; height: 140px;
  margin: 0 auto 22px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--gold), 0 12px 40px rgba(0,0,0,.6);
}
.hero h1 {
  font-size: clamp(2.6rem, 9vw, 5rem);
  font-weight: 800;
  background: linear-gradient(180deg, var(--gold-light), var(--gold) 60%, #a67c2e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 span {
  display: block;
  font-size: 0.42em;
  letter-spacing: 0.2em;
  margin-top: 6px;
}
.hero__slogan {
  margin: 18px 0 0;
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.hero__text { max-width: 520px; margin: 14px auto 0; color: var(--muted); }
.hero__actions {
  margin-top: 34px;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
}
.hero__location {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 22px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}
.hero__location svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--gold); }
.hero__location span { color: var(--gold-light); font-weight: 500; }
.hero__location:hover span { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Bölümler ---------- */
.section { padding: 96px 0; }
.section--dark {
  background: var(--black-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section__head { text-align: center; margin-bottom: 48px; }

/* Hakkımızda */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.about__img { position: relative; }
.about__img::before {
  content: ""; position: absolute; inset: 16px -16px -16px 16px;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
}
.about__img img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 70%;
  border-radius: var(--radius);
}
.about__text p { color: var(--muted); margin: 18px 0 0; }
.about__text .eyebrow { margin: 0 0 10px; }
.about__stats {
  list-style: none; padding: 0; margin: 32px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.about__stats li {
  text-align: center;
  padding: 16px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--black-2);
}
.about__stats strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--gold-light);
}
.about__stats span { font-size: 0.82rem; color: var(--muted); }

/* Ürünler */
.tabs {
  display: flex; justify-content: center; gap: 8px;
  margin-bottom: 36px;
}
.tab {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  padding: 12px 30px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all .2s;
}
.tab:hover { color: var(--cream); border-color: var(--gold); }
.tab.is-active { background: var(--red); border-color: var(--red); color: var(--cream); }

.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.menu-col {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--black);
}
.menu-col h3 {
  font-size: 1.15rem;
  color: var(--gold-light);
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.menu-col ul { list-style: none; margin: 0; padding: 0; }
.menu-col li {
  padding: 9px 0 9px 22px;
  position: relative;
  border-bottom: 1px dashed rgba(201,162,74,.15);
}
.menu-col li:last-child { border-bottom: 0; }
.menu-col li::before {
  content: ""; position: absolute; left: 2px; top: 50%;
  width: 7px; height: 7px; margin-top: -3.5px;
  background: var(--red-bright);
  transform: rotate(45deg);
}
.panel.is-active { animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.menu-note { text-align: center; margin: 32px 0 0; color: var(--muted); font-size: 0.93rem; }

/* Neden biz */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  text-align: center;
  padding: 36px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--black-3), var(--black-2));
  transition: transform .25s, border-color .25s;
}
.feature:hover { transform: translateY(-4px); border-color: var(--gold); }
.feature svg {
  width: 52px; height: 52px;
  padding: 12px;
  color: var(--gold-light);
  background: rgba(158, 27, 27, .35);
  border-radius: 50%;
  margin-bottom: 18px;
}
.feature h3 { font-size: 1.05rem; color: var(--cream); margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* Galeri */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .5s;
}
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 20px 16px;
  background: linear-gradient(transparent, rgba(15,13,12,.9));
  font-family: var(--font-head);
  color: var(--gold-light);
  letter-spacing: 0.05em;
}

/* İletişim */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: stretch; }
.contact__item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact__item:first-child { padding-top: 0; }
.contact__item svg { width: 26px; height: 26px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.contact__item h3 { font-size: 1rem; color: var(--gold-light); margin-bottom: 4px; }
.contact__item p { margin: 0; color: var(--muted); }
.contact__item a { text-decoration: none; color: var(--cream); font-weight: 600; font-size: 1.1rem; }
.contact__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.map {
  min-height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--black-2);
}
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: grayscale(.2) contrast(1.05); }
.map__placeholder {
  height: 100%; min-height: 380px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 24px; text-align: center; color: var(--muted);
  background:
    repeating-linear-gradient(45deg, transparent 0 22px, rgba(201,162,74,.04) 22px 23px),
    var(--black-2);
}
.map__placeholder svg { width: 48px; height: 48px; color: var(--red-bright); }
.map__placeholder p { margin: 0; max-width: 280px; }

/* Alt bilgi */
.footer {
  padding: 56px 0 100px;
  background: #0a0908;
  border-top: 1px solid var(--line);
  text-align: center;
}
.footer img { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 14px; }
.footer p { margin: 4px 0; color: var(--muted); }
.footer__name { font-family: var(--font-head); font-size: 1.2rem; color: var(--gold-light) !important; }
.footer__slogan { letter-spacing: 0.25em; text-transform: uppercase; font-size: 0.8rem; }
.footer a { text-decoration: none; color: var(--cream); font-weight: 600; }
.footer__copy { margin-top: 20px !important; font-size: 0.82rem; opacity: .7; }

/* Sabit butonlar */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: flex; flex-direction: column; gap: 12px;
}
.fab__btn {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.45);
  transition: transform .2s;
}
.fab__btn:hover { transform: scale(1.08); }
.fab__btn svg { width: 28px; height: 28px; }
.fab__btn--wa { background: #25d366; }
.fab__btn--call { background: var(--red); display: none; }

/* ---------- Duyarlı ---------- */
@media (max-width: 980px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .about { gap: 48px; }
}

@media (max-width: 820px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 20px 24px;
    background: rgba(15, 13, 12, 0.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform .3s, visibility .3s;
  }
  .nav__links.is-open { transform: none; visibility: visible; }
  .nav__links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__links .btn { margin-top: 18px; }

  .about, .contact { grid-template-columns: 1fr; }
  .about__img { max-width: 440px; margin: 0 auto; width: calc(100% - 16px); }
  .menu-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .fab__btn--call { display: grid; }
}

@media (max-width: 520px) {
  .section { padding: 72px 0; }
  .container { padding: 0 16px; }
  .features { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .contact__buttons .btn { flex: 1 1 100%; }
  .nav__brand span { font-size: 1rem; }
  .map, .map__placeholder, .map iframe { min-height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
