/* ===================================================================
   Zeytin havuzları — bölüm bölüm kurgu (anasayfa dili: beyaz zemin, ince Ubuntu, yeşil)
   =================================================================== */
:root { --ink: #0b3d2e; --g: #04654f; }
body.hv { background: #fff; color: #2a2a20; margin: 0; font-family: "Ubuntu", sans-serif; }
body.hv main { display: block; overflow-x: clip; }

/* menü: anasayfadaki AYNI logo, rengi koyu yeşile çevrilmiş */
body.hv .site-header--ink .site-logo { position: relative; }
body.hv .site-header--ink .site-logo img { opacity: 0; filter: none; }
body.hv .site-header--ink .site-logo::after { content: ""; position: absolute; inset: 0; background: #04654f;
  -webkit-mask: url(../img/hctagro-logo.webp) left center / contain no-repeat; mask: url(../img/hctagro-logo.webp) left center / contain no-repeat; }
body.hv .site-header--ink .nav-toggle span { background: var(--ink); box-shadow: none; }
body.hv .site-header--ink .nav-toggle.open span { background: #fffbe7; }
@media (min-width: 1025px) { body.hv .site-header--ink .nav-link { color: var(--ink); text-shadow: none; opacity: .92; } }

/* ---- 1) solda yazı · sağ alta yaslı büyük PNG havuzlar (görselin sol üstü boş, yazıyla çakışmaz) ---- */
.hv-a { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden;
  padding: clamp(110px, 11vw, 150px) var(--section-x) clamp(50px, 5vw, 80px); background: #fff; }
.hv-a__t { position: relative; z-index: 2; max-width: min(27em, calc(39vw - var(--section-x) - 10px)); }   /* görselin (sağda, %61 genişlik) soluna taşmasın */
.hv-a__h { margin: 0 0 clamp(22px, 2.6vw, 40px); font-weight: 200; font-size: var(--fs-h); line-height: 1.06; letter-spacing: -.02em; color: var(--g); }
.hv-a__h { width: max-content; max-width: 100vw; }
.hv-a__t p { margin: 0 0 1.15em; font-weight: 300; font-size: var(--fs-p); line-height: var(--lh-p); color: #2a2a20; }
.hv-a__img { position: absolute; z-index: 1; right: 0; top: 52%; transform: translateY(-46%); width: min(61vw, 1300px); pointer-events: none; }
.hv-a__img img { display: block; width: 100%; height: auto; max-height: 82svh; object-fit: contain; object-position: right center; mix-blend-mode: multiply; -webkit-mask-image: linear-gradient(180deg, #000 93%, transparent), linear-gradient(90deg, #000 95%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(180deg, #000 93%, transparent), linear-gradient(90deg, #000 95%, transparent); mask-composite: intersect; }
.js .hv-a__t > * { opacity: 0; transform: translateY(18px); animation: hv-up .9s cubic-bezier(.16,1,.3,1) forwards; }
.js .hv-a__t > :nth-child(1) { animation-delay: .12s; } .js .hv-a__t > :nth-child(2) { animation-delay: .28s; } .js .hv-a__t > :nth-child(3) { animation-delay: .42s; }
@keyframes hv-up { to { opacity: 1; transform: none; } }
.js .hv-a__img img { opacity: 0; transform: translateX(6%); animation: hv-up 1.5s cubic-bezier(.16,1,.3,1) .2s forwards; }

/* ---- 2) solda kuş bakışı havuzlar · sağda yazı ---- */
.hv-b { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: clamp(24px, 5vw, 90px);
  min-height: 100svh; padding: clamp(60px, 7vw, 110px) var(--section-x); background: #fff; }
.hv-b__img { margin: 0; }   /* saydam zeminli kesim görsel: kutu zemini ve köşe yuvarlatma yok */
.hv-b__img img { display: block; width: 100%; height: auto; max-height: 82svh; object-fit: contain; }
.hv-b__t { max-width: 20em; }
.hv-b__t h2 { margin: 0; font-weight: 200; font-size: var(--fs-h); line-height: 1.08; letter-spacing: -.02em; color: var(--g); }
.hv-b__t p { margin: clamp(14px, 1.6vw, 24px) 0 0; font-weight: 300; font-size: var(--fs-p); line-height: var(--lh-p); color: #2a2a20; }
.js .hv-b.rs .hv-b__t > p { transition-delay: .45s; }
.js .hv-b.rs .hv-b__img { opacity: 0; transform: translateX(-5%) scale(.97); transition: opacity 1.1s ease, transform 1.5s cubic-bezier(.16,1,.3,1); }
.js .hv-b.rs .hv-b__t > * { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform 1s cubic-bezier(.16,1,.3,1); transition-delay: .3s; }
.js .hv-b.rs.in .hv-b__img, .js .hv-b.rs.in .hv-b__t > * { opacity: 1; transform: none; }

/* ---- 3) büyük ortalanmış PNG · yazı görselin boş alanında ---- */
.hv-c { padding: clamp(30px, 4vw, 70px) 0 clamp(60px, 7vw, 120px) var(--section-x); background: #fff; overflow: hidden; }   /* görsel sağ kenara taşar */
.hv-c__fig { position: relative; margin: 0; width: 100%; }
.hv-c__fig img { display: block; width: 100%; height: auto; -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent); mask-image: linear-gradient(180deg, #000 88%, transparent); }
.hv-c__t { position: absolute; left: 0; top: 3%; width: 36%; }
.hv-c__t h2 { margin: 0; font-weight: 200; font-size: var(--fs-h); line-height: 1.06; letter-spacing: -.02em; color: var(--g); }
.hv-c__t p { margin: clamp(12px, 1.4vw, 22px) 0 0; font-weight: 300; font-size: var(--fs-p); line-height: var(--lh-p); color: #2a2a20; }
.js .hv-c.rs .hv-c__fig img { opacity: 0; transform: translateY(26px) scale(.97); transition: opacity 1.2s ease, transform 1.6s cubic-bezier(.16,1,.3,1); }
.js .hv-c.rs .hv-c__t > * { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform 1s cubic-bezier(.16,1,.3,1); transition-delay: .4s; }
.js .hv-c.rs .hv-c__t > p { transition-delay: .55s; } .js .hv-c.rs .hv-c__t > p + p { transition-delay: .7s; }
.js .hv-c.rs.in .hv-c__fig img, .js .hv-c.rs.in .hv-c__t > * { opacity: 1; transform: none; }

/* 1. bölümde görsel yazının üstüne binmesin: tablet ve dar masaüstünde (≤1099px) görsel yazının altına iner */
@media (max-width: 1099px) {
  .hv-a { display: block; min-height: 0; padding: 110px var(--section-x) 0; }
  .hv-a__t { max-width: 38em; } .hv-a__h { width: auto; } .hv-a__img { position: static; transform: none; width: auto; margin: 30px calc(-1 * var(--section-x)) 0 0; } .hv-a__img img { max-height: 52svh; }
  /* 3. bölüm: dar ekranda yazı görselin fırça kenarına binmesin — yazı üstte, görsel altta */
  .hv-c { padding-right: var(--section-x); }
  .hv-c__fig { display: flex; flex-direction: column; } .hv-c__t { position: static; width: auto; max-width: 38em; order: -1; margin-bottom: 20px; }
}
@media (max-width: 899px) {
  .hv-b { grid-template-columns: 1fr; min-height: 0; padding: 50px var(--section-x); }
  .hv-c__fig { display: flex; flex-direction: column; } .hv-c__t { position: static; width: auto; order: -1; margin-bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .hv-a__t > *, .js .hv-a__img img, .js .hv-b.rs .hv-b__img, .js .hv-b.rs .hv-b__t > *, .js .hv-c.rs .hv-c__fig img, .js .hv-c.rs .hv-c__t > * { opacity: 1; transform: none; animation: none; transition: none; }
}
