/* Yeapp Slider — ön yüz. Tüm ölçüler 1200 px tasarım genişliğine göre cqw ile ölçeklenir. */

.yps { position: relative; width: 100%; color: #fff; background: #0e1f3f; border-radius: var(--yps-r, 0); overflow: hidden; }
.yps__viewport { position: relative; height: var(--yps-h, 560px); overflow: hidden; }
@media (max-width: 767px) { .yps__viewport { height: var(--yps-hm, 420px); } }

.yps__slide { position: absolute; inset: 0; overflow: hidden; container-type: inline-size; }
.yps:not(.yps--ready) .yps__slide { transition: none !important; }
.yps--slide .yps__slide { transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.yps--fade .yps__slide { opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.yps--fade .yps__slide.is-active { opacity: 1; visibility: visible; }
.yps--up .yps__slide { transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.yps--zoom .yps__slide { opacity: 0; visibility: hidden; transform: scale(1.12); transition: opacity .9s ease, transform 1.2s cubic-bezier(.2, .7, .2, 1), visibility .9s; }
.yps--zoom .yps__slide.is-active { opacity: 1; visibility: visible; transform: none; }
.yps--blur .yps__slide { opacity: 0; visibility: hidden; filter: blur(18px); transition: opacity .8s ease, filter .8s ease, visibility .8s; }
.yps--blur .yps__slide.is-active { opacity: 1; visibility: visible; filter: none; }

.yps__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.yps .yps__bg-img, .yps .yps__bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yps__overlay { position: absolute; inset: 0; background: #000; pointer-events: none; }

/* Görsel slayt ya da arka plan bağlantısı: tüm slayt tıklanabilir */
.yps__hit { position: absolute; inset: 0; z-index: 1; }
.yps__hit:focus-visible { outline: 3px solid #FFB547; outline-offset: -3px; }

.yps__layers { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.yps__layer { position: absolute; margin: 0; box-sizing: border-box; line-height: 1.2; pointer-events: auto; overflow-wrap: break-word; }
.yps__text { text-shadow: 0 2px 18px rgba(0, 0, 0, .25); }
.yps__btn { display: inline-block; padding: .55em 1.2em; text-align: center; text-decoration: none; color: #fff; font-weight: 700; white-space: normal; }
.yps__btn:hover, .yps__btn:focus-visible { filter: brightness(1.08); }
.yps .yps__img, .yps .yps__layer-video { display: block; height: auto; max-width: none; }
.yps__layer-link { position: absolute; display: block; pointer-events: auto; }
.yps .yps__layer-link img { display: block; width: 100%; height: auto; }

/* Navigasyon */
.yps__nav { display: flex; align-items: center; gap: 16px; padding: 14px 18px; background: #0a1830; color: #fff; }
.yps__group { display: flex; align-items: center; gap: 10px; }
.yps__btn-ctl { width: 40px; height: 40px; flex: 0 0 40px; display: inline-grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.yps__btn-ctl:hover, .yps__btn-ctl:focus-visible { background: rgba(255, 255, 255, .14); }
.yps__btn-ctl:focus-visible, .yps__dot:focus-visible, .yps__thumb:focus-visible { outline: 2px solid #FFB547; outline-offset: 2px; }
.yps__ico-pause { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; box-sizing: border-box; }
.yps__pause.is-paused .yps__ico-pause { width: 0; height: 0; border-left: 9px solid currentColor; border-right: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* 1. Oklar ve noktalar */
.yps--nav-arrows .yps__nav { justify-content: center; }
.yps__dots { display: flex; align-items: center; gap: 10px; }
.yps__dot { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .35); cursor: pointer; transition: width .3s, background .3s; }
.yps__dot.is-active { width: 32px; background: #FF5C7A; }

/* 2. Sayaç ve ilerleme çizgisi */
.yps__count { font-variant-numeric: tabular-nums; font-weight: 700; letter-spacing: .08em; white-space: nowrap; }
.yps__count b { color: #FFB547; }
.yps__bar { position: relative; flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.yps__bar span { position: absolute; inset: 0; background: linear-gradient(90deg, #FF5C7A, #FFB547); transform: scaleX(0); transform-origin: left center; }
.yps.is-playing .yps__bar span { animation: yps-progress var(--yps-cur, var(--yps-interval, 6000ms)) linear forwards; }
@keyframes yps-progress { to { transform: scaleX(1); } }

/* 3. Küçük önizlemeler */
.yps__thumbs { flex: 1; display: flex; gap: 10px; overflow-x: auto; padding: 4px; scrollbar-width: thin; }
.yps__thumb { flex: 0 0 96px; height: 56px; padding: 0; border: 2px solid transparent; border-radius: 8px; background-size: cover; background-position: center; opacity: .55; cursor: pointer; }
.yps__thumb:hover { opacity: .9; }
.yps__thumb.is-active { border-color: #FF5C7A; opacity: 1; }

@media (max-width: 767px) {
	.yps__nav { flex-wrap: wrap; gap: 10px; padding: 12px; }
	.yps--nav-progress .yps__group { margin-left: auto; }
	.yps--nav-progress .yps__bar { order: 3; flex-basis: 100%; }
	.yps__thumb { flex-basis: 72px; height: 44px; }
	.yps--nav-thumbs .yps__nav { justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
	.yps__slide, .yps__dot, .yps__bar span { transition: none !important; animation: none !important; }
}

/* Ok konumları: kenarlarda ya da köşelerde, slaytın üstünde */
.yps__arrows { position: absolute; z-index: 4; display: flex; gap: 10px; pointer-events: none; }
.yps__arrows .yps__btn-ctl { pointer-events: auto; background: rgba(10, 24, 48, .55); border-color: rgba(255, 255, 255, .4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.yps__arrows--sides { top: 50%; left: 16px; right: 16px; transform: translateY(-50%); justify-content: space-between; }
.yps__arrows--bottom-left { left: 16px; bottom: 16px; }
.yps__arrows--bottom-right { right: 16px; bottom: 16px; }

/* Ok stilleri */
.yps--as-square .yps__btn-ctl { border-radius: 10px; }
.yps--as-minimal .yps__btn-ctl { width: auto; height: auto; flex-basis: auto; border-color: transparent; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; font-size: 44px; font-weight: 300; text-shadow: 0 2px 12px rgba(0, 0, 0, .55); }
.yps--as-minimal .yps__btn-ctl:hover, .yps--as-minimal .yps__btn-ctl:focus-visible { background: transparent; color: #FFB547; }
.yps--as-minimal .yps__arrows .yps__btn-ctl { background: transparent; }
@media (max-width: 767px) {
	.yps__arrows--sides { left: 8px; right: 8px; }
	.yps__arrows .yps__btn-ctl { width: 36px; height: 36px; flex-basis: 36px; font-size: 20px; }
	.yps--as-minimal .yps__arrows .yps__btn-ctl { font-size: 36px; }
}

.yps .yps__layer-audio { display: block; height: auto; max-width: none; }
