/* =========================================================
   GENSAR Fide & Tohum — Site Stili
   Palet logodan: adaçayı yeşili, krem, tohum kahvesi
   ========================================================= */

:root {
  --g-green: #6e7d52;
  --g-green-dark: #4c5936;
  --g-ink: #35402a;
  --g-cream: #f1eee4;
  --g-paper: #faf9f4;
  --g-brown: #8a6b47;
  --g-line: #ddd8c8;
  --g-order: #b5502a;
  --g-order-dark: #96401f;
}

body {
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #3c4234;
  background-color: var(--g-paper);
}

h1, h2, h3, h4, .font-display {
  font-family: "Lora", Georgia, serif;
  color: var(--g-ink);
}

a { color: var(--g-green-dark); }
a:hover { color: var(--g-ink); }

/* ---------- Üst iletişim şeridi ---------- */
.topbar {
  background: var(--g-green-dark);
  color: #eef0e6;
  font-size: 0.85rem;
  padding: 0.35rem 0;
}
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar .bi { margin-right: 0.3rem; }

/* ---------- Navbar ---------- */
.navbar-gensar {
  background: var(--g-cream);
  border-bottom: 1px solid var(--g-line);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.navbar-gensar .navbar-brand {
  font-family: "Lora", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--g-green-dark);
}
.navbar-gensar .navbar-brand img {
  height: 46px;
  width: 46px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 0.6rem;
  border: 1px solid var(--g-line);
}
.navbar-gensar .brand-sub {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.42em;
  color: var(--g-brown);
  font-weight: 700;
}
.navbar-gensar .nav-link {
  color: var(--g-ink);
  font-weight: 600;
  margin: 0 0.35rem;
}
.navbar-gensar .nav-link:hover { color: var(--g-green); }
.navbar-gensar .nav-link.active {
  color: var(--g-green-dark);
  border-bottom: 2px solid var(--g-green);
}

/* ---------- Butonlar ---------- */
.btn-gensar {
  background: var(--g-green-dark);
  border-color: var(--g-green-dark);
  color: #fff;
  font-weight: 600;
}
.btn-gensar:hover, .btn-gensar:focus {
  background: var(--g-ink);
  border-color: var(--g-ink);
  color: #fff;
}
.btn-outline-gensar {
  border: 1.5px solid var(--g-green-dark);
  color: var(--g-green-dark);
  font-weight: 600;
}
.btn-outline-gensar:hover {
  background: var(--g-green-dark);
  color: #fff;
}
.btn-order {
  background: var(--g-order);
  border-color: var(--g-order);
  color: #fff;
  font-weight: 700;
}
.btn-order:hover, .btn-order:focus {
  background: var(--g-order-dark);
  border-color: var(--g-order-dark);
  color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--g-cream);
  border-bottom: 1px solid var(--g-line);
  padding: 4.5rem 0;
}
.hero .eyebrow {
  color: var(--g-brown);
  font-weight: 700;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero p.lead {
  color: #5a614d;
  max-width: 34rem;
}
.hero-logo {
  max-width: 380px;
  width: 100%;
  border-radius: 50%;
  border: 1px solid var(--g-line);
  box-shadow: 0 18px 50px rgba(62, 74, 46, 0.14);
}

/* ---------- Güven şeridi ---------- */
.trust-strip { padding: 2rem 0; border-bottom: 1px solid var(--g-line); background: #fff; }
.trust-item { display: flex; align-items: center; gap: 0.8rem; }
.trust-item .bi { font-size: 1.7rem; color: var(--g-green); }
.trust-item strong { display: block; color: var(--g-ink); font-size: 0.95rem; }
.trust-item span { font-size: 0.82rem; color: #79806a; }

/* ---------- Bölümler ---------- */
.section { padding: 4.5rem 0; }
.section-cream { background: var(--g-cream); }
.section-eyebrow {
  color: var(--g-brown);
  font-weight: 700;
  letter-spacing: 0.26em;
  font-size: 0.75rem;
  text-transform: uppercase;
}
.section-title { font-size: 2rem; font-weight: 600; margin-bottom: 0.75rem; }

/* ---------- Ürün kartları ---------- */
.product-card {
  background: #fff;
  border: 1px solid var(--g-line);
  border-radius: 0.9rem;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(62, 74, 46, 0.13);
}
.product-card-img { display: block; background: var(--g-cream); position: relative; }
.product-card-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
/* Tür rozeti: Tohum / Fide */
.type-badge {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  z-index: 2;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}
.type-badge.type-tohum { background: var(--g-brown); }
.type-badge.type-fide { background: var(--g-green); }
.product-card-body { padding: 0.9rem 1rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.product-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--g-brown);
}
.product-name { font-size: 1.02rem; font-weight: 600; margin: 0.25rem 0 0.75rem; }
.product-name a { text-decoration: none; color: var(--g-ink); }
.product-name a:hover { color: var(--g-green); }
.product-actions { margin-top: auto; display: flex; gap: 0.4rem; flex-wrap: wrap; }
.product-actions .btn { flex: 1; white-space: nowrap; }

/* ---------- Ürünler sayfası ---------- */
.page-head {
  background: var(--g-cream);
  border-bottom: 1px solid var(--g-line);
  padding: 3rem 0;
}
.page-head h1 { font-size: 2.3rem; font-weight: 600; margin-bottom: 0.4rem; }
.search-box { max-width: 420px; }
.search-box .form-control {
  border-color: var(--g-line);
  background: #fff;
}
.search-box .form-control:focus {
  border-color: var(--g-green);
  box-shadow: 0 0 0 0.2rem rgba(110, 125, 82, 0.15);
}
.empty-note {
  background: #fff;
  border: 1px dashed var(--g-line);
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  color: #6a705c;
}

/* ---------- Filtre paneli (Ürünler sayfası) ---------- */
.filter-card {
  background: #fff;
  border: 1px solid var(--g-line);
  border-radius: 0.9rem;
  padding: 1.1rem 1.2rem;
}
@media (min-width: 992px) {
  .filter-sticky { position: sticky; top: 90px; }
}
.filter-group + .filter-group {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--g-line);
}
.filter-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--g-brown);
  margin: 0 0 0.55rem;
}
.filter-list { list-style: none; padding: 0; margin: 0; }
.filter-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.42rem 0.6rem;
  border-radius: 0.5rem;
  text-decoration: none;
  color: var(--g-ink);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.2;
}
.filter-link:hover { background: var(--g-cream); color: var(--g-green-dark); }
.filter-link.active { background: var(--g-green-dark); color: #fff; }
.filter-count {
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--g-cream);
  color: var(--g-brown);
  border-radius: 999px;
  padding: 0.05rem 0.5rem;
  min-width: 1.6rem;
  text-align: center;
}
.filter-link.active .filter-count { background: rgba(255, 255, 255, 0.22); color: #fff; }

/* Açık grubun altına düşen alt kategoriler */
.filter-sublist {
  list-style: none;
  margin: 0.2rem 0 0.45rem;
  padding: 0 0 0 0.7rem;
  border-left: 2px solid var(--g-line);
}
.filter-sublist .filter-link {
  font-weight: 500;
  font-size: 0.87rem;
  padding: 0.34rem 0.55rem;
  color: #5a614d;
}
.filter-sublist .filter-link.active { color: #fff; }

/* Menüdeki grup / alt kategori satırları */
.navbar .dropdown-menu { max-height: 76vh; overflow-y: auto; }
.dropdown-item.dropdown-group { font-weight: 700; }
.dropdown-item.dropdown-sub {
  padding-left: 2rem;
  font-size: 0.9rem;
  color: #5a614d;
}
.dropdown-item.dropdown-sub::before {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 1px;
  background: var(--g-line);
  vertical-align: middle;
  margin: 0 0.45rem 0 -0.95rem;
}

/* ---------- Ürün detay ---------- */
.detail-img {
  background: var(--g-cream);
  border: 1px solid var(--g-line);
  border-radius: 1rem;
  overflow: hidden;
}
.detail-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.detail-title { font-size: 2.2rem; font-weight: 600; }
.detail-desc { color: #5a614d; font-size: 1.02rem; }
.detail-info li { margin-bottom: 0.5rem; color: #4c5340; }
.detail-info .bi { color: var(--g-green); margin-right: 0.45rem; }
/* Teknik künye tablosu */
.spec-wrap { margin: 1.5rem 0; }
.spec-title { font-size: 1.1rem; color: var(--g-ink); margin-bottom: 0.6rem; }
.spec-table {
  width: 100%;
  border: 1px solid var(--g-line);
  border-radius: 0.5rem;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  font-size: 0.95rem;
}
.spec-table th,
.spec-table td { padding: 0.6rem 0.9rem; text-align: left; vertical-align: top; }
.spec-table th {
  width: 45%;
  font-weight: 600;
  color: #4c5340;
  background: var(--g-cream);
  border-right: 1px solid var(--g-line);
}
.spec-table td { color: #5a614d; }
.spec-table tr + tr th,
.spec-table tr + tr td { border-top: 1px solid var(--g-line); }
.spec-note { font-size: 0.83rem; color: #7b8168; margin-top: 0.5rem; }

.order-note {
  background: var(--g-cream);
  border-left: 4px solid var(--g-green);
  border-radius: 0.5rem;
  padding: 0.9rem 1.1rem;
  font-size: 0.92rem;
  color: #55604a;
}
.order-note .bi { color: var(--g-green); margin-right: 0.35rem; }

/* ---------- CTA bandı ---------- */
.cta-band {
  background: var(--g-green-dark);
  color: #eef0e6;
  padding: 3.5rem 0;
}
.cta-band h2 { color: #fff; font-size: 1.9rem; }
.cta-band p { color: #cfd6bd; max-width: 38rem; }

/* ---------- Hakkımızda ---------- */
.value-card {
  background: #fff;
  border: 1px solid var(--g-line);
  border-radius: 0.9rem;
  padding: 1.6rem;
  height: 100%;
}
.value-card .bi { font-size: 1.9rem; color: var(--g-green); }
.value-card h3 { font-size: 1.1rem; margin: 0.8rem 0 0.4rem; }
.value-card p { font-size: 0.92rem; color: #6a705c; margin: 0; }

/* ---------- İletişim ---------- */
.contact-card {
  background: #fff;
  border: 1px solid var(--g-line);
  border-radius: 0.9rem;
  padding: 1.5rem;
  height: 100%;
}
.contact-card .bi { font-size: 1.6rem; color: var(--g-green); }
.contact-card h3 { font-size: 1.05rem; margin: 0.7rem 0 0.3rem; }
.contact-card p, .contact-card a { font-size: 0.95rem; color: #5a614d; margin: 0; text-decoration: none; }
.contact-card a:hover { color: var(--g-green-dark); text-decoration: underline; }
.map-wrap {
  border: 1px solid var(--g-line);
  border-radius: 1rem;
  overflow: hidden;
}
.map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; }
#contact-form .form-control, #contact-form .form-select { border-color: var(--g-line); }
#contact-form .form-control:focus, #contact-form .form-select:focus {
  border-color: var(--g-green);
  box-shadow: 0 0 0 0.2rem rgba(110, 125, 82, 0.15);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--g-ink);
  color: #c9cfba;
  padding: 3.5rem 0 1.5rem;
  font-size: 0.93rem;
}
.footer h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  font-family: "Lora", Georgia, serif;
}
.footer a { color: #c9cfba; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 0.5rem; }
.footer .bi { margin-right: 0.4rem; color: var(--g-green); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  font-size: 0.83rem;
  color: #99a186;
}

/* ---------- Sabit WhatsApp butonu ---------- */
.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 1050;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}
.wa-float:hover { background: #1ebe5a; color: #fff; }

/* ---------- Erişilebilirlik ve mobil ---------- */
:focus-visible { outline: 3px solid var(--g-green); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .product-card { transition: none; }
  .product-card:hover { transform: none; }
}
@media (max-width: 575.98px) {
  .hero { padding: 3rem 0; }
  .section { padding: 3rem 0; }
  .product-actions .btn { font-size: 0.78rem; padding: 0.3rem 0.4rem; }
}

/* Kategori linki (eyebrow) */
a.product-eyebrow {
  display: inline-block;
  text-decoration: none;
}
a.product-eyebrow:hover {
  color: var(--g-green);
  text-decoration: underline;
}
