/* =============================================================
   Yekta Ambalaj — style.css
   Editorial / utilitarian minimalism. Warm monochrome + single
   muted accent. Serif display + grotesk body. 1px lines, near-zero
   shadows, generous whitespace, quiet motion.
   Tüm renk/font/spacing değerleri :root değişkenlerinden düzenlenir.
   ============================================================= */

:root {
  /* Renk paleti (sıcak monokrom + tek vurgu) */
  --bg: #FBFBFA;
  --surface: #FFFFFF;
  --surface-2: #F6F5F1;
  --ink: #1A1D1B;
  --ink-soft: #3B403C;
  --muted: #7C7A74;
  --line: #E7E4DD;
  --line-strong: #D8D4CB;

  --accent: #21407D;          /* lacivert — ana marka vurgusu (logo) */
  --accent-ink: #15294F;
  --accent-soft: #EEF1F8;
  --navy: #17264E;            /* koyu bölümler: hero / cta / footer / topbar */
  --navy-deep: #0F1B3A;
  --gold: #C2A15B;            /* altın — ikincil vurgu (logo) */
  --gold-soft: #F6EEDB;

  --btn: #17264E;             /* birincil buton: lacivert */
  --btn-hover: #21345F;
  --wa: #1F8F5F;             /* WhatsApp yeşili (mute) */
  --wa-hover: #1A7A51;

  /* Tipografi */
  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Ölçü ve geçiş */
  --container: 1200px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 1px 2px rgba(26, 29, 27, 0.03);
  --shadow-hover: 0 6px 24px rgba(26, 29, 27, 0.06);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.surface-2 { background: var(--surface-2); }
.measure { max-width: 60ch; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.section-head { max-width: 56ch; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px;
  font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), transform 0.12s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--btn); color: #fff; }
.btn--primary:hover { background: var(--btn-hover); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--surface-2); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-hover); }
.btn--lg { padding: 16px 30px; font-size: 1rem; }
.btn svg { flex: none; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 38px; }
.topbar__info { display: flex; gap: 22px; }
.topbar__info a { color: rgba(255, 255, 255, 0.78); transition: color 0.2s var(--ease); }
.topbar__info a:hover { color: #fff; }
.topbar__info b { font-weight: 600; color: rgba(255, 255, 255, 0.55); margin-right: 4px; }

/* ---------- Header ---------- */
/* Koyu (lacivert) header: topbar ile birleşerek tek bir koyu bant oluşturur.
   Beyaz logo (logo-haser-light.webp) ve açık renk nav yazıları kullanılır. */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(23, 38, 78, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 150px; }

/* Anasayfa: header ayrı bant olarak değil, doğrudan slider üzerine şeffaf biner.
   Sayfa kaydırıldığında (is-scrolled) lacivert zemine kavuşur. */
.header.header--overlay {
  position: fixed; left: 0; right: 0; top: 0; z-index: 100;
  background: transparent; backdrop-filter: none; border-bottom-color: transparent;
  transition: background-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease), border-color 0.3s var(--ease);
}
.header.header--overlay.is-scrolled {
  background: rgba(23, 38, 78, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom-color: rgba(255, 255, 255, 0.10);
}
/* Anasayfada üstteki ayrı iletişim barı gizli (header slider üstünde) */
body[data-page="home"] .topbar { display: none; }

/* Anasayfada üst bar olmadığı için 144px'lik logo, 150px'lik header bandında
   ekranın en üstüne yapışık duruyordu. Sadece anasayfada üst/alt nefes payı. */
body[data-page="home"] .header__inner { height: auto; padding: 16px 0; }

/* Anasayfa header'ı slider üzerine fixed biniyor, yani slayt içeriğini itmiyor.
   Mobilde slaytın üstten ne kadar boşluk bırakması gerektiğini bu değişken taşır:
   logo yüksekliği + header__inner dikey padding (2 × 16px). Logo boyu 480px'te
   düştüğü için değişken de orada güncellenir. */
body[data-page="home"] { --home-header-h: 176px; }

.brand { display: flex; align-items: center; gap: 11px; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 9px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600;
}
.brand__logo { height: 144px; width: auto; display: block; }
@media (max-width: 480px) {
  .brand__logo { height: 108px; margin-left:20px }
  body[data-page="home"] { --home-header-h: 140px; }
}
.brand__name { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 500; letter-spacing: -0.01em; }
.brand__name span { color: var(--accent); }

/* Primary nav (koyu header üzerinde açık renk, büyük yazılar) */
.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 15px; font-size: 1.2rem; font-weight: 500; color: rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-sm); transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav__link:hover { color: #fff; }
.nav__link.is-current { color: var(--gold); }
.nav__caret { width: 15px; height: 15px; transition: transform 0.2s var(--ease); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 240px; padding: 8px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-hover);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.has-dropdown:hover .nav__caret { transform: rotate(180deg); }
.dropdown a {
  display: block; padding: 10px 12px; border-radius: var(--radius-sm);
  font-size: 1.02rem; color: var(--ink-soft); transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}
.dropdown a:hover { background: var(--surface-2); color: var(--ink); }

/* Header actions */
.header__actions { display: flex; align-items: center; gap: 12px; }
.lang {
  padding: 8px 14px; font-size: 0.98rem; font-weight: 600; letter-spacing: 0.02em; color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35); border-radius: var(--radius-sm);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.lang:hover { background: rgba(255, 255, 255, 0.10); border-color: #fff; }

/* Hamburger (koyu header üzerinde beyaz) */
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: var(--radius-sm); }
.nav-toggle span { display: block; width: 20px; height: 1.6px; margin: 4px auto; background: #fff; transition: transform 0.25s var(--ease), opacity 0.2s var(--ease); }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 0; background: var(--navy); color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; filter: grayscale(28%); }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,27,58,0.93) 0%, rgba(15,27,58,0.74) 48%, rgba(15,27,58,0.42) 100%); }
.hero__inner { position: relative; z-index: 2; padding: 132px 0 120px; max-width: 760px; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); color: #fff; }
.hero p { margin-top: 22px; max-width: 56ch; font-size: 1.15rem; color: rgba(255,255,255,0.82); }
.hero__actions { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Hero slider (anasayfa) ---------- */
.hero-slider {
  position: relative; min-height: clamp(520px, 74vh, 700px);
  background: var(--navy); color: #fff; overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  opacity: 0; z-index: 1; pointer-events: none;
  transition: opacity 0.8s var(--ease);
}
.hero-slide.is-active { opacity: 1; z-index: 2; pointer-events: auto; }
.hero-slide__media { position: absolute; inset: 0; }
.hero-slide__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; filter: grayscale(28%); }
.hero-slide__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,27,58,0.93) 0%, rgba(15,27,58,0.74) 48%, rgba(15,27,58,0.42) 100%); }
.hero-slide .container { position: relative; z-index: 2; width: 100%; }
.hero-slide__inner { max-width: 760px; padding: 48px 0; }
.hero-slide .eyebrow { color: var(--gold); }
.hero-slide h1, .hero-slide h2 { font-size: clamp(2.4rem, 5.2vw, 4rem); color: #fff; font-weight: 500; }
.hero-slide p { margin-top: 22px; max-width: 56ch; font-size: 1.15rem; color: rgba(255,255,255,0.82); }
.hero-slide__actions { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero-slider__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.12); color: #fff;
  display: grid; place-items: center;
  transition: background-color 0.2s var(--ease);
}
.hero-slider__nav:hover { background: rgba(255,255,255,0.24); }
.hero-slider__nav--prev { left: 20px; }
.hero-slider__nav--next { right: 20px; }
.hero-slider__dots { position: absolute; left: 0; right: 0; bottom: 24px; z-index: 5; display: flex; justify-content: center; gap: 10px; }
.hero-slider__dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.35); transition: background-color 0.2s var(--ease), transform 0.2s var(--ease); }
.hero-slider__dot:hover { background: rgba(255,255,255,0.6); }
.hero-slider__dot.is-active { background: #fff; transform: scale(1.25); }

/* ---------- Feature row ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.feature { padding: 38px 34px; border-right: 1px solid var(--line); }
.feature:last-child { border-right: none; }
.feature__icon { width: 44px; height: 44px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 20px; }
.feature h3 { font-size: 1.3rem; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 0.98rem; }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 72px; align-items: center; }
.split__media img { border-radius: var(--radius-lg); border: 1px solid var(--line); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__text h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.split__text p { color: var(--ink-soft); margin-top: 18px; }
.split__text .btn { margin-top: 30px; }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease); }
.cat-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: var(--line-strong); }
.cat-card__media { aspect-ratio: 16 / 11; overflow: hidden; background: var(--surface-2); }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.cat-card:hover .cat-card__media img { transform: scale(1.04); }
.cat-card__body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.cat-card__body h3 { font-size: 1.4rem; margin-bottom: 10px; }
.cat-card__body p { color: var(--muted); font-size: 0.96rem; flex: 1; }
.cat-card__cta { margin-top: 20px; display: inline-flex; align-items: center; gap: 7px; font-size: 0.9rem; font-weight: 600; color: var(--accent); }
.cat-card:hover .cat-card__cta svg { transform: translateX(3px); }
.cat-card__cta svg { transition: transform 0.2s var(--ease); }

/* ---------- CTA band ---------- */
.cta { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 72px 56px; text-align: center; }
.cta .eyebrow { color: var(--gold); }
.cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: #fff; max-width: 22ch; margin: 0 auto; }
.cta p { color: rgba(255,255,255,0.78); max-width: 52ch; margin: 16px auto 0; }
.cta__actions { margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Page header ---------- */
.page-head { border-bottom: 1px solid var(--line); background: var(--surface-2); }
.page-head__inner { padding: 72px 0 64px; max-width: 60ch; }
.page-head h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
.page-head p { color: var(--muted); margin-top: 16px; font-size: 1.08rem; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-align: left; }
.stat__num { font-family: var(--font-serif); font-size: 2.9rem; font-weight: 500; color: var(--accent); line-height: 1; }
.stat p { margin-top: 12px; color: var(--muted); font-size: 0.92rem; }

/* ---------- Vision / Mission ---------- */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm-card { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 40px; }
.vm-card h3 { font-size: 1.5rem; margin-bottom: 14px; }
.vm-card p { color: var(--ink-soft); }

/* ---------- Products filter + grid ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.filter-chip {
  padding: 9px 18px; font-size: 0.9rem; font-weight: 500;
  border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink-soft);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.filter-chip:hover { border-color: var(--navy); color: var(--navy); }
.filter-chip.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; min-height: 240px; }
.grid-status { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 48px 0; }
.grid-status--error { color: #9F2F2D; }

.product-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease); }
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: var(--line-strong); }
.product-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-card__body h3 { font-size: 1.18rem; margin-bottom: 8px; }
.product-card__body p { color: var(--muted); font-size: 0.9rem; flex: 1; }
.product-card__cta { margin-top: 18px; display: inline-flex; align-items: center; gap: 6px; font-size: 0.86rem; font-weight: 600; color: var(--accent); }
.product-card:hover .product-card__cta svg { transform: translateX(3px); }
.product-card__cta svg { transition: transform 0.2s var(--ease); }

/* ---------- Detail ---------- */
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--muted); margin-bottom: 36px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb__sep { color: var(--line-strong); }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.detail-media { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2); }
.detail-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.badge { display: inline-block; padding: 5px 12px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-soft); border-radius: 999px; margin-bottom: 16px; }
.detail-title { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.detail-desc { color: var(--ink-soft); margin-top: 18px; }
.specs { margin-top: 34px; }
.specs__title { font-size: 1.15rem; padding-bottom: 12px; border-bottom: 1px solid var(--line-strong); margin-bottom: 4px; }
.specs__table { width: 100%; border-collapse: collapse; }
.specs__table th, .specs__table td { text-align: left; padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 0.94rem; vertical-align: top; }
.specs__table th { font-weight: 600; color: var(--ink); width: 44%; }
.specs__table td { color: var(--muted); }
.detail-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.detail-empty { text-align: center; padding: 80px 0; }
.detail-empty h2 { margin-bottom: 22px; color: var(--muted); }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; }
.form-card h2 { font-size: 1.5rem; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 7px; }
.field .req { color: #9F2F2D; margin-left: 2px; }
.control { width: 100%; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea.control { min-height: 130px; resize: vertical; }
.form-card .btn { width: 100%; margin-top: 8px; }
/* Teklif formu: WhatsApp + e-posta gönderme butonları yan yana (dar ekranda alt alta) */
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.form-actions .btn { flex: 1 1 200px; width: auto; margin-top: 0; }
.form-note { margin-top: 14px; font-size: 0.85rem; color: var(--muted); text-align: center; }

/* Sidebar info cards */
.side-stack { display: flex; flex-direction: column; gap: 20px; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.info-card h3 { font-size: 1.15rem; margin-bottom: 18px; }
.info-list { display: flex; flex-direction: column; gap: 16px; }
.info-item { display: flex; gap: 13px; align-items: flex-start; }
.info-item__icon { color: var(--accent); flex: none; margin-top: 1px; }
.info-item h4 { font-family: var(--font-sans); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 2px; }
.info-item p, .info-item a { font-size: 0.96rem; color: var(--ink); }
.info-item a:hover { color: var(--accent); }
.hours-row { display: flex; justify-content: space-between; font-size: 0.92rem; padding: 7px 0; border-bottom: 1px solid var(--line); }
.hours-row:last-child { border-bottom: none; }
.hours-row span:last-child { color: var(--muted); }

/* WhatsApp callout */
.wa-callout { background: var(--accent-soft); border: 1px solid #cfe4df; border-radius: var(--radius); padding: 30px; }
.wa-callout h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--accent-ink); }
.wa-callout p { color: var(--ink-soft); font-size: 0.94rem; margin-bottom: 18px; }

/* Map */
.map { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; height: 380px; background: var(--surface-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(20%); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,0.72); padding: 80px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 48px; }
.footer__brand { font-family: var(--font-serif); font-size: 1.5rem; color: #fff; margin-bottom: 16px; }
.footer__brand span { color: var(--gold); }
.footer__logo { height: 102px; width: auto; display: block; margin-bottom: 18px; }
.footer p { font-size: 0.92rem; max-width: 36ch; }
.footer h4 { font-family: var(--font-sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 20px; }
.footer__links { display: flex; flex-direction: column; gap: 11px; }
.footer__links a { font-size: 0.92rem; color: rgba(255,255,255,0.72); transition: color 0.2s var(--ease); width: fit-content; }
.footer__links a:hover { color: #fff; }
.footer__contact { display: flex; flex-direction: column; gap: 12px; font-size: 0.92rem; }
.footer__contact div { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { color: var(--gold); flex: none; margin-top: 2px; }
.footer__bottom { margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.82rem; color: rgba(255,255,255,0.5); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 80;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(26,29,27,0.22);
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}
.wa-float:hover { background: var(--wa-hover); transform: scale(1.06); }
.wa-float:active { transform: scale(0.97); }

/* ---------- Çerez onayı bandı ---------- */
.cookie-bar {
  position: fixed; left: 24px; bottom: 24px; z-index: 85;
  max-width: 440px;
  background: var(--surface); color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  padding: 20px 22px;
  display: flex; flex-direction: column; gap: 14px;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.cookie-bar.is-visible { opacity: 1; transform: translateY(0); }
.cookie-bar__text { font-size: 0.9rem; line-height: 1.55; max-width: none; }
.cookie-bar__actions { display: flex; gap: 10px; }
.cookie-bar .btn { padding: 10px 20px; }
@media (max-width: 560px) {
  .cookie-bar { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-bar { transition: none; }
}

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: calc(var(--index, 0) * 70ms); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split { gap: 48px; }

  /* Buyutulen nav yazilari 901-1024px arasinda logo + dil butonuyla
     ayni satira sigsin diye yatay bosluklar kisiltilir. */
  .nav { gap: 2px; }
  .nav__link { padding-left: 11px; padding-right: 11px; font-size: 1.1rem; }
}

@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .nav-toggle { display: block; }
  .topbar { display: none; }

  /* backdrop-filter, position:fixed alt elemanlar için içeren blok oluşturur ve
     mobil menüyü header kutusuna hapseder. Mobilde kaldırıp opak koyu zemin veriyoruz. */
  .header { background: var(--navy); backdrop-filter: none; z-index: 100; }

  /* Off-canvas menü paneli açık zeminli olduğundan içindeki bağlantılar koyu renk */
  .nav .nav__link { color: var(--ink-soft); }
  .nav .nav__link:hover { color: var(--ink); }
  .nav .nav__link.is-current { color: var(--accent); }

  /* Menü açıkken arka planı karartan katman (JS dışa tıklamada kapatır) */
  body.no-scroll::before {
    content: ""; position: fixed; inset: 0;
    background: rgba(15, 27, 58, 0.44);
    z-index: 90;
  }

  .nav {
    position: fixed; top: 0; right: -100%; bottom: 0; width: min(82vw, 340px);
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--surface); border-left: 1px solid var(--line);
    padding: 92px 22px 32px; overflow-y: auto;
    box-shadow: -12px 0 40px rgba(26,29,27,0.08);
    transition: right 0.32s var(--ease);
  }
  .nav.is-open { right: 0; }
  .nav__link { padding: 14px 14px; font-size: 1.14rem; border-radius: var(--radius-sm); }
  .nav__link:hover { background: var(--surface-2); }

  /* Dropdown -> accordion */
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; border-left: 2px solid var(--line);
    margin: 2px 0 6px 14px; padding: 0; border-radius: 0;
    max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease);
  }
  .has-dropdown.is-open .dropdown { max-height: 480px; }
  .has-dropdown.is-open .nav__caret { transform: rotate(180deg); }

  .features { grid-template-columns: 1fr; }
  .feature { border-right: none; border-bottom: 1px solid var(--line); }
  .feature:last-child { border-bottom: none; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split__media { order: -1; }
  .cat-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .vm-grid { grid-template-columns: 1fr; }
  .form-layout { grid-template-columns: 1fr; gap: 36px; }
  .cta { padding: 56px 28px; }

  /* Slayt metni, üzerine binen header'ın altında kalmasın: dikey ortalama yerine
     üstten hizalanıp header yüksekliği kadar aşağıdan başlar. */
  body[data-page="home"] .hero-slider { min-height: calc(var(--home-header-h) + 480px); }
  body[data-page="home"] .hero-slide { align-items: flex-start; }
  /* Dar ekranda metin uzayıp butonlar alt alta binince içerik sabit yüksekliğe
     sığmıyor, slider onu kırpıyordu. Aktif slayt akışta kalıp slider'ın boyunu
     kendisi belirler; pasif slaytlar absolute olarak üstüne biner (geçiş bozulmaz)
     ve min-height yalnızca alt sınır olarak kalır. */
  body[data-page="home"] .hero-slide.is-active { position: relative; }
  body[data-page="home"] .hero-slide__inner { padding: calc(var(--home-header-h) + 24px) 0 64px; }
  /* Mobilde metin kenara fazla yaslanıyordu; slaytta biraz daha nefes payı. */
  body[data-page="home"] .hero-slide .container { padding-left: 28px; padding-right: 28px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .hero__inner { padding: 92px 0 80px; }
  .hero__actions .btn, .cta__actions .btn { width: 100%; }
  .hero-slider__nav { display: none; }
  .hero-slide__actions .btn { width: 100%; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .products-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .form-card, .info-card { padding: 28px; }
}
