/* ============================================================
   BERLOG LOJİSTİK — Tasarım Sistemi
   Lacivert + canlı yeşil · Sora + Manrope
   ============================================================ */

:root {
  /* Brand */
  --navy-950: #07182a;
  --navy-900: #0a1c30;
  --navy-800: #0f2a47;   /* primary */
  --navy-700: #15395f;
  --navy-600: #1d4e7e;
  --navy-500: #2b6299;
  --green:    #5cb85c;   /* accent */
  --green-600:#49a449;
  --green-700:#3d8c3d;
  --green-glow: rgba(92,184,92,.35);

  /* Neutrals (cool-toned) */
  --white:   #ffffff;
  --paper:   #f5f8fb;
  --paper-2: #eef3f8;
  --line:    #e2eaf1;
  --line-2:  #d4e0ea;

  /* Text */
  --ink:     #0f2a47;
  --ink-soft:#3a4f63;
  --muted:   #6b7e90;
  --muted-2: #93a4b3;
  --on-dark: #e7eef5;
  --on-dark-soft: #a9bdcf;

  /* Type */
  --display: "Sora", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;

  /* Radii */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Shadow */
  --sh-sm: 0 2px 8px rgba(15,42,71,.06);
  --sh:    0 14px 40px -16px rgba(15,42,71,.22);
  --sh-lg: 0 30px 70px -28px rgba(15,42,71,.38);
  --sh-green: 0 16px 34px -12px rgba(92,184,92,.5);

  /* Layout */
  --maxw: 1240px;
  --gut: clamp(20px, 5vw, 64px);
  --topbar-h: 44px;
  --header-h: 76px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1,h2,h3,h4 { font-family: var(--display); color: var(--ink); margin: 0; line-height: 1.08; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-sm { padding-block: clamp(48px, 6vw, 80px); }

.eyebrow {
  font-family: var(--body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--green-700);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--green); border-radius: 2px; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 26px; height: 2px; background: var(--green); border-radius: 2px; }
.eyebrow.on-dark { color: var(--green); }

.h-display { font-size: clamp(34px, 4.4vw, 60px); }
.h-section { font-size: clamp(28px, 3.6vw, 46px); }
.lede { font-size: clamp(17px, 1.3vw, 19px); color: var(--muted); max-width: 56ch; }

.section-head { display: flex; flex-direction: column; gap: 18px; }
.section-head.center { align-items: center; text-align: center; }
.section-head.center .lede { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--body); font-weight: 700; font-size: 15.5px;
  padding: 15px 26px; border-radius: var(--r-pill); border: 1.5px solid transparent;
  cursor: pointer; transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s, background .2s, color .2s, border-color .2s;
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn-green { background: var(--green); color: #fff; box-shadow: var(--sh-green); }
.btn-green:hover { background: var(--green-600); transform: translateY(-3px); box-shadow: 0 22px 40px -14px rgba(92,184,92,.6); }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-700); transform: translateY(-3px); box-shadow: var(--sh); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--navy-800); transform: translateY(-3px); }
.btn-ghost-light { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.34); backdrop-filter: blur(8px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.16); transform: translateY(-3px); }
.btn-white { background: #fff; color: var(--navy-800); }
.btn-white:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.btn-lg { padding: 18px 34px; font-size: 16.5px; }
.btn-block { width: 100%; }

/* ---------- Placeholder media (striped) ---------- */
.ph {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background:
    repeating-linear-gradient(135deg, rgba(15,42,71,.05) 0 2px, transparent 2px 11px),
    linear-gradient(160deg, var(--paper-2), #e3ecf4);
  display: grid; place-items: center;
  color: var(--muted-2);
  border: 1px solid var(--line);
  min-height: 200px;
}
.ph::after {
  content: attr(data-label);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 12px; letter-spacing: .04em;
  color: var(--muted); background: rgba(255,255,255,.78);
  padding: 7px 13px; border-radius: var(--r-pill);
  border: 1px solid var(--line);
  backdrop-filter: blur(4px);
  text-align: center; max-width: 80%;
}
.ph.dark {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 2px, transparent 2px 11px),
    linear-gradient(160deg, var(--navy-700), var(--navy-900));
  border-color: rgba(255,255,255,.08);
}
.ph.dark::after { color: var(--on-dark-soft); background: rgba(10,28,48,.7); border-color: rgba(255,255,255,.12); }

/* ---------- Glass card ---------- */
.glass {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border-radius: var(--r-lg);
}

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  background: var(--navy-900);
  color: var(--on-dark-soft);
  font-size: 13.5px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--topbar-h); }
.topbar a { color: var(--on-dark-soft); transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar-left { display: flex; gap: 26px; align-items: center; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; }
.topbar-item svg { width: 14px; height: 14px; color: var(--green); }
.topbar-social { display: flex; gap: 8px; align-items: center; }
.topbar-social a {
  width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center;
  background: rgba(255,255,255,.06); color: var(--on-dark-soft);
}
.topbar-social a:hover { background: var(--green); color: #fff; }
.topbar-social svg { width: 14px; height: 14px; }
@media (max-width: 860px){ .topbar-left .topbar-item.hide-sm { display: none; } }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, background .3s;
}
.header.scrolled { box-shadow: var(--sh); background: rgba(255,255,255,.94); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

/* Logo wordmark */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  background: linear-gradient(145deg, var(--navy-700), var(--navy-900));
  display: grid; place-items: center; position: relative;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), var(--sh-sm);
}
.logo-mark::before { /* snow/cold spark */
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(circle at 70% 25%, var(--green-glow), transparent 60%);
}
.logo-mark svg { width: 22px; height: 22px; position: relative; z-index: 1; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text b { font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -.01em; color: var(--ink); }
.logo-text b span { color: var(--green); }
.logo-text small { font-size: 9.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-weight: 600; font-size: 15.5px; color: var(--ink-soft);
  padding: 10px 16px; border-radius: var(--r-pill); position: relative; transition: color .2s, background .2s;
}
.nav a:hover { color: var(--navy-800); background: var(--paper); }
.nav a.active { color: var(--navy-800); }
.nav a.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2.5px;
  background: var(--green); border-radius: 2px;
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-cta { display: inline-flex; }

.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; place-items: center; }
.burger span, .burger span::before, .burger span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: transform .3s, opacity .2s; position: relative;
}
.burger span::before { position: absolute; top: -6px; }
.burger span::after { position: absolute; top: 6px; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1024px){
  .nav, .header-cta-phone { display: none; }
  .burger { display: grid; }
}

/* Mobile drawer */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; visibility: hidden; opacity: 0;
  transition: opacity .3s, visibility .3s;
}
body.menu-open .mobile-menu { visibility: visible; opacity: 1; }
.mobile-menu .scrim { position: absolute; inset: 0; background: rgba(7,24,42,.5); backdrop-filter: blur(2px); }
.mobile-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(360px, 86vw);
  background: #fff; box-shadow: var(--sh-lg); padding: 24px;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.7,.3,1);
  display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
}
body.menu-open .mobile-panel { transform: translateX(0); }
.mobile-panel .mm-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.mm-close { width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line); background: var(--paper); display: grid; place-items: center; font-size: 20px; color: var(--ink); }
.mobile-panel a.mm-link { padding: 15px 14px; border-radius: var(--r); font-weight: 600; font-size: 17px; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-panel a.mm-link:last-of-type { border-bottom: none; }
.mobile-panel a.mm-link.active { color: var(--green-700); }
.mobile-panel .mm-foot { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }

/* ============================================================
   PAGE BANNER (inner pages)
   ============================================================ */
.banner {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700) 70%, var(--navy-600));
}
.banner::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 120% at 88% 10%, rgba(92,184,92,.16), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 2px, transparent 2px 16px);
}
.banner .wrap { position: relative; padding-block: clamp(60px, 9vw, 104px); }
.banner h1 { font-size: clamp(36px, 5vw, 60px); color: #fff; }
.banner .crumbs { display: flex; gap: 10px; align-items: center; color: var(--on-dark-soft); font-size: 14.5px; font-weight: 600; margin-top: 16px; }
.banner .crumbs a:hover { color: #fff; }
.banner .crumbs span { color: var(--green); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-950); color: var(--on-dark-soft); padding-block: clamp(56px, 7vw, 84px) 0; }
.footer .f-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.4fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 16px; letter-spacing: .04em; margin-bottom: 22px; font-family: var(--body); font-weight: 700; }
.footer .f-about p { color: var(--on-dark-soft); font-size: 14.5px; margin: 18px 0 22px; max-width: 34ch; }
.footer .f-links { display: flex; flex-direction: column; }
.footer .f-links a { display: inline-flex; align-items: flex-start; gap: 9px; padding: 7px 0; color: var(--on-dark-soft); font-size: 14.5px; line-height: 1.45; transition: color .2s; }
.footer .f-links a::before { content: ""; width: 5px; height: 5px; margin-top: 8px; border-radius: 50%; background: var(--green); flex: none; }
.footer .f-links a:hover { color: #fff; }
.footer .f-contact li { display: flex; gap: 13px; padding: 9px 0; font-size: 14.5px; }
.footer .f-contact .ic { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.06); display: grid; place-items: center; flex: none; color: var(--green); }
.footer .f-contact .ic svg { width: 16px; height: 16px; }
.footer .f-contact b { color: #fff; display: block; font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.footer .f-social { display: flex; gap: 10px; }
.footer .f-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06); display: grid; place-items: center; color: var(--on-dark-soft); transition: .2s; }
.footer .f-social a:hover { background: var(--green); color: #fff; transform: translateY(-3px); }
.footer .f-social svg { width: 16px; height: 16px; }
.footer .f-bottom { margin-top: 54px; border-top: 1px solid rgba(255,255,255,.08); padding-block: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.footer .f-bottom a:hover { color: #fff; }
@media (max-width: 980px){ .footer .f-grid { grid-template-columns: 1fr 1fr; gap: 36px 28px; } }
@media (max-width: 560px){ .footer .f-grid { grid-template-columns: 1fr; } .footer .f-bottom { flex-direction: column; } }

/* ============================================================
   FLOATING WHATSAPP + QUOTE MODAL
   ============================================================ */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center;
  box-shadow: 0 16px 34px -10px rgba(37,211,102,.6); color: #fff;
  transition: transform .25s; animation: wa-pulse 2.6s infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
@keyframes wa-pulse { 0%,100% { box-shadow: 0 16px 34px -10px rgba(37,211,102,.6), 0 0 0 0 rgba(37,211,102,.5);} 50% { box-shadow: 0 16px 34px -10px rgba(37,211,102,.6), 0 0 0 14px rgba(37,211,102,0);} }

.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.open { display: block; }
.modal .scrim { position: absolute; inset: 0; background: rgba(7,24,42,.62); backdrop-filter: blur(4px); animation: fade .3s; }
.modal-card {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-48%);
  width: min(560px, 92vw); max-height: 90vh; overflow-y: auto;
  background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-lg);
  padding: clamp(28px, 4vw, 44px); animation: pop .35s cubic-bezier(.2,.8,.3,1);
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translate(-50%,-42%) scale(.96); } }
.modal-card .mc-close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line); background: var(--paper); display: grid; place-items: center; font-size: 19px; color: var(--ink); }
.modal-card .mc-close:hover { background: var(--paper-2); }

/* ============================================================
   FORMS
   ============================================================ */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.field label .req { color: var(--green-700); }
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: 15.5px; color: var(--ink);
  padding: 14px 16px; border-radius: var(--r); border: 1.5px solid var(--line-2);
  background: var(--paper); transition: border-color .2s, box-shadow .2s, background .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); background: #fff;
  box-shadow: 0 0 0 4px rgba(92,184,92,.14);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #e0584f; box-shadow: 0 0 0 4px rgba(224,88,79,.12); }
.field .err { color: #d6463c; font-size: 12.5px; font-weight: 600; display: none; }
.field.invalid .err { display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px){ .form-grid { grid-template-columns: 1fr; } }
.form-note { font-size: 13px; color: var(--muted); }

.checkbox { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; color: var(--ink-soft); }
.checkbox input { width: 19px; height: 19px; accent-color: var(--green); margin-top: 1px; flex: none; }
.checkbox a { color: var(--green-700); font-weight: 700; text-decoration: underline; }

.form-success {
  display: none; text-align: center; padding: 20px 0;
}
.form-success.show { display: block; animation: pop .4s; }
.form-success .ok-ic { width: 72px; height: 72px; border-radius: 50%; background: rgba(92,184,92,.14); display: grid; place-items: center; margin: 0 auto 20px; color: var(--green); }
.form-success .ok-ic svg { width: 36px; height: 36px; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{ transition-delay: .08s; }
.reveal[data-d="2"]{ transition-delay: .16s; }
.reveal[data-d="3"]{ transition-delay: .24s; }
.reveal[data-d="4"]{ transition-delay: .32s; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; transition: none; } .wa-float { animation: none; } }

/* utility */
.tag {
  display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 13px;
  padding: 7px 14px; border-radius: var(--r-pill); letter-spacing: .01em;
}
.tag svg { width: 14px; height: 14px; }
.tag-cool  { background: rgba(29,78,126,.1); color: var(--navy-600); }
.tag-frost { background: rgba(43,98,153,.12); color: var(--navy-500); }
.tag-fresh { background: rgba(92,184,92,.15); color: var(--green-700); }
.tag-meat  { background: rgba(217,83,79,.12); color: #c0453f; }
