:root {
  --yesil: #007848;
  --yesil-koyu: #00512f;
  --yesil-acik: #eaf6f0;
  --vurgu: #e8912c;
  --yazi: #1f2b27;
  --gri-yazi: #5c6b66;
  --bg-krem: #f7faf8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--yazi);
  background: #fff;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
ul { margin: 0; padding: 0; list-style: none; }

/* ============ ÜST NAVBAR ============ */
.ust-bar {
  background: var(--yesil-koyu);
  color: #cfe9db;
  font-size: 13px;
}
.ust-bar .container { display: flex; justify-content: flex-end; gap: 28px; padding-top: 8px; padding-bottom: 8px; }
.ust-bar a { opacity: .95; }
.ust-bar a:hover { opacity: 1; text-decoration: underline; }

.navbar {
  position: sticky; top: 0; z-index: 200;
  background: #fff;
  box-shadow: 0 2px 14px rgba(0,40,25,.08);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.navbar .logo img { max-height: 46px; }
.navbar nav { display: flex; gap: 6px; }
.navbar nav a {
  padding: 10px 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--yazi);
  border-radius: 6px;
}
.navbar nav a:hover { background: var(--yesil-acik); color: var(--yesil-koyu); }
.navbar .cta { display: flex; align-items: center; gap: 14px; }
.menu-tuslar { display: none; background: none; border: none; font-size: 26px; color: var(--yesil-koyu); cursor: pointer; }

.whatsapp-yuzen {
  position: fixed; right: 24px; bottom: 24px; z-index: 400;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgba(37,211,102,.5);
  transition: transform .15s, background .15s;
}
.whatsapp-yuzen:hover { background: #1eb857; transform: scale(1.06); }

/* ============ BUTON ============ */
.buton {
  display: inline-block;
  background: var(--yesil);
  color: #fff;
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14.5px;
  border: none;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.buton:hover { background: var(--yesil-koyu); transform: translateY(-1px); }
.buton-cizgili {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 30px;
  border: 2px solid var(--yesil);
  color: var(--yesil-koyu);
  font-weight: 700;
  font-size: 14.5px;
}
.buton-cizgili:hover { background: var(--yesil-acik); }

/* ============ HERO ============ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 90px;
  background: linear-gradient(180deg, #f2f9f5 0%, #fff 100%);
}
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; position: relative; z-index: 2; }
.hero .rozet {
  display: inline-block;
  background: var(--yesil-acik);
  color: var(--yesil-koyu);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 30px;
  margin-bottom: 18px;
}
.hero h1 { font-size: 38px; line-height: 1.28; font-weight: 800; margin: 0 0 20px; color: var(--yesil-koyu); }
.hero h1 span { color: var(--vurgu); }
.hero p.aciklama { font-size: 16.5px; color: var(--gri-yazi); max-width: 480px; margin-bottom: 30px; }
.hero .buton-grup { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-gorsel { position: relative; }
.hero-gorsel .cerceve {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(0,60,35,.25);
}
.hero-gorsel .cerceve img { width: 100%; height: 420px; object-fit: cover; }
.hero-gorsel::before {
  content: "";
  position: absolute;
  top: -34px; right: -34px;
  width: 240px; height: 240px;
  background: var(--yesil);
  border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
  z-index: -1;
  opacity: .18;
}
.hero-gorsel .rozet-kutu {
  position: absolute;
  left: -26px; bottom: -22px;
  background: #fff;
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 14px 34px rgba(0,40,25,.16);
  display: flex; align-items: center; gap: 12px;
}
.hero-gorsel .rozet-kutu .simge {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--yesil-acik); color: var(--yesil-koyu);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.hero-gorsel .rozet-kutu strong { display: block; font-size: 14px; color: var(--yazi); }
.hero-gorsel .rozet-kutu span { font-size: 12px; color: var(--gri-yazi); }

/* ============ İSTATİSTİK ŞERİDİ ============ */
.istatistik-serit {
  background: var(--yesil-koyu);
  color: #fff;
}
.istatistik-serit .container {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 30px 24px;
}
.istatistik-oge { text-align: center; border-right: 1px solid rgba(255,255,255,.15); padding: 6px 10px; }
.istatistik-oge:last-child { border-right: none; }
.istatistik-oge .simge { font-size: 22px; margin-bottom: 8px; }
.istatistik-oge strong { display: block; font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.istatistik-oge span { font-size: 12.5px; color: #bfe0cd; }

/* ============ GENEL BÖLÜM ============ */
.bolum { padding: 84px 0; }
.bolum-krem { background: var(--bg-krem); }
.bolum-basligi { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.bolum-basligi.sola { text-align: left; margin: 0 0 44px; }
.rozet-ust {
  display: inline-block;
  color: var(--yesil);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.baslik-ana { font-size: 29px; font-weight: 800; margin: 0 0 14px; line-height: 1.3; color: var(--yesil-koyu); }
.aciklama { font-size: 15.5px; line-height: 1.8; color: var(--gri-yazi); }

/* ============ ÜRÜN KARTLARI ============ */
.kart-izgara { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.urun-kart {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  height: 300px;
  box-shadow: 0 10px 30px rgba(0,40,25,.12);
}
.urun-kart img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.urun-kart:hover img { transform: scale(1.08); }
.urun-kart .ustune-yazi {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(0,30,18,.92) 0%, rgba(0,30,18,.5) 60%, transparent 100%);
  color: #fff;
  padding: 60px 22px 20px;
}
.urun-kart .ustune-yazi h3 { margin: 0 0 8px; font-size: 18px; }
.urun-kart .ustune-yazi p { margin: 0; font-size: 13.5px; color: #d8e9df; line-height: 1.6; }

/* ============ NEDEN BİZ ============ */
.neden-izgara { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.neden-gorsel { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 46px rgba(0,40,25,.18); }
.neden-gorsel img { width: 100%; height: 420px; object-fit: cover; }
.neden-liste { display: flex; flex-direction: column; gap: 22px; margin-top: 30px; }
.neden-satir { display: flex; gap: 16px; align-items: flex-start; }
.neden-satir .no {
  flex: none; width: 38px; height: 38px; border-radius: 10px;
  background: var(--yesil); color: #fff; font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.neden-satir h4 { margin: 0 0 5px; font-size: 15.5px; color: var(--yazi); }
.neden-satir p { margin: 0; font-size: 14px; color: var(--gri-yazi); line-height: 1.6; }

/* ============ HİZMET SATIRLARI ============ */
.hizmet-izgara { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hizmet-kart {
  background: #fff;
  border-radius: 16px;
  padding: 30px 26px;
  border: 1px solid #e7efe9;
  transition: box-shadow .2s, transform .2s;
}
.hizmet-kart:hover { box-shadow: 0 16px 34px rgba(0,40,25,.1); transform: translateY(-3px); }
.hizmet-kart .simge {
  width: 50px; height: 50px; border-radius: 13px;
  background: var(--yesil-acik); color: var(--yesil-koyu);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.hizmet-kart h3 { font-size: 16.5px; margin: 0 0 8px; color: var(--yazi); }
.hizmet-kart p { font-size: 14px; color: var(--gri-yazi); margin: 0; line-height: 1.6; }

/* ============ HAKKIMIZDA ============ */
.iki-sutun { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hakkimizda-gorsel { position: relative; }
.hakkimizda-gorsel img { border-radius: 20px; box-shadow: 0 20px 46px rgba(0,40,25,.16); }
.imza-kutu {
  position: absolute; right: -24px; bottom: -24px;
  background: var(--yesil); color: #fff;
  border-radius: 16px; padding: 20px 24px;
  max-width: 220px;
  box-shadow: 0 16px 34px rgba(0,40,25,.25);
}
.imza-kutu p { margin: 0; font-size: 13.5px; line-height: 1.6; }

/* ============ HAMMADDE GALERİSİ ============ */
.hammadde-izgara { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hammadde-kart {
  background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid #e7efe9;
}
.hammadde-kart .gorsel { height: 150px; overflow: hidden; }
.hammadde-kart .gorsel img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.hammadde-kart:hover .gorsel img { transform: scale(1.07); }
.hammadde-kart .metin { padding: 18px 20px; }
.hammadde-kart h4 { margin: 0 0 8px; font-size: 15px; color: var(--yesil-koyu); }
.hammadde-kart p { margin: 0; font-size: 13.5px; color: var(--gri-yazi); line-height: 1.6; }

/* ============ SSS ============ */
.sss-listesi { max-width: 800px; margin: 0 auto; }
.sss-oge { border-bottom: 1px solid #e5ece7; }
.sss-soru {
  width: 100%; text-align: left; background: none; border: none;
  padding: 20px 4px; font-size: 15.5px; font-weight: 700; color: var(--yazi);
  cursor: pointer; display: flex; gap: 16px; align-items: center;
}
.sss-soru .no {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--yesil-acik); color: var(--yesil-koyu);
  font-size: 13px; display: flex; align-items: center; justify-content: center;
}
.sss-soru .isaret { margin-left: auto; color: var(--yesil); font-size: 20px; }
.sss-cevap { display: none; padding: 0 4px 20px 46px; color: var(--gri-yazi); font-size: 14.5px; line-height: 1.7; }
.sss-oge.acik .sss-cevap { display: block; }
.sss-oge.acik .isaret { transform: rotate(45deg); }

/* ============ İLETİŞİM ============ */
.iletisim-kart {
  display: grid; grid-template-columns: .85fr 1.15fr;
  border-radius: 22px; overflow: hidden;
  box-shadow: 0 24px 54px rgba(0,40,25,.14);
}
.iletisim-bilgi-panel {
  background: var(--yesil-koyu); color: #fff;
  padding: 46px 40px;
}
.iletisim-bilgi-panel h3 { font-size: 20px; margin: 0 0 18px; }
.iletisim-bilgi-panel .satir { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.iletisim-bilgi-panel .satir .simge {
  flex: none; width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.iletisim-bilgi-panel .satir strong { display: block; font-size: 13.5px; margin-bottom: 3px; }
.iletisim-bilgi-panel .satir span, .iletisim-bilgi-panel .satir a { font-size: 13.5px; color: #cfe9db; line-height: 1.5; }
.iletisim-form-panel { background: #fff; padding: 46px 40px; }
.form-satir { margin-bottom: 16px; }
.form-satir label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--yazi); }
.form-satir input, .form-satir textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid #e0e8e3; border-radius: 10px;
  font-size: 14px; font-family: inherit; background: var(--bg-krem);
}
.form-satir input:focus, .form-satir textarea:focus { outline: none; border-color: var(--yesil); background: #fff; }
.form-satir textarea { min-height: 100px; resize: vertical; }
.mesaj-basarili { background: var(--yesil-acik); color: var(--yesil-koyu); padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-size: 14px; }
.mesaj-hata { background: #fdecec; color: #a12; padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-size: 14px; }

.harita-kutu { margin-top: 30px; border-radius: 20px; overflow: hidden; box-shadow: 0 16px 40px rgba(0,40,25,.14); }
.harita-kutu iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ============ TEKLİF POPUP ============ */
.popup-arkaplan {
  display: none;
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,30,18,.55);
  align-items: center; justify-content: center;
  padding: 20px;
}
.popup-arkaplan.acik { display: flex; }
.popup-kart {
  background: #fff; border-radius: 20px; padding: 34px;
  max-width: 420px; width: 100%; position: relative;
  box-shadow: 0 30px 70px rgba(0,20,12,.35);
  max-height: 90vh; overflow-y: auto;
}
.popup-kapat {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-krem); border: none; cursor: pointer;
  font-size: 15px; color: var(--gri-yazi);
}
.popup-kapat:hover { background: var(--yesil-acik); color: var(--yesil-koyu); }
.popup-baslik { font-size: 21px; font-weight: 800; color: var(--yesil-koyu); margin: 0 0 8px; }
.popup-aciklama { font-size: 14px; color: var(--gri-yazi); margin: 0 0 22px; line-height: 1.6; }

/* ============ ALT BİLGİ (FOOTER) ============ */
footer.alt-bilgi {
  background: #032b1c;
  color: #a9cabb;
}
footer.alt-bilgi .ust {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 40px;
  padding: 64px 0 40px;
}
footer.alt-bilgi .logo-blok img { max-height: 40px; margin-bottom: 16px; background: #fff; border-radius: 30px; padding: 5px 12px; }
footer.alt-bilgi .logo-blok p { font-size: 13.5px; line-height: 1.7; color: #9dc0af; max-width: 280px; }
footer.alt-bilgi h5 { color: #fff; font-size: 14.5px; margin: 0 0 18px; }
footer.alt-bilgi ul li { margin-bottom: 11px; }
footer.alt-bilgi ul li a { font-size: 13.5px; color: #a9cabb; }
footer.alt-bilgi ul li a:hover { color: #fff; }
footer.alt-bilgi .alt {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
  text-align: center;
  font-size: 12.5px;
  color: #7ea690;
}

/* ============ MOBİL ============ */
.mobil-alt-nav { display: none; }

@media (max-width: 960px) {
  .navbar nav { display: none; }
  .whatsapp-yuzen { display: none; }
  .menu-tuslar { display: block; }
  .hero .container, .neden-izgara, .iki-sutun, .kart-izgara, .ozellik-izgara,
  .hizmet-izgara, .hammadde-izgara, .iletisim-kart,
  footer.alt-bilgi .ust {
    grid-template-columns: 1fr;
  }
  .hero { padding: 40px 0 0; text-align: center; }
  .hero .buton-grup { justify-content: center; }
  .hero-gorsel { margin-top: 20px; }
  .imza-kutu { position: static; margin-top: -40px; margin-left: 20px; margin-right: 20px; }

  /* Finapp tarzı: gradyan bölümün üstüne binen, dairesel ikonlu hızlı-erişim kartı */
  .istatistik-serit { background: transparent; padding-bottom: 0; margin-top: -34px; position: relative; z-index: 5; }
  .istatistik-serit .container {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
    background: #fff; border-radius: 22px; padding: 24px 10px 18px;
    box-shadow: 0 18px 40px rgba(0,40,25,.18);
  }
  .istatistik-oge { border: none; padding: 0; }
  .istatistik-oge .simge {
    width: 48px; height: 48px; margin: 0 auto 9px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: #fff;
  }
  .istatistik-oge:nth-child(1) .simge { background: var(--yesil); }
  .istatistik-oge:nth-child(2) .simge { background: var(--vurgu); }
  .istatistik-oge:nth-child(3) .simge { background: #0f9d68; }
  .istatistik-oge:nth-child(4) .simge { background: #00694a; }
  .istatistik-oge strong { color: var(--yazi); font-size: 10.5px; line-height: 1.3; }
  .istatistik-oge span { display: none; }

  /* Finapp tarzı: sabit alt sekme çubuğu, ortada yükseltilmiş WhatsApp butonu */
  body { padding-bottom: 78px; }
  .mobil-alt-nav {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
    background: #fff; box-shadow: 0 -8px 26px rgba(0,40,25,.14);
    justify-content: space-around; align-items: flex-end; padding: 9px 4px 10px;
  }
  .mobil-alt-nav a, .mobil-alt-nav button { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10.5px; color: var(--gri-yazi); flex: 1; font-weight: 600; background: none; border: none; font-family: inherit; cursor: pointer; }
  .mobil-alt-nav .ikon { font-size: 19px; }
  .mobil-alt-nav .orta-buton {
    background: var(--yesil); color: #fff; width: 54px; height: 54px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-top: -30px; box-shadow: 0 10px 22px rgba(0,120,72,.5); flex: none;
  }
  .mobil-alt-nav .orta-buton .ikon { font-size: 22px; }
}

/* ============ ADMIN ============ */
.admin-govde { max-width: 720px; margin: 60px auto; padding: 0 20px; }
.admin-kart { background: #fff; border: 1px solid #e5e5e5; border-radius: 8px; padding: 30px; box-shadow: 0 4px 18px rgba(0,0,0,.06); }
.admin-kart h1 { font-size: 20px; margin: 0 0 22px; color: var(--yesil-koyu); }
table.mesaj-tablosu { width: 100%; border-collapse: collapse; }
table.mesaj-tablosu th, table.mesaj-tablosu td { padding: 12px; border-bottom: 1px solid #eee; text-align: left; font-size: 14px; vertical-align: top; }
table.mesaj-tablosu tr.okunmadi { background: var(--yesil-acik); }
.etiket-yeni { background: var(--yesil); color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 3px; }
