/* Yıldız Park — Anasayfa v2 (yp-pdp.css + yp-cat.css üzerine) */

/* Hero */
.yh-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 88px); align-items: end; padding: clamp(32px, 5vw, 72px) 0 clamp(36px, 5vw, 64px); }
.yh-hero__title { font-family: var(--serif); font-weight: 500; font-size: clamp(42px, 5.6vw, 84px); line-height: 1.02; letter-spacing: -.025em; color: var(--ink); margin: 0 0 24px; max-width: 11ch; }
.yh-hero__lead { font-size: 18px; line-height: 1.7; color: var(--muted); margin: 0 0 36px; max-width: 44ch; }
.yh-hero__media { position: relative; display: grid; grid-template-columns: 1fr; }
.yh-hero__main, .yh-hero__sub { position: relative; display: block; overflow: hidden; border-radius: 6px; background: var(--sand); }
.yh-hero__main { aspect-ratio: 5 / 4; margin-right: clamp(40px, 8vw, 120px); }
.yh-hero__sub { position: absolute; right: 0; bottom: -28px; width: 42%; aspect-ratio: 4 / 5; box-shadow: 0 0 0 8px var(--paper); }
.yh-hero__main img, .yh-hero__sub img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.yh-hero__main:hover img, .yh-hero__sub:hover img { transform: scale(1.03); }
.yh-cap { position: absolute; left: 14px; bottom: 14px; z-index: 1; font-size: 13px; font-weight: 600; color: #fff; background: rgba(36, 20, 10, .55); padding: 6px 10px; border-radius: 4px; backdrop-filter: blur(6px); }

/* Hero slider */
.yh-slider { --gut: max(24px, calc((100% - 1320px) / 2)); position: relative; width: 100%; margin: 0; height: clamp(540px, calc(100vh - 150px), 820px); overflow: hidden; background: var(--walnut); isolation: isolate; }
.yh-slides { position: absolute; inset: 0; }
.yh-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 0s linear 1s; }
.yh-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s var(--ease), visibility 0s; z-index: 1; }
.yh-slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yh-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28, 15, 6, .82) 0%, rgba(28, 15, 6, .55) 38%, rgba(28, 15, 6, .05) 72%), linear-gradient(0deg, rgba(28, 15, 6, .55) 0%, rgba(28, 15, 6, 0) 35%); }
.yh-slide__body { position: absolute; z-index: 2; left: var(--gut); bottom: clamp(120px, 16vh, 168px); max-width: 600px; color: #fff; }
.yh-slide__eyebrow { margin: 0 0 16px; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .8); }
.yh-slide__title { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 5vw, 72px); line-height: 1.04; letter-spacing: -.025em; color: #fff; margin: 0 0 20px; }
.yh-slide__lead { margin: 0 0 32px; font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, .86); max-width: 48ch; }
.yh-slide__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.yh-slide__body > * { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.yh-slide.is-active .yh-slide__body > * { opacity: 1; transform: none; }
.yh-slide.is-active .yh-slide__body > *:nth-child(2) { transition-delay: .08s; }
.yh-slide.is-active .yh-slide__body > *:nth-child(3) { transition-delay: .16s; }
.yh-slide.is-active .yh-slide__body > *:nth-child(4) { transition-delay: .24s; }
.yh-btn-light { background: #fff; color: var(--ink) !important; min-height: 54px; }
.yh-btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -16px rgba(0, 0, 0, .6); }
.yh-btn-line { background: transparent; color: #fff !important; border: 1.5px solid rgba(255, 255, 255, .55); min-height: 54px; }
.yh-btn-line:hover { border-color: #fff; background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.yh-btn-light:focus-visible, .yh-btn-line:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.yh-nav { position: absolute; z-index: 3; left: var(--gut); right: var(--gut); bottom: 0; display: flex; justify-content: space-between; align-items: stretch; gap: 24px; border-top: 1px solid rgba(255, 255, 255, .22); }
.yh-dots { display: flex; gap: 0; }
.yh-dot { appearance: none; display: block !important; background: none; border: 0; margin: 0; position: relative; text-transform: none; min-width: 210px; padding: 20px 28px 24px 0; text-align: left; cursor: pointer; font: 500 14.5px/1.2 var(--sans); color: rgba(255, 255, 255, .6); transition: color .3s; }
.yh-dot b { display: inline !important; font-weight: 700; margin-right: 10px; }
.yh-dot span { position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: #fff; }
.yh-dot:hover, .yh-dot.is-active { color: #fff; }
.yh-dot.is-active span { width: calc(100% - 28px); }
.yh-slider.is-run .yh-dot.is-active span { width: 0; animation: yh-progress 7s linear forwards; }
@keyframes yh-progress { to { width: calc(100% - 28px); } }
.yh-dot:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.yh-arrows { display: flex; align-items: center; gap: 0; }
.yh-count { font: 500 14px/1 var(--sans); color: rgba(255, 255, 255, .6); margin-right: 20px; letter-spacing: .02em; }
.yh-count b { color: #fff; font-weight: 700; }
.yh-arrow { appearance: none; -webkit-appearance: none; flex: none; box-sizing: border-box; width: 56px; height: 56px; min-width: 0; padding: 0; margin: 0; border: 0; border-left: 1px solid rgba(255, 255, 255, .22); border-radius: 0; background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; line-height: 0; transition: background-color .25s, color .25s; }
.yh-arrow:last-child { border-right: 1px solid rgba(255, 255, 255, .22); }
.yh-arrow:hover { background: #fff; color: var(--ink); }
.yh-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.yh-arrow[data-dir="1"]:hover svg { transform: translateX(3px); }
.yh-arrow[data-dir="-1"]:hover svg { transform: translateX(-3px); }
.yh-arrow:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
#yp-home > .yp-wrap > .yp-facts { margin-top: 28px; }
@media (prefers-reduced-motion: reduce) {
  .yh-slide, .yh-slide__body > * { transition: none !important; }
}
@media (max-width: 767px) {
  .yh-slider { --gut: 20px; height: min(620px, 78svh); }
  .yh-slide::after { background: linear-gradient(0deg, rgba(28, 15, 6, .9) 0%, rgba(28, 15, 6, .6) 45%, rgba(28, 15, 6, .1) 80%); }
  .yh-slide__body { right: 20px; bottom: 84px; }
  .yh-slide__title { font-size: 34px; }
  .yh-slide__lead { font-size: 15px; margin-bottom: 22px; }
  .yh-slide__cta .yp-btn { flex: 1 1 auto; min-height: 50px; padding: 0 16px; font-size: 14.5px; }
  .yh-dots { flex: 1; }
  .yh-dot { min-width: 0; flex: 1; padding: 16px 12px 18px 0; font-size: 12.5px; }
  .yh-dot.is-active span { width: calc(100% - 12px); }
  @keyframes yh-progress { to { width: calc(100% - 12px); } }
  .yh-arrows { display: none; }
}

/* Kategori ızgarası */
.yh-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px) clamp(16px, 2vw, 28px); }
.yh-cat { display: block; color: inherit !important; }
.yh-cat__img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: var(--sand); }
.yh-cat__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.yh-cat:hover .yh-cat__img img { transform: scale(1.04); }
.yh-cat__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0 12px; border-bottom: 1px solid var(--line); transition: border-color .3s; }
.yh-cat:hover .yh-cat__row { border-bottom-color: var(--ink); }
.yh-cat__name { font-family: var(--serif); font-size: 19px; font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
.yh-cat__n { font-size: 13.5px; color: var(--muted); white-space: nowrap; }

.yh-grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Size özel */
.yh-custom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: center; padding: clamp(48px, 6vw, 88px) 0; border-top: 1px solid var(--line); }
.yh-custom__text p { font-size: 17px; line-height: 1.7; color: var(--muted); margin: 20px 0 32px; max-width: 46ch; }
.yh-custom__media { margin: 0; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--sand); }
.yh-custom__media img { width: 100%; height: 100%; object-fit: cover; }

/* Blog */
.yh-blog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.yh-post { display: block; color: inherit !important; }
.yh-post__img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: var(--sand); margin-bottom: 18px; }
.yh-post__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.yh-post:hover .yh-post__img img { transform: scale(1.04); }
.yh-post h3 { font-family: var(--serif); font-size: 20px; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; color: var(--ink); margin: 0 0 10px; }
.yh-post:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.yh-post p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

@media (max-width: 1199px) {
  .yh-grid4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .yh-hero, .yh-custom { grid-template-columns: minmax(0, 1fr); }
  .yh-hero__media { margin-bottom: 28px; }
  .yh-cats, .yh-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yh-blog { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 575px) {
  .yh-hero__title { font-size: 40px; }
  .yh-hero__lead { font-size: 16px; }
  .yh-hero__main { margin-right: 56px; }
  .yh-cats { gap: 20px 12px; }
  .yh-cat__row { flex-direction: column; gap: 2px; padding-top: 10px; }
  .yh-cat__name { font-size: 16px; }
  .yh-hero .yp-ch__links .yp-btn { width: 100%; }
}

/* Slider: alt gezinme kaldırıldı, otomatik geçiş */
.yh-slide__body { bottom: clamp(64px, 11vh, 120px); }
@media (max-width: 767px) { .yh-slide__body { bottom: 40px; } }
