/* ===========================================================
   Miran Tarım - Kurumsal Web Sitesi
   Ana Stil Dosyası
   =========================================================== */

:root {
  --green-900: #14401f;
  --green-800: #1c5a2c;
  --green-700: #237536;
  --green-600: #2e9e4b;
  --green-500: #43b85f;
  --green-100: #e8f5ec;
  --earth: #8a6d3b;
  --gold: #e0a82e;
  --ink: #1e2a22;
  --muted: #5d6b62;
  --bg: #ffffff;
  --bg-soft: #f6faf7;
  --border: #e2ebe5;
  --shadow: 0 10px 30px rgba(20, 64, 31, 0.08);
  --radius: 14px;
  --max: 1080px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 84px 0; }

h1, h2, h3 { line-height: 1.2; color: var(--green-900); font-weight: 700; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-600);
  background: var(--green-100);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-head h2 { font-size: 2.1rem; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.96rem;
  padding: 12px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn-primary {
  background: var(--green-600);
  color: #fff;
}
.btn-primary:hover { background: var(--green-700); }
.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.18); border-color: #fff; }
.btn-ghost { background: #fff; color: var(--green-700); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--green-500); color: var(--green-600); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(20, 64, 31, 0.07);
}
/* Şeffafken: logo beyaz, scroll'da normal renk */
.site-header .logo img { filter: brightness(0) invert(1); transition: filter 0.3s ease; }
.site-header.scrolled .logo img { filter: none; }
/* Hamburger çizgileri */
.site-header .nav-toggle span { background: #fff; }
.site-header.scrolled .nav-toggle span { background: var(--green-800); }
@media (min-width: 901px) {
  .site-header .nav-links a { color: #fff; }
  .site-header .nav-links a:hover, .site-header .nav-links a.active { background: rgba(255,255,255,0.16); color: #fff; }
  .site-header.scrolled .nav-links a { color: var(--ink); }
  .site-header.scrolled .nav-links a:hover, .site-header.scrolled .nav-links a.active { background: var(--green-100); color: var(--green-700); }
  .site-header .nav-cta a.btn { background: transparent; color: #fff; border-color: rgba(255,255,255,0.75); }
  .site-header .nav-cta a.btn:hover { background: rgba(255,255,255,0.18); border-color: #fff; }
  .site-header.scrolled .nav-cta a.btn { color: var(--green-700); border-color: var(--green-500); }
  .site-header.scrolled .nav-cta a.btn:hover { background: var(--green-600); color: #fff; border-color: var(--green-600); }
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
}
.site-header nav { display: flex; align-items: center; gap: 14px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--green-900); }
.logo .leaf {
  width: 38px; height: 38px;
  background: var(--green-600);
  border-radius: 50% 0 50% 50%;
  display: grid; place-items: center;
  color: #fff; font-size: 1.1rem;
  transform: rotate(45deg);
}
.logo .leaf span { transform: rotate(-45deg); }
.logo small { display: block; font-size: 0.7rem; font-weight: 500; color: var(--muted); letter-spacing: 0.08em; }
.logo img { height: 56px; width: auto; display: block; }
.site-header .logo-desktop { height: 94px; }
.logo .logo-mobile { display: none; }
.logo-chip { display: inline-block; background: #fff; padding: 12px 18px; border-radius: 12px; margin-bottom: 18px; }
.logo-chip img { height: 70px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 500;
  color: var(--ink);
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover { background: var(--green-100); color: var(--green-700); }
.nav-links a.active { color: var(--green-700); font-weight: 700; }
.nav-cta { margin-left: 12px; }
.nav-cta a.btn {
  background: transparent;
  color: var(--green-700);
  border: 1.5px solid var(--green-500);
  font-weight: 700;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.nav-cta a.btn:hover { background: var(--green-600); color: #fff; border-color: var(--green-600); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--green-800); border-radius: 2px; transition: 0.25s; }
.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); }

/* ---------- Dil değiştirici (bayraklı) ---------- */
.lang-switch { position: relative; list-style: none; }
.lang-current {
  display: flex; align-items: center; gap: 7px;
  background: transparent; border: 1px solid var(--border);
  border-radius: 8px; padding: 7px 10px; cursor: pointer;
  font-family: var(--font); font-weight: 700; font-size: 0.86rem; color: var(--ink);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.lang-current:hover { border-color: var(--green-500); }
.lang-current .flag { width: 22px; height: 15px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,0.08); }
.lang-current .chev { width: 14px; height: 14px; transition: transform 0.2s ease; }
.lang-switch.open .lang-current .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 16px 40px rgba(20,64,31,0.16);
  padding: 6px; min-width: 184px; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 60;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu li { width: 100%; }
.lang-menu button {
  display: flex; align-items: center; gap: 11px; width: 100%;
  background: transparent; border: 0; cursor: pointer;
  padding: 10px 12px; border-radius: 8px; font-family: var(--font);
  font-size: 0.95rem; font-weight: 500; color: var(--ink); text-align: left;
}
.lang-menu button:hover { background: var(--green-100); color: var(--green-700); }
.lang-menu .flag { width: 26px; height: 18px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,0.08); flex: none; }

/* Şeffaf header üzerinde dil butonu beyaz */
.site-header:not(.scrolled) .lang-current { color: #fff; border-color: rgba(255,255,255,0.5); }
.site-header:not(.scrolled) .lang-current:hover { border-color: #fff; background: rgba(255,255,255,0.12); }

/* Google Translate arayüzünü tamamen gizle (profesyonel görünüm) */
.goog-te-banner-frame.skiptranslate,
.goog-te-gadget-icon,
#goog-gt-tt, .goog-te-balloon-frame,
.goog-tooltip, .goog-tooltip:hover,
#google_translate_element { display: none !important; }
.goog-te-gadget { height: 0 !important; font-size: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
.skiptranslate iframe { display: none !important; visibility: hidden !important; height: 0 !important; }
body { top: 0 !important; }

/* ---------- Hero (video background) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
  min-height: 90vh;
  isolation: isolate;
}
.hero-slider { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease;
}
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(1.14) saturate(1.06);
  pointer-events: none;
}
.hero-video::-webkit-media-controls,
.hero-video::-webkit-media-controls-enclosure,
.hero-video::-webkit-media-controls-panel,
.hero-video::-webkit-media-controls-start-playback-button,
.hero-video::-webkit-media-controls-play-button {
  display: none !important;
  -webkit-appearance: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.30));
}

/* Slider noktaları */
.hero-dots {
  position: absolute;
  right: 28px; top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  display: flex; flex-direction: column; gap: 14px;
}
.hero-dots button {
  width: 12px; height: 12px; padding: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.hero-dots button:hover { transform: scale(1.25); }
.hero-dots button.active { background: #fff; }
.hero .eyebrow {
  display: inline-block;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: #fff; background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  padding: 7px 16px; border-radius: 999px; margin-bottom: 22px;
  backdrop-filter: blur(4px);
}
.hero h1 { color: #fff; font-size: 3.1rem; margin-bottom: 20px; text-shadow: 0 2px 18px rgba(0,0,0,0.5); }
.hero p { font-size: 1.2rem; max-width: 680px; margin: 0 auto 34px; color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,0.55); }
.hero-actions { display: none; }

/* ---------- Clip-text band (greenery inside letters, animated) ---------- */
.clip-band { background: var(--bg-soft); text-align: center; padding: 96px 0; overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.clip-band .lead { color: var(--green-600); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 22px; }
.clip-text {
  font-size: clamp(1.9rem, 5.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.3px;
  text-transform: uppercase;
  background-image: url("../upload/text-bg.webp");
  background-size: 175% auto;
  background-position: 0% 72%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: clipPan 8s ease-in-out infinite alternate;
}
@keyframes clipPan {
  from { background-position: 0% 72%; }
  to   { background-position: 100% 72%; }
}
@media (prefers-reduced-motion: reduce) {
  .clip-text { animation: none; }
  .hero-video { display: none; }
}
.clip-head { max-width: 860px; }
.clip-head .clip-text { margin: 6px 0 16px; }

/* ---------- Hero üzeri sabit sertifika rozetleri ---------- */
.hero-badges {
  display: flex;
  justify-content: center;
  margin-top: 32px;
  padding: 0 16px;
}
.hero-badges img {
  height: 44px;
  width: auto;
  max-width: 100%;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}
@media (max-width: 700px) {
  .hero-badges { margin-top: 26px; }
  .hero-badges img { height: auto; width: 100%; max-width: 340px; }
}

/* Page banner (inner pages) */
.page-banner {
  color: #fff;
  text-align: center;
  padding: 160px 0 70px;
  background:
    linear-gradient(rgba(20, 64, 31, 0.80), rgba(28, 90, 44, 0.85)),
    url("https://images.unsplash.com/photo-1625246333195-78d9c38ad449?auto=format&fit=crop&w=1600&q=80") center/cover;
}
.page-banner h1 { color: #fff; font-size: 2.5rem; margin-bottom: 10px; }
.page-banner .crumbs { color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.page-banner .crumbs a:hover { text-decoration: underline; }

/* ---------- Stats ---------- */
.stats { background: var(--bg); padding: 64px 0; border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat { position: relative; }
.stat:not(:last-child)::after {
  content: ""; position: absolute; right: -12px; top: 50%; transform: translateY(-50%);
  height: 54px; width: 1px; background: var(--border);
}
.stat .num { font-size: 2.2rem; font-weight: 800; color: var(--green-700); }
.stat .label { color: var(--muted); font-size: 0.9rem; }
/* "Neden Miran Tarım?" içine gömülü sayılar */
.stats-inline { margin-top: 60px; padding-top: 50px; border-top: 1px solid var(--border); }

/* ---------- Features / Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card .icon {
  width: 58px; height: 58px;
  background: var(--green-100);
  color: var(--green-600);
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.card .icon svg { width: 28px; height: 28px; }
.icon svg, .ic svg, .info-item .ic svg { stroke: currentColor; }
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--muted); }

/* ---------- Product cards ---------- */
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card .thumb { height: 210px; overflow: hidden; position: relative; }
.product-card .thumb::after {
  content: "";
  position: absolute;
  right: 12px; bottom: 12px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92) url("../upload/favicon-icon.png") no-repeat center / 68%;
  box-shadow: 0 2px 10px rgba(20, 64, 31, 0.22);
  pointer-events: none;
}
.product-card .thumb a { display: block; width: 100%; height: 100%; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.product-card:hover .thumb img { transform: scale(1.08); }
.product-card .body { padding: 24px; }
.product-card .tag {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  color: var(--green-700); background: var(--green-100);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
}
.product-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.product-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 16px; }
.product-card .more { color: var(--green-600); font-weight: 600; font-size: 0.92rem; }
.product-card .more:hover { color: var(--green-700); }

/* ---------- Blog kartları ---------- */
.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.blog-thumb { display: block; height: 200px; overflow: hidden; position: relative; }
.blog-thumb::after {
  content: "";
  position: absolute;
  right: 12px; bottom: 12px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92) url("../upload/favicon-icon.png") no-repeat center / 68%;
  box-shadow: 0 2px 10px rgba(20, 64, 31, 0.22);
  pointer-events: none;
}
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-thumb img { transform: scale(1.07); }
.blog-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.blog-meta { font-size: 0.78rem; color: var(--muted); margin-bottom: 10px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.blog-meta .cat { display: none; }
.blog-card h3 { font-size: 1rem; margin-bottom: 8px; line-height: 1.35; }
.blog-card h3 a:hover { color: var(--green-700); }
.blog-card p { color: var(--muted); font-size: 0.85rem; margin-bottom: 14px; flex: 1; }
.blog-card .more { color: var(--green-600); font-weight: 600; font-size: 0.92rem; align-self: flex-start; }
.blog-card .more:hover { color: var(--green-700); }

/* ---------- Blog makale (detay) ---------- */
.article { max-width: 800px; margin: 0 auto; }
.article .lead-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; box-shadow: var(--shadow); }
.article .lead-img img { width: 100%; display: block; }
.article-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: 0.9rem; margin-bottom: 18px; }
.article-meta .cat { color: var(--green-700); font-weight: 700; background: var(--green-100); padding: 4px 12px; border-radius: 999px; }
.article > p { color: var(--ink); margin-bottom: 18px; line-height: 1.85; }
.article h2 { font-size: 1.5rem; margin: 32px 0 12px; }
.article ul { margin: 0 0 20px 4px; list-style: none; }
.article ul li { position: relative; padding: 6px 0 6px 30px; color: var(--ink); }
.article ul li::before { content: "✓"; position: absolute; left: 0; top: 7px; width: 20px; height: 20px; background: var(--green-600); color: #fff; border-radius: 50%; display: grid; place-items: center; font-size: 0.72rem; font-weight: 700; }
.article blockquote { border-left: 4px solid var(--green-500); background: var(--bg-soft); padding: 16px 22px; border-radius: 8px; color: var(--muted); font-style: italic; margin: 0 0 22px; }
.article-back { display: inline-flex; align-items: center; gap: 6px; margin-top: 28px; color: var(--green-700); font-weight: 600; }
.article-back:hover { color: var(--green-600); }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split h2 { font-size: 2.1rem; margin-bottom: 18px; }
.split p { color: var(--muted); margin-bottom: 16px; }
.check-list { list-style: none; margin-top: 18px; }
.check-list li { padding: 8px 0 8px 32px; position: relative; color: var(--ink); }
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 8px;
  width: 22px; height: 22px;
  background: var(--green-600); color: #fff;
  border-radius: 50%; display: grid; place-items: center;
  font-size: 0.8rem; font-weight: 700;
}

.bg-soft { background: var(--bg-soft); }

/* ---------- Swipe (kaydır) işareti ---------- */
.swipe-hint {
  position: absolute;
  z-index: 45;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  color: #fff;
}
.swipe-hint.go { opacity: 0.96; }
.swipe-hint.out { opacity: 0; }
.swipe-hint .hand {
  display: grid;
  place-items: center;
  width: 70px; height: 70px;
  border-radius: 50%;
  background: rgba(20, 64, 31, 0.55);
  backdrop-filter: blur(2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.swipe-hint .hand svg { width: 34px; height: 34px; }
.swipe-hint.go .hand { animation: swipeMove 1.8s ease-in-out 2; }
@keyframes swipeMove {
  0%   { transform: translateX(0); }
  28%  { transform: translateX(36px); }
  72%  { transform: translateX(-36px); }
  100% { transform: translateX(0); }
}

/* ---------- Values (mission/vision) ---------- */
.vm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.vm-card { background:#fff; border:1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.vm-card .icon {
  width: 60px; height: 60px; margin-bottom: 16px;
  background: var(--green-100); color: var(--green-600);
  border-radius: 14px; display: grid; place-items: center;
}
.vm-card .icon svg { width: 30px; height: 30px; }
.vm-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.vm-card p { color: var(--muted); }

/* ---------- Journey (Topraktan Sofraya) ---------- */
.journey { background: linear-gradient(180deg, #f3f9f4, #ffffff); }
.journey-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 56px;
}
.jline {
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 4px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.jline-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--green-500), var(--green-700));
  border-radius: 4px;
  transition: width 1.8s cubic-bezier(.4, 0, .2, 1);
}
.journey-track.visible .jline-fill { width: 100%; }
.jstep { position: relative; text-align: center; opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.journey-track.visible .jstep { opacity: 1; transform: none; }
.journey-track.visible .jstep:nth-child(2) { transition-delay: .15s; }
.journey-track.visible .jstep:nth-child(3) { transition-delay: .35s; }
.journey-track.visible .jstep:nth-child(4) { transition-delay: .55s; }
.journey-track.visible .jstep:nth-child(5) { transition-delay: .75s; }
.journey-track.visible .jstep:nth-child(6) { transition-delay: .95s; }
.jnode {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--green-100);
  color: var(--green-600);
  display: grid; place-items: center;
  margin: 0 auto 20px;
  position: relative; z-index: 1;
  box-shadow: 0 8px 22px rgba(20, 64, 31, 0.10);
  transition: transform .25s ease, border-color .25s ease;
}
.jstep:hover .jnode { transform: translateY(-5px); border-color: var(--green-500); }
.jnode svg { width: 38px; height: 38px; }
.jnode .num {
  position: absolute; top: -6px; right: -6px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--green-700); color: #fff;
  font-size: 0.82rem; font-weight: 700;
  display: grid; place-items: center;
  border: 3px solid #fff;
}
.jstep h3 { font-size: 1.08rem; margin-bottom: 7px; }
.jstep p { color: var(--muted); font-size: 0.92rem; padding: 0 6px; }

/* ---------- Certificates ---------- */
.cert-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 46px; align-items: center; margin-top: 8px; }
.cert-layout .cert-grid { grid-template-columns: repeat(2, 1fr); }
.cert-image img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
@media (max-width: 900px) {
  .cert-layout { grid-template-columns: 1fr; gap: 28px; }
  .cert-image { max-width: 380px; margin: 8px auto 0; }
}
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cert {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cert:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cert .cert-logo { height: 56px; width: auto; flex: none; object-fit: contain; }
.cert > div { min-width: 0; }
.cert h4 { color: var(--green-900); font-size: 1rem; margin-bottom: 2px; }
.cert p { color: var(--muted); font-size: 0.85rem; }

/* ---------- CTA band (açık tema) ---------- */
.cta-band {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 72px 0;
}
.cta-band .inner {
  max-width: 720px; margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 48px 40px;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: var(--green-900); font-size: 2rem; margin-bottom: 12px; }
.cta-band p { color: var(--muted); max-width: 520px; margin: 0 auto 26px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.info-item { display: flex; gap: 16px; margin-bottom: 26px; }
.info-item .ic {
  width: 50px; height: 50px; flex: none;
  background: var(--green-100); color: var(--green-600);
  border-radius: 12px; display: grid; place-items: center;
}
.info-item .ic svg { width: 24px; height: 24px; }
.info-item h4 { color: var(--green-900); margin-bottom: 2px; }
.info-item p { color: var(--muted); }
.info-item a:hover { color: var(--green-600); }

.form { background:#fff; border:1px solid var(--border); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 7px; color: var(--ink); }
.field input, .field textarea {
  width: 100%; padding: 13px 15px;
  border: 1px solid var(--border); border-radius: 10px;
  font-family: var(--font); font-size: 1rem; background: var(--bg-soft);
  transition: border 0.15s, box-shadow 0.15s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(67, 184, 95, 0.15); background: #fff;
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { display: none; margin-top: 14px; padding: 14px; border-radius: 10px; background: var(--green-100); color: var(--green-800); font-weight: 600; }
.form-note.show { display: block; }

.map-embed { margin-top: 56px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.map-embed iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ---------- Footer (açık tema) ---------- */
.site-footer { background: #eef4ef; color: var(--muted); padding: 76px 0 130px; border-top: 1px solid var(--border); position: relative; overflow: hidden; }
.site-footer::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 165px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.10;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='180' viewBox='0 0 340 180'%3E%3Cg fill='%231c5a2c'%3E%3Cpath d='M64 180 Q56 96 52 60 Q74 98 74 180 Z'/%3E%3Cpath d='M150 180 Q144 120 150 100 Q158 122 156 180 Z'/%3E%3Cpath d='M250 180 Q240 70 246 22 Q258 74 256 180 Z'/%3E%3C/g%3E%3Cg fill='%232e9e4b'%3E%3Cpath d='M24 180 Q10 64 4 10 Q18 64 34 180 Z'/%3E%3Cpath d='M104 180 Q98 116 104 96 Q112 118 110 180 Z'/%3E%3Cpath d='M188 180 Q178 76 186 36 Q198 78 196 180 Z'/%3E%3Cpath d='M300 180 Q290 56 306 8 Q314 60 310 180 Z'/%3E%3C/g%3E%3C/svg%3E") repeat-x bottom;
  background-size: auto 165px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 36px; padding-bottom: 48px; }
.site-footer h4 { color: var(--green-900); margin-bottom: 18px; font-size: 1.05rem; }
.site-footer .logo-chip { background: transparent; padding: 0; margin-bottom: 16px; }
.site-footer .logo-chip img { height: 76px; }
.site-footer p { font-size: 0.95rem; color: var(--muted); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { transition: color 0.15s; font-size: 0.95rem; color: var(--muted); }
.footer-links a:hover { color: var(--green-600); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 0.95rem; }
.footer-contact li svg { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.footer-contact li:first-child svg { width: 22px; height: 22px; margin-top: 1px; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border); color: var(--green-700);
  display: grid; place-items: center;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.social a:hover { background: var(--green-600); color: #fff; border-color: var(--green-600); }
.footer-bottom { display: none; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  /* --- Mobil header: logo.png (dik) --- */
  .nav { height: 92px; }
  .site-header .logo-desktop { height: 74px; }
  .logo .logo-mobile { display: none; }

  /* --- Mobil menü (yeniden tasarım) --- */
  .nav-toggle { display: flex; order: 2; }
  .site-header nav .lang-switch { order: 1; }
  .lang-current { padding: 6px 9px; font-size: 0.82rem; }
  .nav-links {
    position: fixed;
    inset: 92px 14px auto 14px;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(20, 64, 31, 0.20);
    transform: translateY(-14px) scale(0.98);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.26s ease, opacity 0.26s ease, visibility 0.26s;
    gap: 2px;
  }
  .nav-links.open { transform: translateY(0) scale(1); opacity: 1; visibility: visible; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: flex; align-items: center;
    padding: 15px 16px;
    border-radius: 12px;
    font-size: 1.04rem;
    font-weight: 600;
    color: var(--ink);
  }
  .nav-links a:hover, .nav-links a.active { background: var(--green-100); color: var(--green-700); }
  .nav-cta { margin: 6px 0 0; padding-top: 10px; border-top: 1px solid var(--border); }
  .nav-links .nav-cta a.btn {
    width: 100%; justify-content: center;
    background: var(--green-600); color: #fff;
    padding: 14px 22px; font-size: 1.04rem;
  }
  .nav-links .nav-cta a.btn:hover { background: var(--green-700); }

  /* --- Mobil grid düzeni --- */
  .grid-3, .grid-4, .cert-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .vm-grid, .split, .contact-grid, .form-row { grid-template-columns: 1fr; }

  /* Ürün grupları: yana kayan şerit */
  .products-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    margin: 0 -24px;
    padding: 4px 24px 18px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .products-grid > * { flex: 0 0 80%; scroll-snap-align: start; }
  .cert-grid.products-grid > * { flex: 0 0 62%; }
  .stat::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-grid > div:first-child,
  .footer-grid > div:last-child { grid-column: 1 / -1; }

  .split { gap: 32px; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1.05rem; }
  .hero { min-height: 84vh; }
  .hero-dots { right: auto; left: 50%; top: auto; bottom: 22px; transform: translateX(-50%); flex-direction: row; }
  section { padding: 60px 0; }
}
@media (max-width: 520px) {
  .hero { min-height: 78vh; }
}
@media (max-width: 760px) {
  /* Sertifika kartları mobilde sığsın */
  .cert { padding: 16px; gap: 12px; }
  .cert .cert-logo { height: 44px; }
  .cert h4 { font-size: 0.9rem; }
  .cert p { font-size: 0.76rem; }

  .journey-track { grid-template-columns: 1fr; gap: 0; margin-top: 40px; }
  .jline { top: 28px; bottom: 28px; left: 36px; right: auto; width: 4px; height: auto; }
  .jline-fill { width: 100% !important; height: 0; transition: height 1.8s cubic-bezier(.4, 0, .2, 1); }
  .journey-track.visible .jline-fill { height: 100%; }
  .jstep {
    display: grid;
    grid-template-columns: 72px 1fr;
    column-gap: 22px;
    text-align: left;
    padding: 16px 0;
  }
  .jnode {
    width: 72px; height: 72px;
    margin: 0;
    grid-row: 1 / 3;
    align-self: center;
  }
  .jnode svg { width: 32px; height: 32px; }
  .jstep h3 { grid-column: 2; align-self: end; margin-bottom: 4px; }
  .jstep p { grid-column: 2; align-self: start; padding: 0; }
}
