/* =========================================================
   ZipBerry — Ortak Stil Dosyası
   Renkler logodan alınmıştır.
   ========================================================= */
:root {
  --plum: #6b0e3b;        /* Logo "Zip" bordo */
  --plum-deep: #4a0827;
  --plum-soft: #8a1d50;
  --berry: #e8115b;       /* Logo "Berry" pembe */
  --berry-soft: #ff4d86;
  --leaf: #4caf2e;        /* Logo yaprak yeşili */
  --leaf-dark: #2f8a1a;
  --cream: #fef7f4;       /* Afiş zemin rengi */
  --cream-2: #f9ebe5;
  --sand: #f4dfd5;
  --ink: #3a0a22;
  --muted: #7d5a6a;
  --white: #ffffff;

  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 36px;
  --shadow-sm: 0 4px 14px rgba(107, 14, 59, .08);
  --shadow: 0 18px 50px -12px rgba(107, 14, 59, .22);
  --shadow-lg: 0 30px 80px -20px rgba(74, 8, 39, .45);

  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-logo: "Fredoka", "Outfit", sans-serif;

  --container: 1200px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0; color: var(--plum); letter-spacing: -.02em; }
p { margin: 0; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(70px, 10vw, 130px) 0; position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600;
  font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--berry);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

.section-title { font-size: clamp(34px, 5vw, 58px); font-weight: 800; margin: 14px 0 18px; }
.section-title em { font-style: normal; color: var(--berry); }
.section-lead { color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); max-width: 620px; }
.center { text-align: center; }
.center .section-lead { margin-inline: auto; }

/* ---------- Logo ---------- */
.logo {
  font-family: var(--font-logo); font-weight: 700;
  font-size: 32px; line-height: 1; letter-spacing: -.035em;
  display: inline-flex; align-items: baseline; white-space: nowrap;
}
.logo .zip { color: var(--plum); }
.logo .berry { color: var(--berry); }
.logo .i { position: relative; display: inline-block; }
.logo .i svg {
  position: absolute; left: 50%; top: -.06em;
  width: .52em; height: .52em; transform: translateX(-28%) rotate(-8deg);
}
.logo.light .zip { color: var(--white); }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--berry); color: var(--white); box-shadow: 0 12px 30px -10px rgba(232, 17, 91, .7); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 38px -10px rgba(232, 17, 91, .8); }
.btn-dark { background: var(--plum); color: var(--white); }
.btn-dark:hover { background: var(--plum-deep); transform: translateY(-3px); }
.btn-outline { border-color: var(--plum); color: var(--plum); }
.btn-outline:hover { background: var(--plum); color: var(--white); }
.btn-light { background: var(--white); color: var(--plum); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.btn-ghost-light { border-color: rgba(255,255,255,.4); color: var(--white); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: var(--white); }

/* ---------- Duyuru şeridi ---------- */
.topbar {
  background: var(--plum); color: #fde6ee; font-size: 14px;
  font-family: var(--font-display); letter-spacing: .02em;
  overflow: hidden; white-space: nowrap; position: relative; z-index: 60;
}
.topbar-track { display: inline-flex; gap: 48px; padding: 10px 0; animation: marquee 32s linear infinite; }
.topbar-track span { display: inline-flex; align-items: center; gap: 48px; }
.topbar-track b { color: var(--white); }
.topbar-track i { width: 6px; height: 6px; background: var(--berry); border-radius: 50%; display: inline-block; }

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Navigasyon ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(254, 247, 244, .82);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled { border-color: rgba(107, 14, 59, .08); box-shadow: 0 8px 30px -18px rgba(107, 14, 59, .35); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }
.nav-links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--font-display); font-weight: 500; font-size: 15.5px;
  padding: 10px 16px; border-radius: 999px; color: var(--plum);
  transition: background .25s, color .25s;
}
.nav-links a:hover { background: var(--cream-2); }
.nav-links a.active { background: var(--plum); color: var(--white); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 12px 22px; font-size: 15px; }
.icon-btn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid rgba(107, 14, 59, .18); color: var(--plum); transition: .3s;
}
.icon-btn:hover { background: var(--plum); color: var(--white); border-color: var(--plum); }
.icon-btn svg { width: 20px; height: 20px; }
.burger { display: none; background: none; border: 0; width: 46px; height: 46px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--plum); border-radius: 2px; transition: .35s var(--ease); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 30px; }
.nav.open .burger span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

/* ---------- Footer ---------- */
.footer { background: var(--plum-deep); color: #e9cdd9; padding: 80px 0 30px; position: relative; overflow: hidden; }
.footer::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  right: -180px; top: -260px; background: radial-gradient(circle, rgba(232,17,91,.35), transparent 65%);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; position: relative; }
.footer h4 { color: var(--white); font-size: 16px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--white); }
.footer .logo { font-size: 40px; margin-bottom: 16px; }
.footer .tagline { max-width: 300px; font-size: 15.5px; }
.footer-bottom {
  margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; position: relative;
}
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: .3s; }
.social a:hover { background: var(--berry); }
.social svg { width: 20px; height: 20px; }

/* ---------- Görünme animasyonu ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; } .reveal.d4 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(42, 4, 22, .88);
  display: grid; place-items: center; padding: 30px;
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.lightbox.show { opacity: 1; pointer-events: auto; }
.lightbox img { max-height: 90vh; width: auto; border-radius: 18px; box-shadow: var(--shadow-lg); transform: scale(.94); transition: transform .45s var(--ease); }
.lightbox.show img { transform: none; }
.lightbox-close {
  position: absolute; top: 20px; right: 20px; width: 50px; height: 50px; border-radius: 50%;
  border: 0; background: var(--white); color: var(--plum); font-size: 26px; line-height: 1; z-index: 3;
}
/* Yakınlaştırma */
.lightbox { overflow: hidden; touch-action: none; overscroll-behavior: contain; }
.lightbox img {
  max-width: 100%; cursor: zoom-in; touch-action: none; user-select: none; -webkit-user-drag: none;
  will-change: transform; transition: transform .35s var(--ease);
}
.lightbox.zoomed img { cursor: grab; max-height: 90vh; border-radius: 6px; }
.lightbox.zoomed.lb-live img { cursor: grabbing; }
.lightbox.lb-live img { transition: none; }
.lb-tools {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3;
  display: flex; align-items: center; gap: 6px; padding: 6px;
  background: rgba(255,255,255,.96); border-radius: 999px; box-shadow: var(--shadow);
}
.lb-tools button {
  min-width: 42px; height: 42px; border-radius: 999px; border: 0; background: var(--cream-2);
  color: var(--plum); font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1;
  transition: background .2s, color .2s;
}
.lb-tools button:hover { background: var(--plum); color: var(--white); }
.lb-tools .lb-reset { font-size: 14px; padding: 0 16px; }
.lb-level { min-width: 56px; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--plum); }
.lb-hint {
  position: absolute; left: 50%; top: 24px; transform: translateX(-50%); z-index: 2;
  color: rgba(255,255,255,.8); font-size: 13.5px; text-align: center; white-space: nowrap;
  background: rgba(42,4,22,.55); padding: 8px 16px; border-radius: 999px; transition: opacity .3s;
}
.lightbox.zoomed .lb-hint { opacity: 0; }
@media (max-width: 560px) {
  .lb-hint { top: auto; bottom: 84px; white-space: normal; width: max-content; max-width: 86vw; }
}

/* ---------- Responsive (ortak) ---------- */
@media (max-width: 980px) {
  .burger { display: block; }
  .nav-links {
    position: fixed; inset: 80px 0 auto 0; flex-direction: column; gap: 4px;
    background: var(--cream); padding: 20px; border-bottom: 1px solid var(--sand);
    box-shadow: 0 30px 40px -20px rgba(107,14,59,.25);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .35s var(--ease);
  }
  .nav-links a { display: block; padding: 14px 18px; font-size: 18px; }
  .nav.open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav-cta .btn { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .logo { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
}


/* ---------- ZipBerry ikonları (assets/img/icons.svg) ---------- */
.zi { width: 1.3em; height: 1.3em; display: block; flex: none; }
.zi-inline { display: inline-block; width: 1.15em; height: 1.15em; vertical-align: -.2em; }

/* ---------- Üst menü: Kurumsal açılır menüsü ---------- */
.has-sub { position: relative; }
.nav-sub-toggle {
  display: inline-flex; align-items: center; gap: 6px; border: 0; background: none;
  font-family: var(--font-display); font-weight: 500; font-size: 15.5px; color: var(--plum);
  padding: 10px 16px; border-radius: 999px; transition: background .25s, color .25s;
}
.nav-sub-toggle svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.nav-sub-toggle:hover, .has-sub:hover > .nav-sub-toggle { background: var(--cream-2); }
.nav-sub-toggle.active { background: var(--plum); color: var(--white); }
.has-sub.open > .nav-sub-toggle svg, .has-sub:hover > .nav-sub-toggle svg { transform: rotate(180deg); }
.nav-sub {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 12px); left: -8px; min-width: 270px;
  background: var(--white); border-radius: 20px; box-shadow: var(--shadow); border: 1px solid rgba(107,14,59,.06);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* fareyle geçiş boşluğu */
.has-sub:hover > .nav-sub, .has-sub:focus-within > .nav-sub, .has-sub.open > .nav-sub { opacity: 1; visibility: visible; transform: none; }
.nav-sub a { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 14px; }
.nav-links .nav-sub a { padding: 12px 16px; }
.nav-sub a b { font-weight: 600; font-size: 15.5px; }
.nav-sub a small { font-family: var(--font-body); font-size: 13px; color: var(--muted); font-weight: 400; }
.nav-sub a.active { background: var(--cream-2); color: var(--plum); }
.nav-sub a.active small { color: var(--muted); }

@media (max-width: 980px) {
  .nav-links { max-height: calc(100svh - 80px); overflow-y: auto; }
  .nav-sub-toggle { width: 100%; justify-content: space-between; padding: 14px 18px; font-size: 18px; }
  .has-sub:hover > .nav-sub-toggle svg { transform: none; }
  .has-sub.open > .nav-sub-toggle svg { transform: rotate(180deg); }
  .nav-sub {
    position: static; min-width: 0; box-shadow: none; border: 0; background: var(--cream-2); margin: 4px 0 6px;
    display: none; opacity: 1; visibility: visible; transform: none;
  }
  .has-sub:hover > .nav-sub, .has-sub:focus-within > .nav-sub { display: none; }
  .has-sub.open > .nav-sub { display: block; }
  .nav-sub::before { display: none; }
}

/* ---------- Footer: yasal linkler ---------- */
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.footer-legal a, .footer-legal button { color: #e9cdd9; font-size: 14px; }
.footer-legal button { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover, .footer-legal button:hover { color: var(--white); }

/* ---------- Çerez bildirimi ---------- */
.cookie {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 150; margin-inline: auto; max-width: 980px;
  background: var(--white); color: var(--ink); border-radius: 24px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(107,14,59,.08); padding: 24px 26px;
  transform: translateY(20px); opacity: 0; transition: transform .45s var(--ease), opacity .35s;
}
.cookie.show { transform: none; opacity: 1; }
.cookie[hidden] { display: none; }
.cookie-main { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; }
.cookie-ic { width: 52px; height: 52px; border-radius: 16px; background: var(--cream-2); display: grid; place-items: center; }
.cookie-ic svg { width: 30px; height: 30px; }
.cookie h2 { font-size: 18px; margin-bottom: 4px; }
.cookie p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.cookie p a { color: var(--berry); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.cookie .btn { padding: 12px 20px; font-size: 14.5px; }
.cookie-prefs { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--sand); display: grid; gap: 12px; }
.cookie-prefs[hidden] { display: none; }
.cookie-opt { display: flex; justify-content: space-between; gap: 18px; align-items: center; background: var(--cream); border-radius: 16px; padding: 14px 16px; }
.cookie-opt b { font-family: var(--font-display); color: var(--plum); display: block; font-size: 15.5px; }
.cookie-opt span { font-size: 13.5px; color: var(--muted); }
.cookie-opt em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--leaf-dark); white-space: nowrap; }
.switch { position: relative; flex: none; width: 50px; height: 28px; }
.switch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; z-index: 1; }
.switch i { position: absolute; inset: 0; border-radius: 999px; background: #d9c3cc; transition: background .25s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .3s var(--ease); }
.switch input:checked + i { background: var(--leaf); }
.switch input:checked + i::after { transform: translateX(22px); }
.switch input:focus-visible + i { outline: 3px solid var(--berry-soft); outline-offset: 2px; }
.cookie-prefs .cookie-actions { justify-content: flex-start; }
@media (max-width: 760px) {
  .cookie { left: 12px; right: 12px; bottom: 12px; padding: 20px; max-height: calc(100svh - 24px); overflow-y: auto; }
  .cookie-main { grid-template-columns: 1fr; gap: 14px; }
  .cookie-ic { display: none; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .btn { flex: 1 1 auto; }
}

/* Harita izni yer tutucusu */
.map-consent {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 30px;
  background: radial-gradient(circle at 30% 20%, rgba(232,17,91,.08), transparent 50%), var(--cream-2);
}
.map-consent[hidden] { display: none; }
.map-consent > div { max-width: 360px; display: grid; gap: 14px; justify-items: center; }
.map-consent svg { width: 54px; height: 54px; color: var(--berry); }
.map-consent b { font-family: var(--font-display); font-size: 20px; color: var(--plum); }
.map-consent p { font-size: 14.5px; color: var(--muted); }
.map-consent .btn { padding: 12px 22px; font-size: 15px; }
.map-consent p a { color: var(--berry); font-weight: 600; text-decoration: underline; }
/* Menü öğelerini aynı hizaya getir */
.nav-links { align-items: center; }
.nav-sub-toggle { line-height: inherit; }
@media (max-width: 980px) { .nav-links { align-items: stretch; } }
