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

/* menü: anasayfadaki AYNI logo, rengi koyu yeşile çevrilmiş */
body.ub .site-header--ink .site-logo { position: relative; }
body.ub .site-header--ink .site-logo img { opacity: 0; filter: none; }
body.ub .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.ub .site-header--ink .nav-toggle span { background: var(--ink); box-shadow: none; }
body.ub .site-header--ink .nav-toggle.open span { background: #fffbe7; }
@media (min-width: 1025px) { body.ub .site-header--ink .nav-link { color: var(--ink); text-shadow: none; opacity: .92; } }

/* ---- 1) solda yazı · sağda zeytin dalı ---- */
.ub-a { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(20px, 4vw, 70px); overflow: hidden;
  padding: clamp(110px, 11vw, 150px) var(--section-x) clamp(50px, 5vw, 80px); background: #fff; }
.ub-a__t { max-width: 36em; }
.ub-a__h { margin: 0 0 clamp(22px, 2.6vw, 40px); font-weight: 200; font-size: var(--fs-h); line-height: 1.04; letter-spacing: -.02em; color: var(--g); }
.ub-a__t p { margin: 0 0 1.15em; font-weight: 300; font-size: var(--fs-p); line-height: var(--lh-p); color: #2a2a20; }
.ub-a__img { display: flex; justify-content: flex-end; align-items: center; }
.ub-a__img img { display: block; width: min(100%, 640px); height: auto; max-height: 82svh; object-fit: contain; filter: drop-shadow(0 34px 30px rgba(5,41,32,.2)); animation: ub-fl 9s ease-in-out infinite; }
@keyframes ub-fl { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(.7deg); } }
.js .ub-a__t > * { opacity: 0; transform: translateY(18px); animation: ub-up .9s cubic-bezier(.16,1,.3,1) forwards; }
.js .ub-a__t > :nth-child(1) { animation-delay: .12s; } .js .ub-a__t > :nth-child(2) { animation-delay: .28s; } .js .ub-a__t > :nth-child(3) { animation-delay: .42s; }
@keyframes ub-up { to { opacity: 1; transform: none; } }
.js .ub-a__img { opacity: 0; animation: ub-up 1.4s cubic-bezier(.16,1,.3,1) .2s forwards; }

/* ---- araya: üç kare bahçe fotoğrafı yan yana ---- */
.ub-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 22px); padding: clamp(20px, 3vw, 50px) var(--section-x) clamp(50px, 6vw, 100px); background: #fff; }
.ub-g figure { margin: 0; aspect-ratio: 1; overflow: hidden; border-radius: 4px; background: #e6e3d6; }
.ub-g img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s cubic-bezier(.16,1,.3,1); }
.ub-g figure:hover img { transform: scale(1.05); }
.js .rs .ub-g figure, .js .ub-g.rs figure { opacity: 0; transform: translateY(26px); transition: opacity 1s ease, transform 1.2s cubic-bezier(.16,1,.3,1); }
.js .ub-g.rs figure:nth-child(2) { transition-delay: .15s; } .js .ub-g.rs figure:nth-child(3) { transition-delay: .3s; }
.js .ub-g.rs.in figure { opacity: 1; transform: none; }

/* ---- 2) geniş İznik çizimi; yazı çizimin sağ üstündeki boşlukta (maket: yazı boşluğun biraz üstünde) ---- */
.ub-b { display: grid; place-items: center; min-height: 100svh; padding: clamp(90px, 8vw, 130px) var(--section-x) clamp(40px, 4vw, 70px); background: #fff; }
.ub-b__fig { position: relative; margin: 0; width: min(76vw, calc(84svh * 1.517)); }
.ub-b__fig img { display: block; width: 100%; height: auto; }
.ub-b__t { position: absolute; left: 55%; top: -6.5%; width: 36%; }
.ub-b__t h2 { margin: 0; font-weight: 400; font-size: var(--fs-h); line-height: 1.1; letter-spacing: -.005em; color: var(--g); }
.ub-b__t p { margin: clamp(10px, 1vw, 18px) 0 0; font-weight: 300; font-size: var(--fs-p); line-height: var(--lh-p); color: #2a2a20; }
.js .rs .ub-b__fig img { opacity: 0; transform: translateX(-4%) scale(.97); transition: opacity 1.1s ease, transform 1.5s cubic-bezier(.16,1,.3,1); }
.js .rs .ub-b__t > * { opacity: 0; transform: translateY(16px); transition: opacity .9s ease, transform 1.1s cubic-bezier(.16,1,.3,1); transition-delay: .35s; }
.js .rs .ub-b__t > p { transition-delay: .5s; }
.js .rs.in .ub-b__fig img, .js .rs.in .ub-b__t > * { opacity: 1; transform: none; }

/* ---- 3) gerçek İznik fotoğrafı; başlık + açıklama görselin içinde (sol alt) ---- */
.ub-c { padding: clamp(20px, 3vw, 50px) var(--section-x) clamp(70px, 8vw, 130px); background: #fff; }
.ub-c__fig { position: relative; margin: 0 auto; max-width: 1500px; overflow: hidden; border-radius: 6px; background: #d9d6c6; }
.ub-c__fig img { display: block; width: 100%; height: auto; max-height: 86svh; object-fit: cover; }
.ub-c__fig::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,22,14,0) 38%, rgba(6,22,14,.42) 68%, rgba(6,22,14,.78) 100%); pointer-events: none; }
.ub-c__t { position: absolute; z-index: 2; left: clamp(22px, 4vw, 70px); right: clamp(22px, 4vw, 70px); bottom: clamp(22px, 4vw, 64px); color: #fff; }   /* tek başlık: geniş kutu, iki satır */
.ub-c__t h2 { margin: 0; max-width: 17em; text-wrap: balance; font-weight: 200; font-size: var(--fs-h); line-height: 1.04; letter-spacing: -.02em; text-shadow: 0 2px 26px rgba(0,0,0,.35); }
.ub-c__t p { margin: clamp(10px, 1.2vw, 20px) 0 0; font-weight: 300; font-size: var(--fs-p); line-height: var(--lh-p); color: rgba(255,255,255,.95); text-shadow: 0 1px 16px rgba(0,0,0,.4); }
.js .ub-c.rs .ub-c__fig img { opacity: 0; transform: scale(1.05); transition: opacity 1.2s ease, transform 2.2s cubic-bezier(.16,1,.3,1); }
.js .ub-c.rs .ub-c__t > * { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform 1s cubic-bezier(.16,1,.3,1); transition-delay: .5s; }
.js .ub-c.rs .ub-c__t > p { transition-delay: .65s; }
.js .ub-c.rs.in .ub-c__fig img, .js .ub-c.rs.in .ub-c__t > * { opacity: 1; transform: none; }

@media (max-width: 899px) {
  .ub-c__fig img { aspect-ratio: 4 / 5; }
  .ub-g { grid-template-columns: 1fr; }
  .ub-a { grid-template-columns: 1fr; min-height: 0; padding: 110px var(--section-x) 40px; }
  .ub-a__img { order: -1; justify-content: center; } .ub-a__img img { max-height: 40svh; }
  .ub-b { min-height: 0; padding: 50px var(--section-x); } .ub-b__fig { width: 100%; } .ub-b__t { position: static; width: auto; margin-bottom: 20px; }
  .ub-b__fig { display: flex; flex-direction: column-reverse; }
}
@media (prefers-reduced-motion: reduce) {
  .ub-a__img img { animation: none; }
  .js .ub-c.rs .ub-c__fig img, .js .ub-c.rs .ub-c__t > *, .js .ub-g.rs figure, .js .ub-a__t > *, .js .ub-a__img, .js .rs .ub-b__fig img, .js .rs .ub-b__t > * { opacity: 1; transform: none; animation: none; transition: none; }
}
