/* ============================================
   Lahmacun Atölyesi · by Kemerpide
   Renk paleti ve fontlar kemerpide.com.tr ile uyumlu
   ============================================ */
:root {
  --primary: #8b3a1f;
  --primary-dark: #6b2815;
  --primary-light: #c2662f;
  --secondary: #5a2414;
  --secondary-dark: #3a1508;
  --accent: #e89642;
  --cream: #fde8cc;
  --cream-light: #fff7ec;
  --bg: #fdf6ed;
  --card: #ffffff;
  --text: #2b1a10;
  --text-soft: #7b5a45;
  --text-muted: #a89582;
  --border: #f0dcc0;
  --wa-1: #25d366;
  --wa-2: #128c7e;
  --shadow-sm: 0 1px 2px rgba(58, 21, 8, 0.06);
  --shadow: 0 4px 14px rgba(58, 21, 8, 0.08);
  --shadow-lg: 0 10px 30px rgba(58, 21, 8, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1140px, 92%); margin-inline: auto; }
.section { padding: 84px 0; }

/* ---------- Üst bar ---------- */
.topbar {
  background: var(--secondary-dark);
  color: var(--cream);
  font-size: 13px;
  padding: 7px 0;
}
.topbar-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.topbar-left { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar-item { opacity: .9; transition: opacity .2s; }
a.topbar-item:hover { opacity: 1; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 247, 236, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-badge {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  font-size: 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  box-shadow: var(--shadow);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-family: var(--font-heading); font-size: 20px; color: var(--primary-dark); }
.logo-text small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.nav { display: flex; gap: 26px; }
.nav-link {
  font-weight: 500; font-size: 15px; color: var(--text-soft);
  padding: 6px 0; position: relative; transition: color .2s;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--primary); transition: width .25s;
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--primary-dark); margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex; align-items: flex-end; justify-content: center;
  overflow: hidden;
  background: var(--secondary-dark);
}
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; transition: opacity 1s ease;
  background:
    linear-gradient(rgba(42, 16, 5, .72), rgba(42, 16, 5, .82)),
    var(--img) center/cover no-repeat;
}
.hero-slide.is-active { opacity: 1; }
.hero-content { width: min(1140px, 92%); margin-inline: auto; color: var(--cream-light); padding-bottom: 120px; }
.hero-kicker {
  letter-spacing: .3em; text-transform: uppercase; font-size: 13px;
  color: var(--accent); font-weight: 600; margin-bottom: 14px;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.05; font-weight: 800;
  text-shadow: 0 4px 30px rgba(0,0,0,.4);
}
.hero-sub { margin-top: 18px; max-width: 520px; font-size: 17px; color: #f4e3cd; }
.hero-actions {
  position: absolute; bottom: 88px; left: 50%; transform: translateX(-50%);
  width: min(1140px, 92%);
  display: flex; gap: 14px; flex-wrap: wrap;
  z-index: 3;
}
.hero-dots {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 3;
}
.hero-dots button {
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid var(--cream); background: transparent;
  cursor: pointer; transition: .25s;
}
.hero-dots button.is-active { background: var(--accent); border-color: var(--accent); }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 0; cursor: pointer;
  font-family: var(--font); font-weight: 600; font-size: 15px;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; box-shadow: var(--shadow-lg); }
.btn-whatsapp { background: linear-gradient(135deg, var(--wa-1), var(--wa-2)); color: #fff; box-shadow: 0 10px 26px rgba(18, 140, 126, .35); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-outline-light { background: transparent; color: var(--cream-light); border: 2px solid var(--cream-light); }
.btn-outline-light:hover { background: var(--cream-light); color: var(--primary-dark); }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-block { width: 100%; border-radius: var(--radius); padding: 16px; font-size: 16px; }

/* ---------- Kayan yazı ---------- */
.ticker {
  background: var(--primary-dark);
  color: var(--cream);
  overflow: hidden;
  padding: 12px 0;
  font-size: 14px; font-weight: 500;
}
.ticker-track { display: flex; white-space: nowrap; animation: ticker 28s linear infinite; }
.ticker-track span { padding-right: 16px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Bölüm başlıkları ---------- */
.section-kicker {
  letter-spacing: .28em; text-transform: uppercase; font-size: 12px;
  color: var(--primary-light); font-weight: 700; margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 44px);
  color: var(--secondary-dark);
  line-height: 1.15;
  margin-bottom: 18px;
}
.section-sub { color: var(--text-soft); max-width: 560px; }
.center { text-align: center; margin-inline: auto; }

/* ---------- Atölye / Hakkımızda ---------- */
.about-grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 60px; align-items: center;
}
.about-media { position: relative; }
.about-media img {
  border-radius: 50%;
  aspect-ratio: 1; object-fit: cover;
  border: 10px solid #fff;
  box-shadow: var(--shadow-lg);
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.about-stamp {
  position: absolute; right: 4%; bottom: 4%;
  background: var(--accent); color: var(--secondary-dark);
  font-weight: 700; font-size: 15px; text-align: center; line-height: 1.2;
  width: 96px; height: 96px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: var(--shadow-lg);
  rotate: -8deg;
}
.about-body p { color: var(--text-soft); margin-bottom: 14px; }
.about-body strong { color: var(--primary-dark); }
.about-stats { display: flex; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.stat {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 22px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; min-width: 130px;
}
.stat strong { font-family: var(--font-heading); font-size: 22px; color: var(--primary); }
.stat span { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Ürünler ---------- */
.products { background: linear-gradient(180deg, var(--bg), var(--cream-light)); }
.product-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .25s;
  position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card .badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--accent); color: var(--secondary-dark);
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
}
.product-thumb {
  width: 150px; height: 150px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--cream);
  box-shadow: var(--shadow);
  display: grid; place-items: center;
  background: var(--cream-light);
  font-size: 56px;
  transition: transform .3s;
}
.product-card:hover .product-thumb { transform: scale(1.06) rotate(3deg); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card h3 { font-family: var(--font-heading); font-size: 21px; color: var(--secondary-dark); margin-bottom: 6px; }
.product-card .price { color: var(--primary); font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.product-card .desc { font-size: 13.5px; color: var(--text-soft); min-height: 42px; }
.product-card .more {
  display: inline-block; margin-top: 12px;
  font-size: 13px; font-weight: 600; color: var(--primary-light);
}
.products-cta { margin-top: 46px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Sipariş bandı ---------- */
.order-band {
  background:
    linear-gradient(rgba(58, 21, 8, .88), rgba(58, 21, 8, .88)),
    url('https://kemerpide.com.tr/uploads/products/lahmacun.jpg') center/cover fixed no-repeat;
  color: var(--cream-light);
  padding: 84px 0;
}
.order-band-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.order-band h2 { font-family: var(--font-heading); font-size: clamp(28px, 4vw, 42px); margin-bottom: 8px; }
.order-band p { color: #ecd9bf; }
.order-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--secondary-dark); color: #e8d6bd; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px; padding: 60px 0 40px;
}
.footer-logo .logo-text strong { color: var(--cream); }
.footer-note { margin-top: 14px; font-size: 14px; color: #c9ab8a; }
.footer h4 {
  font-family: var(--font-heading); color: var(--cream);
  margin-bottom: 14px; font-size: 17px;
}
.footer p { font-size: 14px; margin-bottom: 8px; }
.footer a:hover { color: var(--accent); }
.footer-bar {
  border-top: 1px solid rgba(253, 232, 204, .15);
  padding: 18px 0; font-size: 13px; color: #b3906c;
}
.footer-bar a { color: var(--accent); }

/* ---------- Ürün Modalı (Kemerpide tarzı) ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: none;
}
.modal.is-open { display: block; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(43, 26, 16, .55);
  backdrop-filter: blur(6px);
}
.modal-card {
  position: relative;
  width: min(520px, 92%);
  max-height: 92vh;
  overflow-y: auto;
  margin: 4vh auto;
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: modalIn .3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(24px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: #fff; color: var(--text);
  font-size: 16px; font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform .15s;
}
.modal-close:hover { transform: rotate(90deg); }
.modal-media {
  padding: 28px 28px 0;
  display: grid; place-items: center;
  min-height: 200px;
}
.modal-media img { max-height: 300px; object-fit: contain; }
.modal-media .modal-emoji { font-size: 120px; line-height: 1; padding: 30px 0 10px; }
.modal-body { padding: 10px 28px 28px; }
.modal-title { font-family: var(--font-heading); font-size: 30px; color: var(--text); }
.modal-price { color: var(--primary); font-weight: 700; font-size: 24px; margin: 4px 0 12px; }
.modal-desc { color: var(--text-soft); font-size: 15px; margin-bottom: 18px; }

.modal-row {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--cream-light);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 12px;
  font-size: 14.5px;
}
.modal-row strong { color: var(--text); }
.modal-row-icon { font-size: 18px; line-height: 1.4; }
.allergen-pills { display: inline-flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.allergen-pill {
  background: #fff;
  border: 1px solid #f3c8c8;
  color: #b03a3a;
  font-size: 13px; font-weight: 500;
  padding: 4px 14px;
  border-radius: 999px;
}

.modal-nutrition {
  background: var(--cream-light);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 18px;
}
.modal-nutrition-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 15px; }
.modal-nutrition-head em { color: var(--text-muted); font-size: 13px; }
.nutrition-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.nutrition-box {
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 12px 6px;
  text-align: center;
  display: flex; flex-direction: column;
}
.nutrition-box.is-first { background: #fff; border: 1px solid var(--border); }
.nutrition-box strong { font-size: 20px; color: var(--primary-dark); }
.nutrition-box small { font-size: 11px; color: var(--text-muted); }
.nutrition-box span { font-size: 12px; color: var(--text-soft); margin-top: 2px; }
.nutrition-note {
  margin-top: 12px;
  font-size: 12.5px; font-style: italic; color: var(--text-muted);
  text-align: center;
}

/* ---------- Reveal animasyonu ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-media { max-width: 380px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  .nav {
    position: fixed; inset: 0 0 auto 0; top: 0;
    flex-direction: column; gap: 0;
    background: var(--cream-light);
    padding: 90px 8% 30px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-110%);
    transition: transform .35s ease;
    z-index: -1;
  }
  .nav.is-open { transform: translateY(0); }
  .nav-link { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 17px; }
  .nav-toggle { display: block; z-index: 60; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-content { padding-bottom: 170px; }
  .hero-actions { bottom: 80px; }
  .section { padding: 60px 0; }
  .order-band { background-attachment: scroll; }
  .nutrition-grid { grid-template-columns: repeat(2, 1fr); }
  .topbar-right { display: none; }
}
