/*
Theme Name: Mandıra Sanatı
Theme URI: https://mandirasanati.com
Author: Kalyon Creative
Author URI: https://kalyoncreative.com/
Description: Mandıra Sanatı kurumsal web sitesi için özel WordPress teması. Statik siteden birebir taşınmıştır: tek sayfa ana sayfa (hero slider, ürünler, referanslar, galeri, blog) ve blog yazıları.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: Proprietary
Text Domain: mandira-sanati
*/

/* ============================================
   SütDiyarı — Özgün Eko Süt Çiftliği Şablonu
   ============================================ */

:root {
  --green-800: #1f4d2a;
  --green-700: #2f6b3a;
  --green-600: #3a7d46;
  --green-100: #e3f1e5;
  --cream: #fdf9f0;
  --amber: #e8a33d;
  --red: #d84c3e;
  --ink: #1e2a22;
  --muted: #5f6f66;
  --white: #ffffff;
  --radius: 3px;      /* kurumsal, keskin hatlar */
  --radius-media: 0;  /* görseller tamamen köşeli */
  --shadow: 0 12px 34px rgba(30, 42, 34, 0.10);
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --font-head: "Inter", "Segoe UI", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.4px;
}

img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }

.container { width: min(1180px, 92%); margin-inline: auto; }

.section { padding: 95px 0; position: relative; }
.section-cream { background: var(--cream); }

.section-head { text-align: center; margin-bottom: 54px; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.2; }

.section-tag {
  display: inline-block;
  color: var(--amber);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Kaydırma animasyonları */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Klavye odak halkası */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

/* SVG ikonlar */
.icon {
  width: 18px; height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -3px;
  flex-shrink: 0;
}
.icon-lg { width: 24px; height: 24px; }
.icon-xl { width: 32px; height: 32px; }
.icon-amber { color: var(--amber); }

/* Dalga ayraçlar */
.wave { position: absolute; left: 0; right: 0; line-height: 0; }
.wave svg { display: block; width: 100%; height: 70px; }
.wave-bottom { bottom: -1px; }
.wave-top-dark, .wave-top-footer { top: -1px; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: .3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-lg { padding: 16px 38px; font-size: 1.02rem; }
.btn-primary { background: var(--amber); color: var(--white); }
.btn-primary:hover { background: #d3902e; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: var(--white); background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.15); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-small { padding: 8px 18px; font-size: 0.8rem; background: var(--green-600); color: var(--white); border: none; }
.btn-small:hover { background: var(--green-700); }

/* ---------- Üst Bilgi ---------- */
.topbar {
  background: var(--green-800);
  color: #dceadf;
  font-size: 0.82rem;
  padding: 9px 0;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar-left { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.topbar-left span { display: inline-flex; align-items: center; gap: 7px; }
.topbar .icon { width: 15px; height: 15px; }
.tb-sep { opacity: .4; }
.topbar-right { display: flex; gap: 14px; }
.topbar-right a { font-size: 1rem; opacity: .85; transition: opacity .2s; }
.topbar-right a:hover { opacity: 1; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
.logo { display: flex; align-items: center; }
.logo-img { height: 60px; width: auto; display: block; }
.logo-img-footer { height: 78px; }

.main-nav { display: flex; gap: 30px; }
.main-nav a {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  padding: 8px 0;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--amber);
  transition: width .25s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--green-700); }

.header-tools { display: flex; align-items: center; gap: 18px; }
.cart-btn { position: relative; font-size: 1.3rem; }
.cart-count {
  position: absolute;
  top: -6px; right: -10px;
  background: var(--red);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 17px; height: 17px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 3px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero Slider ---------- */
.hero { position: relative; overflow: hidden; background: var(--green-800); }
.hero-slider { position: relative; min-height: 640px; }
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease, visibility .8s;
}
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 38, 24, 0.78) 0%, rgba(18, 38, 24, 0.35) 60%, rgba(18, 38, 24, 0.15) 100%);
}
.hero-content { position: relative; z-index: 2; color: var(--white); padding: 80px 0 120px; }
.hero-kicker {
  display: inline-block;
  background: rgba(232, 163, 61, 0.94);
  padding: 8px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-img {
  background-size: cover;
  background-position: center;
}
.hero-content h1 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  line-height: 1.12;
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,.35);
}
.hero-content p {
  max-width: 480px;
  font-size: 1.1rem;
  opacity: .95;
  margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 52px; height: 52px;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,.5);
  background: rgba(0,0,0,.2);
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.hero-arrow:hover { background: var(--amber); border-color: var(--amber); }
.hero-arrow.prev { left: 22px; }
.hero-arrow.next { right: 22px; }

.hero-dots {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}
.hero-dots button {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.hero-dots button.active { background: var(--amber); transform: scale(1.3); }

/* ---------- Hakkımızda ---------- */
.about { background: var(--cream); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 70px;
  align-items: center;
}
.about-media { position: relative; }
.about-frame {
  border-radius: var(--radius-media);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 8px solid var(--white);
}
.about-frame video { width: 100%; height: 340px; object-fit: cover; }
.about-since {
  position: absolute;
  bottom: -24px;
  right: -14px;
  background: var(--green-700);
  color: var(--white);
  border-radius: 50%;
  width: 128px; height: 128px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  border: 5px solid var(--cream);
}
.about-since strong { font-family: var(--font-head); font-size: 1.7rem; }
.about-since small { font-size: 0.78rem; opacity: .9; }
.about-content h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 6px 0 16px; line-height: 1.2; }
.about-content > p { color: var(--muted); margin-bottom: 26px; }
.about-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 30px;
}
.about-cols h4 { margin-bottom: 6px; font-size: 1rem; }
.about-cols p { font-size: 0.9rem; color: var(--muted); }

/* ---------- Kategoriler ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.cat-card {
  background: var(--white);
  border-radius: var(--radius-media);
  padding: 24px 22px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .25s ease;
}
.cat-card:hover { transform: translateY(-8px); }
.cat-img {
  height: 170px;
  border-radius: var(--radius-media);
  overflow: hidden;
  margin-bottom: 18px;
}
.cat-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.cat-card:hover .cat-img img { transform: scale(1.06); }
.cat-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.cat-card p { color: var(--amber); font-weight: 600; font-size: 0.88rem; }

/* ---------- Yağ Oranları ---------- */
.fat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.fat-ring {
  --p: 30;
  width: 130px; height: 130px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: conic-gradient(var(--amber) calc(var(--p) * 1%), #efe9db 0);
  position: relative;
}
.fat-ring::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: inset 0 2px 8px rgba(0,0,0,.05);
}
.fat-ring span {
  position: relative;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--green-700);
}
.fat-item h3 { font-size: 1.1rem; margin-bottom: 4px; }
.fat-item p { font-size: 0.88rem; color: var(--muted); }
.fat-note {
  text-align: center;
  margin-top: 40px;
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
}

/* Ürün kartı not satırı */
.product-note { font-size: 0.84rem; color: var(--muted); font-weight: 500; }

/* ---------- Ana Ürün Vitrini (ortada şeffaf ürün) ---------- */
.featured-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 46px;
  align-items: center;
  margin-bottom: 46px;
}
.featured-media {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 10px 34px;
  background: transparent; /* ürünün arkası şeffaf */
}
.featured-product {
  width: 230px;
  height: auto;
  filter: drop-shadow(0 22px 28px rgba(30,42,34,.28));
  animation: bottleFloat 4.5s ease-in-out infinite;
}
@keyframes bottleFloat {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-12px) rotate(1.5deg); }
}
.featured-stamp {
  position: absolute;
  top: -4px;
  right: -8px;
  width: 92px; height: 92px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1.2;
  transform: rotate(12deg);
  box-shadow: var(--shadow);
  border: 3px dashed rgba(255,255,255,.55);
}
.featured-side { display: flex; flex-direction: column; gap: 34px; }
.side-left { text-align: right; align-items: flex-end; }
.side-right { text-align: left; align-items: flex-start; }
.featured-point { max-width: 300px; position: relative; }
.featured-point h4 { font-size: 1.08rem; margin-bottom: 6px; }
.featured-point p { font-size: 0.92rem; color: var(--muted); }
.side-left .featured-point { padding-right: 18px; border-right: 3px solid var(--amber); }
.side-right .featured-point { padding-left: 18px; border-left: 3px solid var(--amber); }
.featured-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* ---------- Referanslar / Bize Güvenenler ---------- */
.refs-sub {
  max-width: 640px;
  margin: 14px auto 0;
  color: var(--muted);
}
.refs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.ref-card {
  background: var(--white);
  border: 1px solid #eee9dc;
  border-radius: var(--radius-media);
  min-height: 150px;
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  box-shadow: var(--shadow);
  transition: transform .25s ease;
}
.ref-card:hover { transform: translateY(-6px); }
.ref-card img {
  height: 58px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1) opacity(.75);
  transition: filter .3s ease;
}
.ref-card:hover img { filter: grayscale(0) opacity(1); }
.ref-card span { font-size: 0.86rem; font-weight: 600; color: var(--muted); text-align: center; }
.ref-card-text strong {
  font-family: var(--font-head);
  font-size: 2.3rem;
  color: var(--green-700);
  line-height: 1;
}

/* ---------- Sertifikalar ---------- */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-bottom: 10px;
}
.certs-grid .cert-card {
  height: auto;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid #eee9dc;
}
.certs-grid .cert-card img {
  height: 280px;
  object-fit: cover;
  object-position: top center;
}
.cert-name {
  display: block;
  padding: 16px 14px;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  background: var(--white);
}
.cert-name strong {
  display: block;
  font-family: var(--font-head);
  color: var(--green-700);
  font-size: 0.98rem;
  margin-bottom: 3px;
}
/* sertifika kartında hover altyazısını kapat (isim zaten görünür) */
.certs-grid .cert-card::after { display: none; }

/* ---------- Kaydırdıkça İnen Ana Ürün ---------- */
.scroll-bottle {
  position: fixed;
  right: 26px;
  top: 18vh;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
  will-change: transform;
}
.scroll-bottle.show { opacity: 1; pointer-events: auto; }
.scroll-bottle-img {
  width: 58px;
  height: auto;
  filter: drop-shadow(0 10px 14px rgba(30,42,34,.3));
  transition: transform .25s ease;
}
.scroll-bottle:hover .scroll-bottle-img { transform: scale(1.1); }
.scroll-bottle-tip {
  background: var(--green-700);
  color: var(--white);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: .5px;
  padding: 4px 10px;
  border-radius: var(--radius);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .25s, transform .25s;
}
.scroll-bottle:hover .scroll-bottle-tip { opacity: 1; transform: translateY(0); }

/* ---------- Eko Rozetler ---------- */
.eco {
  position: relative;
  background: var(--green-700);
  padding: 100px 0 60px;
  color: var(--white);
}
.eco-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 26px;
}
.eco-badge {
  text-align: center;
  flex: 1 1 140px;
}
.eco-badge span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 78px; height: 78px;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.45);
  color: var(--white);
  transition: transform .3s, border-color .3s, background .3s;
}
.eco-badge:hover span { background: rgba(255,255,255,.08); }
.eco-badge:hover span { transform: rotate(8deg) scale(1.08); border-color: var(--amber); }
.eco-badge h4 { font-size: 0.95rem; font-weight: 600; }

/* ---------- Ürünler ---------- */
.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}
.tab {
  padding: 10px 26px;
  border-radius: var(--radius);
  border: 1.5px solid #dfe6df;
  background: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
  cursor: pointer;
  transition: all .2s;
}
.tab:hover { border-color: var(--amber); color: var(--ink); }
.tab.active { background: var(--green-700); border-color: var(--green-700); color: var(--white); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.product-card {
  background: var(--white);
  border: 1px solid #f0ede4;
  border-radius: var(--radius-media);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s ease, opacity .3s;
}
.product-card:hover { transform: translateY(-7px); }
.product-card.hide { display: none; }
.product-img {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: var(--cream);
}
.product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-img img { transform: scale(1.05); }
.product-img-contain img { object-fit: contain; padding: 10px; mix-blend-mode: multiply; }
.sale-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--green-600);
  color: var(--white);
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius);
}
.sale-badge.red { background: var(--red); }
.product-body { padding: 22px; }
.product-body h3 { font-size: 1.12rem; margin-bottom: 4px; }
.stars { color: var(--amber); font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 14px; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-weight: 700; color: var(--green-700); font-size: 1.12rem; }
.price small { font-weight: 500; color: var(--muted); }
.price s { color: #b9b3a4; font-weight: 500; font-size: 0.85rem; margin-right: 4px; }

/* ---------- Üretim Sanatımız (Adımlar) ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.step-card {
  position: relative;
  background: var(--white);
  border: 1px solid #eee9dc;
  border-radius: var(--radius-media);
  padding: 30px 26px 26px;
  box-shadow: var(--shadow);
  transition: transform .25s ease;
}
.step-card:hover { transform: translateY(-6px); }
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
}
.step-card h4 { font-size: 1.05rem; margin-bottom: 8px; }
.step-card p { font-size: 0.92rem; color: var(--muted); }
.steps-cta { text-align: center; margin-top: 40px; }

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid #eee9dc;
  border-radius: var(--radius-media);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s ease;
}
.blog-card:hover { transform: translateY(-7px); }
.blog-img { height: 190px; overflow: hidden; background: var(--cream); }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-body { display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 22px; flex: 1; }
.blog-tag {
  color: var(--amber);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.blog-body h3 { font-size: 1.08rem; line-height: 1.35; }
.blog-body p { font-size: 0.9rem; color: var(--muted); flex: 1; }
.blog-more { color: var(--green-700); font-weight: 700; font-size: 0.86rem; }
.blog-card:hover .blog-more { color: var(--amber); }

/* Blog yazı sayfaları */
.post-hero { height: 320px; overflow: hidden; background: var(--cream); }
.post-hero img { width: 100%; height: 100%; object-fit: cover; }
.post-hero-contain img { object-fit: contain; mix-blend-mode: multiply; }
.post-wrap { max-width: 780px; margin-inline: auto; }
.breadcrumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs a { color: var(--green-700); font-weight: 600; }
.breadcrumbs a:hover { color: var(--amber); }
.post-meta { display: flex; gap: 14px; align-items: center; color: var(--muted); font-size: 0.85rem; margin-bottom: 26px; }
.post-body h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.2; margin-bottom: 14px; }
.post-body h2 { font-size: 1.35rem; margin: 34px 0 12px; }
.post-body h3 { font-size: 1.08rem; margin: 24px 0 10px; }
.post-body p { margin-bottom: 16px; }
.post-body ul, .post-body ol { margin: 0 0 16px 22px; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li { margin-bottom: 8px; }
.post-body a { color: var(--green-700); font-weight: 600; }
.post-body a:hover { color: var(--amber); }
.post-note {
  background: var(--green-100);
  border-left: 4px solid var(--green-600);
  padding: 16px 20px;
  font-size: 0.92rem;
  margin: 24px 0;
}
.related { margin-top: 50px; padding-top: 30px; border-top: 1px solid #eee9dc; }
.related h4 { margin-bottom: 16px; }
.related ul { list-style: none; margin: 0; }
.related li { margin-bottom: 10px; }
.related a { color: var(--green-700); font-weight: 600; }
.related a:hover { color: var(--amber); }
.newsletter-kvkk { display: block; width: 100%; font-size: 0.72rem; opacity: .85; }

/* ---------- İstatistik + Video ---------- */
.stats-video { background: var(--cream); padding-bottom: 95px; }
.stats-band { background: var(--green-800); color: var(--white); padding: 64px 0 120px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2.7rem;
  font-weight: 800;
  color: #ffd98a;
}
.stat span { font-size: 0.95rem; opacity: .9; }

.video-wrap { margin-top: -70px; }
.video-box {
  position: relative;
  border-radius: var(--radius-media);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(30,42,34,.25);
  max-width: 1020px;
  margin-inline: auto;
  background: #000;
}
.video-box video { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 92px; height: 92px;
  border-radius: 50%;
  border: none;
  background: var(--amber);
  color: var(--white);
  font-size: 1.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s, background .25s, opacity .3s;
  box-shadow: 0 0 0 14px rgba(232,163,61,.35);
  animation: pulse 2.2s infinite;
}
.play-btn .icon { margin-left: 4px; fill: currentColor; }
.play-btn:hover { transform: translate(-50%, -50%) scale(1.08); }
.video-box.playing .play-btn { opacity: 0; pointer-events: none; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(232,163,61,.55); }
  70%  { box-shadow: 0 0 0 26px rgba(232,163,61,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,163,61,0); }
}
.video-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px 24px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
  color: var(--white);
  font-size: 0.9rem;
}

/* ---------- Referanslar ---------- */
.testi-slider { max-width: 760px; margin-inline: auto; overflow: hidden; }
.testi-track { display: flex; transition: transform .5s ease; }
.testi-card {
  min-width: 100%;
  background: var(--white);
  border-radius: var(--radius);
  padding: 42px 40px 36px;
  text-align: center;
  box-shadow: var(--shadow);
}
.testi-avatar {
  width: 68px; height: 68px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--green-700);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 1px;
  border: 3px solid var(--amber);
}
.testi-card p { font-size: 1.12rem; font-style: italic; margin-bottom: 20px; }
.testi-card footer strong { display: block; color: var(--green-700); font-size: 1.02rem; }
.testi-card footer span { font-size: 0.85rem; color: var(--muted); }
.testi-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.testi-dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: #d6ddd2;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.testi-dots button.active { background: var(--amber); transform: scale(1.3); }

/* ---------- Galeri (yayvan mozaik) ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-item {
  position: relative;
  border: none;
  padding: 0;
  border-radius: var(--radius-media);
  height: 190px;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: zoom-in;
  background: var(--cream);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: attr(data-caption);
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 14px 10px;
  background: linear-gradient(transparent, rgba(12,20,14,.75));
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: left;
  opacity: 0;
  transition: opacity .3s ease;
}
.gallery-item:hover::after { opacity: 1; }
.g1, .g4 { grid-column: span 2; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(12, 20, 14, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 30px;
}
.lightbox[hidden] { display: none; }
.lightbox-body {
  border-radius: var(--radius-media);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lightbox-body img {
  display: block;
  max-width: min(920px, 92vw);
  max-height: 72vh;
  width: auto; height: auto;
}
.lightbox-caption { color: var(--white); font-size: 1.05rem; }
.lightbox-close {
  position: absolute;
  top: 24px; right: 28px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
  opacity: .8;
}
.lightbox-close:hover { opacity: 1; }

/* ---------- Bülten ---------- */
.newsletter { background: var(--amber); padding: 62px 0; color: var(--white); }
.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.newsletter h2 { font-size: 1.7rem; margin-bottom: 6px; }
.newsletter p { opacity: .95; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input {
  padding: 14px 22px;
  border-radius: var(--radius);
  border: none;
  min-width: 270px;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
}
.newsletter-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--ink); color: #c9d4cd; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 40px;
  padding: 85px 0 50px;
}
.footer-logo { color: var(--white); margin-bottom: 14px; }
.footer-col > p { font-size: 0.92rem; margin-bottom: 18px; }
.footer-col h4 { color: var(--white); margin-bottom: 18px; font-size: 1.05rem; font-family: var(--font-head); }
.footer-col ul li { margin-bottom: 10px; font-size: 0.92rem; }
.contact-list li { display: flex; align-items: flex-start; gap: 9px; }
.contact-list .icon { margin-top: 3px; color: var(--amber); }
.footer-col ul a:hover { color: var(--amber); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
}
.footer-social a:hover { background: var(--amber); border-color: var(--amber); color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
  font-size: 0.82rem;
  text-align: center;
}
.footer-bottom a { color: var(--amber); font-weight: 600; }
.footer-bottom a:hover { text-decoration: underline; }

/* Mobil menü sepet linki — masaüstünde gizli */
.nav-cart { display: none; }
.nav-cart .icon { vertical-align: -3px; margin-right: 4px; }

/* ---------- Yukarı Çık ---------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px; height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--green-600);
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  box-shadow: var(--shadow);
  z-index: 90;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); background: var(--green-700); }

/* ---------- Duyarlı Tasarım ---------- */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .fat-grid { grid-template-columns: repeat(2, 1fr); row-gap: 46px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 70px; }
  .header-cta { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .refs-grid { grid-template-columns: repeat(3, 1fr); }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .refs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .featured-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .featured-media { order: -1; }
  .featured-side, .side-left, .side-right { align-items: center; text-align: center; }
  .side-left .featured-point,
  .side-right .featured-point {
    border: none;
    border-bottom: 3px solid var(--amber);
    padding: 0 0 14px;
  }
}

@media (max-width: 768px) {
  .scroll-bottle { display: none; }
  .cart-btn { display: none; }           /* mobilde üstteki sepet gizli */
  .nav-cart { display: flex; align-items: center; }  /* sepet menüde */
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav {
    position: fixed;
    inset: 0 0 0 32%;
    background: var(--white);
    flex-direction: column;
    padding: 100px 32px 30px;
    gap: 20px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.18);
    transform: translateX(105%);
    transition: transform .3s ease;
    z-index: 95;
  }
  .main-nav.open { transform: translateX(0); }
  .nav-toggle { display: flex; z-index: 96; }
  .topbar-right, .tb-sep:last-of-type { display: none; }
  .hero-slider { min-height: 560px; }
  .hero-arrow { display: none; }
  .cat-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-cols { grid-template-columns: 1fr; }
  .video-wrap { margin-top: -50px; }
}

@media (max-width: 520px) {
  .products-grid, .fat-grid, .stats-grid,
  .footer-grid, .steps-grid, .blog-grid, .certs-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item { height: 130px; }
  .g1, .g4 { grid-column: span 2; }
  .refs-grid { grid-template-columns: 1fr; }
  .featured-product { width: 180px; }
  .section { padding: 65px 0; }
  .hero-content h1 { font-size: 2.1rem; }
  .hero-dots { bottom: 80px; }
  .about-since { width: 106px; height: 106px; right: 0; }
}

/* ============================================
   REVİZE — 24 Ağustos 2026
   ============================================ */

/* ---------- Referans logoları: varsayılan olarak renkli ---------- */
.ref-card img { filter: none; opacity: 1; transition: transform .3s ease; }
.ref-card:hover img { filter: none; transform: scale(1.05); }
.ref-logo-bg {
  display: flex; align-items: center; justify-content: center;
  height: 58px; padding: 8px 16px;
  background: #00a750;               /* ANPA Gross kurumsal yeşili — logo beyaz olduğu için zemin gerekli */
  border-radius: 6px;
}
.ref-logo-bg img { height: 40px; }

/* ---------- Hikâyemiz: Misyon & Vizyon ---------- */
.about-mv { padding-top: 22px; border-top: 1px solid #eee9dc; }
.about-mv h4 { color: var(--green-800); }

/* ---------- Galeri: yalnızca çiftlik kareleri (2x2 geniş) ---------- */
.gallery-farm .gallery-item { grid-column: span 2; height: 260px; }
.gallery-farm .gallery-item::after { opacity: 1; }     /* açıklamalar hep görünür */

/* ---------- Neden Çiğ Süt? ---------- */
.rawmilk { background: var(--white); }
.rawmilk-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.rawmilk-media { position: relative; }
.rawmilk-media img {
  display: block; width: 100%; height: 480px; object-fit: cover;
  border-radius: var(--radius-media);
  box-shadow: var(--shadow);
}
.rawmilk-badge {
  position: absolute; left: 22px; bottom: 22px;
  background: var(--amber); color: var(--white);
  padding: 12px 18px; font-weight: 700; line-height: 1.15;
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(30,42,34,.2);
}
.rawmilk-badge small { display: block; font-weight: 500; font-size: .78rem; opacity: .95; }
.rawmilk-content h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 6px 0 16px; line-height: 1.2; }
.rawmilk-content > p { color: var(--muted); margin-bottom: 24px; }
.rawmilk-list {
  list-style: none; margin: 0 0 26px; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px;
}
.rawmilk-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; font-weight: 500; line-height: 1.4; }
.rawmilk-list .icon {
  flex: 0 0 auto; width: 24px; height: 24px; padding: 5px;
  color: var(--green-700); background: var(--green-100); border-radius: 50%;
  stroke-width: 2.4;
}
.rawmilk-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.rawmilk .fat-note { text-align: left; margin-top: 0; }

/* ---------- Ürünler: görsele tıkla → büyük görsel + bilgi ---------- */
.product-img { cursor: zoom-in; }
.products-hint { margin-top: 34px; }
.lightbox-product .lightbox-body { max-height: 88vh; overflow: auto; background: var(--white); }
.lb-product {
  display: grid; grid-template-columns: 1.1fr 1fr;
  background: var(--white);
  max-width: min(980px, 92vw);
}
.lb-product-img {
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; min-height: 320px;
}
.lb-product-img img { max-width: 100%; max-height: 62vh; width: auto; height: auto; mix-blend-mode: multiply; }
.lb-product-info { padding: 36px 34px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.lb-product-info h3 { font-size: 1.65rem; line-height: 1.2; }
.lb-product-info p { color: var(--muted); font-size: .98rem; }
.lb-product-note {
  background: var(--green-100); color: var(--green-800);
  padding: 10px 14px; font-size: .9rem; font-weight: 600;
  border-left: 3px solid var(--green-600);
}
.lb-product-info .btn { align-self: flex-start; margin-top: 6px; }

/* ---------- Üretim yolculuğu: 6 aşamalı oynatıcı ---------- */
.video-stage { position: relative; aspect-ratio: 21 / 9; background: #000; }
.video-stage video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity .6s ease;
}
.video-stage video.is-active { opacity: 1; }
.stage-bar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2;
  display: flex; gap: 6px; list-style: none; margin: 0;
  padding: 14px 18px 0;
  background: linear-gradient(rgba(0,0,0,.7), transparent);
}
.stage-bar li {
  flex: 1; position: relative; cursor: pointer;
  color: rgba(255,255,255,.72);
  font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  padding: 8px 0 12px; white-space: nowrap;
  transition: color .3s;
}
.stage-bar li b {
  display: inline-block; width: 20px; height: 20px; margin-right: 7px;
  border-radius: 50%; background: rgba(255,255,255,.18);
  text-align: center; line-height: 20px; font-size: .72rem;
  transition: background .3s;
}
.stage-bar li i { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.25); }
.stage-bar li i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--amber); transition: none; }
.stage-bar li.done i::after { width: 100%; }
.stage-bar li.active { color: var(--white); }
.stage-bar li.active b { background: var(--amber); }
.stage-bar li.active i::after { width: 100%; transition: width 5s linear; }
.stage-bar li:hover { color: var(--white); }
.video-journey .video-caption { z-index: 2; }
.video-journey .play-btn { z-index: 3; }

@media (max-width: 900px) {
  .rawmilk-inner { grid-template-columns: 1fr; gap: 34px; }
  .rawmilk-media img { height: 320px; }
  .rawmilk-list { grid-template-columns: 1fr; }
  .lb-product { grid-template-columns: 1fr; }
  .lb-product-img { min-height: 0; }
  .lb-product-img img { max-height: 36vh; }
  .lb-product-info { padding: 22px; }
}
@media (max-width: 700px) {
  .stage-bar { padding: 10px 10px 0; gap: 3px; }
  .stage-bar li { font-size: .62rem; letter-spacing: 0; padding: 6px 0 10px; }
  .stage-bar li b { width: 16px; height: 16px; line-height: 16px; font-size: .6rem; margin-right: 3px; }
}
@media (max-width: 480px) {
  .stage-bar li span { display: none; }
  .gallery-farm .gallery-item { height: 190px; }
}

/* Lightbox kapat düğmesi her zaman üstte; mobilde panel için üstte boşluk */
.lightbox-close { z-index: 5; }
@media (max-width: 700px) {
  .lightbox { padding: 64px 14px 20px; }
  .lightbox-product .lightbox-body { max-height: calc(100vh - 84px); }
}
.lightbox-body { max-width: 100%; }
.lb-product { width: 100%; max-width: min(980px, 92vw); }
.lb-product-info p, .lb-product-note { overflow-wrap: anywhere; }
.lightbox-close {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(0,0,0,.45); font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
}
