/* Hal Sepette — tanıtım sitesi
   Marka renkleri logodan örneklendi: koyu #004B22, açık #63A110 */

:root {
  --koyu: #004B22;
  --koyu-2: #013A1B;
  --acik: #63A110;
  --acik-2: #74B72E;
  --zemin: #FFFFFF;
  --zemin-2: #F4F8F1;
  --metin: #17301D;
  --metin-2: #55665B;
  --cizgi: #E1EADD;
  --golge: 0 2px 14px rgba(0, 75, 34, .08);
  --golge-2: 0 10px 40px rgba(0, 75, 34, .14);
  --r: 16px;
  --wrap: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--metin);
  background: var(--zemin);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cizgi);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand-logo { height: 46px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 600;
  font-size: 15px;
}

.nav-links a:not(.btn):hover { color: var(--acik); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--koyu);
  border-radius: 2px;
  transition: .25s;
}

/* ---------- BUTONLAR ---------- */
.btn {
  display: inline-block;
  background: var(--koyu);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform .15s, background .2s;
  white-space: nowrap;
}

.btn:hover { background: var(--acik); transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }

.btn-ghost {
  background: transparent;
  color: var(--koyu);
  box-shadow: inset 0 0 0 2px var(--koyu);
}

.btn-ghost:hover { background: var(--koyu); color: #fff; }

/* ---------- HERO ---------- */
.hero {
  padding: 72px 0 84px;
  background:
    radial-gradient(900px 420px at 85% -10%, #EAF4E3 0%, transparent 60%),
    var(--zemin);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  color: var(--acik);
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 12.5px;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.12;
  margin: 0 0 18px;
  color: var(--koyu);
  letter-spacing: -.02em;
}

h1 .hl { color: var(--acik); }

.lead {
  font-size: 17.5px;
  color: var(--metin-2);
  margin: 0 0 28px;
  max-width: 52ch;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 0;
  margin: 30px 0 0;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--koyu);
}

.hero-points li::before { content: "✓"; color: var(--acik); font-weight: 900; margin-right: 7px; }

.hero-media img {
  border-radius: 22px;
  box-shadow: var(--golge-2);
}

/* ---------- BÖLÜMLER ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--zemin-2); }

.section-title {
  font-size: clamp(27px, 3.4vw, 38px);
  color: var(--koyu);
  text-align: center;
  margin: 0 0 10px;
  letter-spacing: -.015em;
}

.section-title.left { text-align: left; }
.section-title.invert { color: #fff; }

.section-sub {
  text-align: center;
  color: var(--metin-2);
  max-width: 62ch;
  margin: 0 auto 46px;
  font-size: 16.5px;
}

/* ---------- ADIMLAR ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0 0 66px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: s;
}

.steps li {
  background: #fff;
  border: 1px solid var(--cizgi);
  border-radius: var(--r);
  padding: 30px 26px;
  box-shadow: var(--golge);
}

.step-no {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--acik);
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
}

.steps h3, .pillar h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--koyu);
}

.steps p, .pillar p { margin: 0; color: var(--metin-2); font-size: 15px; }

/* ---------- ÜÇ SÜTUN ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.pillar {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--r);
  background: var(--zemin-2);
}

.pillar-ico { font-size: 34px; margin-bottom: 12px; }

/* ---------- ÜRÜNLER ---------- */
.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.tab {
  border: 1px solid var(--cizgi);
  background: #fff;
  color: var(--metin-2);
  padding: 9px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  transition: .2s;
}

.tab:hover { border-color: var(--acik); color: var(--koyu); }

.tab.is-active {
  background: var(--koyu);
  border-color: var(--koyu);
  color: #fff;
}

/* Urun listesi: dortlu sutun. Onceden hap seklinde etiketlerdi;
   208 kalem olunca dagimik goruntu veriyordu. Simdi hizali kolonlar. */
.chips {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 26px;
  max-width: 1000px;
}

.chips li {
  padding: 9px 4px 9px 20px;
  font-size: 15px;
  color: var(--metin);
  border-bottom: 1px solid var(--cizgi);
  position: relative;
}

.chips li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acik);
  transform: translateY(-50%);
}

.chips li.hidden { display: none; }

.note {
  text-align: center;
  color: var(--metin-2);
  font-size: 14.5px;
  margin: 0;
}

/* ---------- İKİLİ BÖLÜM ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.split-media img { border-radius: 20px; box-shadow: var(--golge-2); }

.split-text p { color: var(--metin-2); font-size: 16.5px; }

.ticks {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 11px;
}

.ticks li { font-weight: 600; color: var(--koyu); }
.ticks li::before { content: "✓"; color: var(--acik); font-weight: 900; margin-right: 9px; }

/* ---------- KOYU BÖLÜM ---------- */
.section-dark {
  background: linear-gradient(160deg, var(--koyu) 0%, var(--koyu-2) 100%);
  color: #fff;
}

.invert-sub { color: rgba(255, 255, 255, .82) !important; }
.invert-note { color: rgba(255, 255, 255, .62) !important; font-size: 14px; margin-top: 18px; }

.stores { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

.store {
  display: flex;
  align-items: center;
  gap: 11px;
  background: #000;
  color: #fff;
  padding: 11px 20px;
  border-radius: 12px;
  transition: transform .15s;
}

.store:hover { transform: translateY(-2px); }
.store-ico { font-size: 21px; line-height: 1; }
.store small { display: block; font-size: 11px; opacity: .75; }
.store strong { display: block; font-size: 15.5px; }

/* ---------- İLETİŞİM ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.contact-card {
  background: var(--zemin-2);
  border: 1px solid var(--cizgi);
  border-radius: var(--r);
  padding: 26px 22px;
  text-align: center;
  transition: .2s;
}

a.contact-card:hover {
  border-color: var(--acik);
  transform: translateY(-2px);
  box-shadow: var(--golge);
}

.contact-card strong { display: block; color: var(--koyu); margin-bottom: 5px; font-size: 16px; }
.contact-card span { color: var(--metin-2); font-size: 14.5px; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--zemin-2);
  border-top: 1px solid var(--cizgi);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-logo { height: 54px; width: auto; }
.footer-meta { text-align: right; }
.footer-meta p { margin: 0; font-weight: 600; color: var(--koyu); }
.footer-meta .muted { font-weight: 400; color: var(--metin-2); font-size: 14px; }

/* ---------- ANİMASYONLAR ---------- */

/* Kaydırma ile ortaya çıkma. JS, görünür alana giren öğelere
   .is-in ekliyor. JS çalışmazsa içerik yine de görünür kalsın diye
   başlangıç durumu yalnızca .reveal sınıfı varken uygulanıyor. */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s cubic-bezier(.22, .8, .3, 1),
              transform .6s cubic-bezier(.22, .8, .3, 1);
  will-change: opacity, transform;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Izgara öğeleri sırayla girsin */
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* Hero açılışı */
.hero-text > * {
  animation: yukselerekGir .7s cubic-bezier(.22, .8, .3, 1) backwards;
}
.hero-text > *:nth-child(1) { animation-delay: .05s; }
.hero-text > *:nth-child(2) { animation-delay: .13s; }
.hero-text > *:nth-child(3) { animation-delay: .21s; }
.hero-text > *:nth-child(4) { animation-delay: .29s; }
.hero-text > *:nth-child(5) { animation-delay: .37s; }

.hero-media img {
  animation: olceklenerekGir .9s cubic-bezier(.22, .8, .3, 1) .2s backwards;
}

@keyframes yukselerekGir {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

@keyframes olceklenerekGir {
  from { opacity: 0; transform: scale(.96) translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* Ürün etiketleri filtre değişince yeniden belirsin */
@keyframes etiketGir {
  from { opacity: 0; transform: scale(.92); }
  to   { opacity: 1; transform: none; }
}

.chips li { animation: etiketGir .32s ease backwards; }

/* Kart hover'ları */
.steps li,
.pillar,
.contact-card,
.chips li {
  transition: transform .25s cubic-bezier(.22, .8, .3, 1),
              box-shadow .25s, border-color .25s, background .25s;
}

.steps li:hover { transform: translateY(-4px); box-shadow: var(--golge-2); }

.pillar:hover { transform: translateY(-4px); background: #EDF5E7; }

.chips li:hover {
  color: var(--koyu);
  font-weight: 600;
}

.split-media img { transition: transform .5s cubic-bezier(.22, .8, .3, 1); }
.split-media:hover img { transform: scale(1.02); }

/* Nav sayfa kaydırılınca gölgelensin */
.nav { transition: box-shadow .25s, background .25s; }
.nav.scrolled { box-shadow: 0 4px 22px rgba(0, 75, 34, .10); }

/* Hareket azaltma tercihi olan kullanıcılar için hepsini kapat */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- DUYARLI ---------- */

/* Geniş masaüstü */
@media (min-width: 1400px) {
  :root { --wrap: 1240px; }
}

/* Küçük masaüstü / yatay tablet */
@media (max-width: 1080px) {
  .hero-inner { gap: 40px; }
  .split { gap: 40px; }
  .section { padding: 72px 0; }
}

/* Tablet: 3'lü ızgaralar 2'ye düşsün */
@media (max-width: 960px) {
  .steps, .pillars { grid-template-columns: repeat(2, 1fr); }
  .chips { grid-template-columns: repeat(3, 1fr); gap: 0 20px; }
  .steps li:last-child, .pillar:last-child { grid-column: 1 / -1; }
}

/* Dikey tablet ve altı: tek sütun + mobil menü */
@media (max-width: 900px) {
  .hero-inner, .split { grid-template-columns: 1fr; gap: 38px; }
  .split-media { order: -1; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .section-title.left { text-align: center; }
  .split-text { text-align: center; }
  .ticks { display: inline-grid; text-align: left; }
  .stores { justify-content: center; }
  .hero-points { justify-content: center; }
  .hero-cta { justify-content: center; }
  .footer-inner { justify-content: center; text-align: center; }
  .footer-meta { text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--cizgi);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 18px;
    display: none;
  }
  .nav-links.open {
    display: flex;
    animation: menuAcil .22s ease;
  }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--cizgi); }
  .nav-links a.btn { text-align: center; margin-top: 12px; border: 0; }

  /* Hamburger çarpıya dönüşsün */
  .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); }
}

@keyframes menuAcil {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}

/* Küçük tablet: ızgaralar tek sütun */
@media (max-width: 700px) {
  .steps, .pillars { grid-template-columns: 1fr; }
  .chips { grid-template-columns: repeat(2, 1fr); }
  .steps li:last-child, .pillar:last-child { grid-column: auto; }
}

/* Telefon */
@media (max-width: 560px) {
  .section { padding: 56px 0; }
  .hero { padding: 42px 0 56px; }
  .contact-grid { grid-template-columns: 1fr; }
  .brand-logo { height: 36px; }
  .section-sub { margin-bottom: 34px; }
  .hero-cta .btn { flex: 1 1 100%; text-align: center; }
  .chips li { font-size: 14px; padding: 8px 4px 8px 18px; }
  .tab { padding: 8px 16px; font-size: 13.5px; }
}

/* Çok dar ekran (küçük telefonlar) */
@media (max-width: 360px) {
  .wrap { padding: 0 15px; }
  .chips { grid-template-columns: 1fr; }
  h1 { font-size: 29px; }
  .lead { font-size: 16px; }
  .stores { flex-direction: column; }
  .store { justify-content: center; }
}
