/* Anasayfa slider'ı — 7 model, oklar, göstergeler, mobil ayarları (slider.js, App\Services\Slider) */
.v-hero.ms-wide { padding-top: 0; }
.v-hero.ms-wide .v-hero-wrap { max-width: none; padding: 0; }
.ms { --sp: 800ms; --r: 16px; --scrim: 0; --fg: var(--ink); position: relative; min-width: 0; user-select: none; -webkit-user-select: none; }
.ms-vp { position: relative; aspect-ratio: var(--ratio, 21/9); min-height: 320px; border-radius: var(--r); overflow: hidden; touch-action: pan-y; isolation: isolate; }
.ms.can-drag .ms-vp { cursor: grab; }
.ms.dragging .ms-vp { cursor: grabbing; }
.ms-s { position: absolute; inset: 0; overflow: hidden; background: var(--c1); color: var(--fg); transition: transform var(--sp) cubic-bezier(.65, 0, .2, 1), opacity var(--sp) ease, clip-path var(--sp) cubic-bezier(.7, 0, .2, 1), filter var(--sp); }
.ms-s[hidden] { display: none; }
.ms-s.light { --fg: #fff; }
.ms-art { position: absolute; inset: 0; display: block; }
.ms-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease-out; -webkit-user-drag: none; }
.ms.kb .ms-s.on .ms-art img { animation: msKb calc(var(--dur) * 1s + 2s) linear both; }
@keyframes msKb { from { transform: scale(1); } to { transform: scale(1.1); } }
.ms-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgb(0 0 0 / var(--scrim)), transparent 72%); }
.ms[data-align=center] .ms-scrim { background: rgb(0 0 0 / calc(var(--scrim) * .8)); }
.ms[data-align=right] .ms-scrim { background: linear-gradient(270deg, rgb(0 0 0 / var(--scrim)), transparent 72%); }
.ms-cover-link { position: absolute; inset: 0; z-index: 3; }
.ms-tx { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; padding: 0 7%; pointer-events: none; }
.ms-tx > * { pointer-events: auto; flex-shrink: 0; transition: transform .7s cubic-bezier(.2, .8, .2, 1), opacity .7s, filter .7s; }
.ms[data-align=center] .ms-tx { align-items: center; text-align: center; }
.ms[data-align=right] .ms-tx { align-items: flex-end; text-align: right; }
.ms-tx small { font-weight: 700; font-size: 12.5px; padding: 4px 11px; border-radius: 99px; background: rgb(255 255 255 / .8); color: var(--ink); }
.ms-tx h1, .ms-tx h2 { margin: 0; font-family: var(--font-display); font-size: calc(clamp(28px, 3.6vw, 50px) * var(--fs, 1)); line-height: 1.05; letter-spacing: -.015em; max-width: 13ch; color: inherit; }
.ms-tx p { margin: 0; font-size: calc(16px * var(--fs, 1)); max-width: 36ch; opacity: .85; }
.ms-btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 12px; background: var(--ink); color: var(--bg, #fff); font-weight: 700; font-size: 14.5px; text-decoration: none; transition: transform .2s; }
.ms-s.light .ms-btn { background: #fff; color: #111; }
.ms-btn:hover { transform: translateY(-1px); }
.ms-btn svg { width: 16px; height: 16px; }
/* metin animasyonları */
.ms[data-txt=rise] .ms-s:not(.on) .ms-tx > * { transform: translateY(22px); opacity: 0; }
.ms[data-txt=rise] .ms-s.on .ms-tx > :nth-child(2) { transition-delay: .12s; }
.ms[data-txt=rise] .ms-s.on .ms-tx > :nth-child(3) { transition-delay: .22s; }
.ms[data-txt=rise] .ms-s.on .ms-tx > :nth-child(4) { transition-delay: .32s; }
.ms[data-txt=blur] .ms-s:not(.on) .ms-tx > * { filter: blur(10px); opacity: 0; transform: scale(1.04); }
.ms[data-txt=blur] .ms-s.on .ms-tx > :nth-child(n+2) { transition-delay: .15s; }
.ms-tx .ch { display: inline-block; transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .6s; }
.ms[data-txt=letters] .ms-s:not(.on) .ms-tx .ch { transform: translateY(.6em) rotate(6deg); opacity: 0; }
.ms[data-txt=letters] .ms-s:not(.on) .ms-tx > :not(h1, h2) { opacity: 0; }
.ms[data-txt=letters] .ms-s.on .ms-tx > :not(h1, h2) { transition-delay: .5s; }

/* modeller — slider.js her slayta --o (konum) ve --a (uzaklık) verir */
.m-fade .ms-s, .m-split .ms-s { opacity: 0; z-index: 0; }
.m-fade .ms-s.on, .m-split .ms-s.on { opacity: 1; z-index: 1; }
.m-story .ms-s { opacity: 0; z-index: 0; transform: scale(1.03); }
.m-story .ms-s.on { opacity: 1; z-index: 1; transform: none; }
.m-peek .ms-vp, .m-cover .ms-vp, .m-stack .ms-vp { border-radius: 0; }
.m-peek .ms-s { right: 8%; border-radius: var(--r); transform: translateX(calc(var(--o, 0) * (100% + 14px))); }
.m-peek .ms-s:not(.on) { filter: saturate(.8) brightness(.97); }
.m-cover .ms-vp { perspective: 1400px; }
.m-cover .ms-s { inset: 4% 20%; border-radius: var(--r); transform: translateX(calc(var(--o, 0) * 66%)) rotateY(calc(var(--o, 0) * -36deg)) scale(calc(1 - var(--a, 0) * .15)); z-index: calc(10 - var(--a, 0)); opacity: calc(1 - var(--a, 0) * .3); box-shadow: 0 24px 40px -22px rgb(0 0 0 / .45); }
.m-cover .ms-s.far { opacity: 0; pointer-events: none; }
.m-cover .ms-s:not(.on) .ms-tx { opacity: 0; }
.m-stack .ms-s { right: 6%; border-radius: var(--r); transform: translateX(calc(var(--a, 0) * 4%)) scale(calc(1 - var(--a, 0) * .07)); z-index: calc(10 - var(--a, 0)); box-shadow: -10px 0 30px -14px rgb(0 0 0 / .35); }
.m-stack .ms-s.past { transform: translateX(-112%) rotate(-7deg); opacity: 0; }
.m-stack .ms-s.far { opacity: 0; }
.m-wipe .ms-s { clip-path: inset(0 0 0 100%); z-index: 0; }
.m-wipe.rev .ms-s { clip-path: inset(0 100% 0 0); }
.m-wipe .ms-s.on { clip-path: inset(0); z-index: 2; }
.m-wipe .ms-s.prev { clip-path: inset(0); z-index: 1; transition: none; }
.m-split .ms-s { background: none; }
.m-split .ms-s::before { content: ""; position: absolute; inset: 0 58% 0 0; background: var(--c1); }
.m-split .ms-art { left: 42%; clip-path: inset(0 0 0 100%); transition: clip-path calc(var(--sp) * 1.2) cubic-bezier(.7, 0, .2, 1); }
.m-split .ms-s.on .ms-art { clip-path: inset(0); }
.m-split .ms-tx { right: 58%; padding: 0 5%; }
.m-split .ms-scrim { display: none; }
.m-split .ms-tx h1, .m-split .ms-tx h2 { font-size: calc(clamp(22px, 2.6vw, 38px) * var(--fs, 1)); }

/* oklar */
.ms-ar { position: absolute; top: 50%; z-index: 20; width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #111; transition: opacity .25s, transform .25s, background .2s; }
.ms-ar svg { width: 20px; height: 20px; }
.ms-ar.p { left: 14px; } .ms-ar.n { right: 14px; }
.ms-ar[disabled] { visibility: hidden; }
.ms[data-arrowstyle=glass] .ms-ar { background: rgb(255 255 255 / .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 4px 14px rgb(0 0 0 / .12); }
.ms[data-arrowstyle=solid] .ms-ar { background: #111; color: #fff; }
.ms[data-arrowstyle=line] .ms-ar { background: none; color: #fff; filter: drop-shadow(0 1px 3px rgb(0 0 0 / .5)); }
.ms[data-arrowstyle=line] .ms-ar svg { width: 30px; height: 30px; }
.ms[data-arrowstyle=corner] .ms-ar { top: auto; bottom: 16px; margin: 0; background: #fff; border-radius: 10px; width: 40px; height: 40px; box-shadow: 0 2px 8px rgb(0 0 0 / .1); }
.ms[data-arrowstyle=corner] .ms-ar.p { left: auto; right: 62px; } .ms[data-arrowstyle=corner] .ms-ar.n { right: 16px; }
.ms[data-arrows=off] .ms-ar, .m-story .ms-ar { display: none; }
.ms[data-arrows=hover] .ms-ar { opacity: 0; }
.ms[data-arrows=hover] .ms-ar.p { transform: translateX(-8px); } .ms[data-arrows=hover] .ms-ar.n { transform: translateX(8px); }
.ms[data-arrows=hover]:hover .ms-ar, .ms[data-arrows=hover]:focus-within .ms-ar { opacity: 1; transform: none; }
.ms-ar:hover { transform: scale(1.06); }
.ms-ar:focus-visible { outline: 2px solid var(--primary, #111); outline-offset: 2px; opacity: 1; }
.m-peek .ms-ar.n { right: calc(8% + 14px); } .m-stack .ms-ar.n { right: calc(6% + 14px); }
.m-peek[data-arrowstyle=corner] .ms-ar.n { right: calc(8% + 16px); } .m-peek[data-arrowstyle=corner] .ms-ar.p { right: calc(8% + 62px); }
.m-cover .ms-ar.p { left: calc(20% - 22px); } .m-cover .ms-ar.n { right: calc(20% - 22px); }

/* göstergeler */
.ms-ind { position: absolute; z-index: 20; display: flex; gap: 8px; align-items: center; }
.ms[data-indpos=bc] .ms-ind { left: 50%; bottom: 16px; transform: translateX(-50%); }
.ms[data-indpos=bl] .ms-ind { left: 7%; bottom: 18px; }
.ms[data-indpos=rv] .ms-ind { right: 16px; top: 50%; transform: translateY(-50%); flex-direction: column; }
.ms[data-indpos=out] .ms-ind { position: static; justify-content: center; margin-top: 12px; }
.m-peek[data-indpos=bc] .ms-ind { left: 46%; } .m-stack[data-indpos=bc] .ms-ind { left: 47%; }
.m-peek[data-indpos=rv] .ms-ind { right: calc(8% + 16px); }
.ms-ind button { border: 0; padding: 0; cursor: pointer; background: none; display: grid; place-items: center; min-width: 18px; min-height: 18px; }
.i-dots .ms-ind button i { width: 8px; height: 8px; border-radius: 50%; background: rgb(255 255 255 / .6); box-shadow: 0 0 0 1px rgb(0 0 0 / .12); transition: transform .3s, background .3s; }
.i-dots .ms-ind button.on i { background: #fff; transform: scale(1.35); }
.i-pill .ms-ind button i { width: 8px; height: 8px; border-radius: 4px; background: rgb(255 255 255 / .6); box-shadow: 0 0 0 1px rgb(0 0 0 / .08); transition: width .45s cubic-bezier(.2, .8, .2, 1), height .45s, background .3s; }
.i-pill .ms-ind button.on i { width: 28px; background: #fff; }
.i-pill[data-indpos=rv] .ms-ind button.on i { width: 8px; height: 28px; }
.i-bars .ms-ind { gap: 6px; }
.i-bars .ms-ind button i { width: 36px; height: 3px; border-radius: 2px; background: rgb(255 255 255 / .5); box-shadow: 0 0 0 .5px rgb(0 0 0 / .1); overflow: hidden; position: relative; }
.i-bars[data-indpos=rv] .ms-ind button i { width: 3px; height: 30px; }
.i-bars .ms-ind button i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.i-bars .ms-ind button.done i::after { transform: none; }
.i-bars .ms-ind button.on i::after { animation: msFill calc(var(--dur) * 1s) linear forwards; }
.i-bars.paused .ms-ind button.on i::after { animation-play-state: paused; }
.i-bars.noauto .ms-ind button.on i::after { animation: none; transform: none; }
.i-bars[data-indpos=rv] .ms-ind button i::after { transform-origin: top; transform: scaleY(0); }
.i-bars[data-indpos=rv] .ms-ind button.done i::after { transform: none; }
.i-bars[data-indpos=rv] .ms-ind button.on i::after { animation-name: msFillV; }
@keyframes msFill { to { transform: scaleX(1); } } @keyframes msFillV { to { transform: scaleY(1); } }
.i-count .ms-ind { font-weight: 800; font-size: 13px; color: #fff; text-shadow: 0 1px 4px rgb(0 0 0 / .35); gap: 10px; font-variant-numeric: tabular-nums; }
.i-count .ms-ind .ln { width: 48px; height: 2px; background: rgb(255 255 255 / .45); position: relative; overflow: hidden; }
.i-count .ms-ind .ln b { position: absolute; inset: 0; background: #fff; transform-origin: left; transition: transform var(--sp); }
.i-thumbs .ms-ind { gap: 4px; background: rgb(255 255 255 / .75); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 4px; border-radius: 12px; }
.i-thumbs .ms-ind button { padding: 6px 12px; border-radius: 9px; font-weight: 700; font-size: 12.5px; color: #444; white-space: nowrap; min-height: 30px; }
.i-thumbs .ms-ind button.on { background: #111; color: #fff; }
.i-none .ms-ind, .m-story .ms-ind { display: none; }
.ms[data-indpos=out].i-dots .ms-ind button i, .ms[data-indpos=out].i-pill .ms-ind button i, .ms[data-indpos=out].i-bars .ms-ind button i { background: var(--line, #d5d7dd); box-shadow: none; }
.ms[data-indpos=out].i-dots .ms-ind button.on i, .ms[data-indpos=out].i-pill .ms-ind button.on i, .ms[data-indpos=out].i-bars .ms-ind button i::after { background: var(--ink); }
.ms[data-indpos=out].i-count .ms-ind { color: var(--ink); text-shadow: none; }
.ms[data-indpos=out].i-count .ms-ind .ln { background: var(--line, #ddd); } .ms[data-indpos=out].i-count .ms-ind .ln b { background: var(--ink); }
/* hikâye */
.ms-story-bars { position: absolute; left: 12px; right: 12px; top: 10px; z-index: 21; display: flex; gap: 4px; pointer-events: none; }
.ms-story-bars i { flex: 1; height: 3px; border-radius: 2px; background: rgb(255 255 255 / .5); position: relative; overflow: hidden; }
.ms-story-bars i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.ms-story-bars i.done::after { transform: none; }
.ms-story-bars i.on::after { animation: msFill calc(var(--dur) * 1s) linear forwards; }
.ms.paused .ms-story-bars i.on::after { animation-play-state: paused; }
.ms.noauto .ms-story-bars i.on::after { animation: none; transform: none; }
.ms-tap { position: absolute; inset: 0; z-index: 3; display: grid; grid-template-columns: 1fr 2fr; }
.ms-tap span { cursor: pointer; }

/* mobil */
@media (max-width: 760px) {
  .v-hero:has(.ms.mfull) { padding-top: 0; }
  .v-hero:has(.ms.mfull) .v-hero-wrap { padding-left: 0; padding-right: 0; }
  .ms.mfull .ms-vp, .ms.mfull .ms-s { border-radius: 0; }
  .ms .ms-vp { aspect-ratio: var(--mratio, 4/5); min-height: 0; border-radius: var(--mr); }
  .ms .ms-tx { justify-content: flex-end; padding: 0 6% 56px; gap: 8px; }
  .ms .ms-tx h1, .ms .ms-tx h2 { font-size: calc(28px * var(--fs, 1)); max-width: none; }
  .ms .ms-tx p { font-size: calc(14px * var(--fs, 1)); }
  .ms .ms-btn { height: 42px; font-size: 14px; }
  .ms .ms-scrim, .ms[data-align] .ms-scrim { background: linear-gradient(0deg, rgb(255 255 255 / .94), rgb(255 255 255 / .78) 34%, transparent 64%), rgb(0 0 0 / var(--scrim)); }
  .ms .ms-s.light .ms-scrim { background: linear-gradient(0deg, rgb(0 0 0 / calc(var(--scrim) + .55)), transparent 64%); }
  .ms .ms-ar { width: 38px; height: 38px; margin-top: -19px; }
  .ms.mnoar .ms-ar { display: none; }
  .ms[data-indpos=bl] .ms-ind { left: 6%; }
  .ms[data-indpos=rv] .ms-ind { right: 10px; }
  .ms[data-arrowstyle=corner] .ms-ar { bottom: auto; top: 12px; }
  .m-peek .ms-s { right: 12%; border-radius: var(--mr); }
  .ms.mfull.m-peek .ms-s { border-radius: 0 14px 14px 0; }
  .ms.mfull.m-peek .ms-s:not(.on) { border-radius: 14px; }
  .m-cover .ms-s { inset: 6% 13%; }
  .m-stack .ms-s { right: 10%; }
  .m-split .ms-art { left: 0; top: 0; bottom: 42%; }
  .m-split .ms-s::before { inset: 58% 0 0 0; }
  .m-split .ms-tx { right: 0; top: 58%; padding: 14px 6% 40px; justify-content: flex-start; }
  .m-split .ms-tx h1, .m-split .ms-tx h2 { font-size: calc(22px * var(--fs, 1)); }
  .ms.mbelow:not(.m-split) .ms-art { bottom: 48%; }
  .ms.mbelow:not(.m-split) .ms-scrim { display: none; }
  .ms.mbelow:not(.m-split) .ms-tx { top: 52%; background: var(--c1); padding: 16px 6% 40px; justify-content: flex-start; gap: 6px; }
  .ms.mbelow:not(.m-split) .ms-s:not(.light) .ms-tx { color: var(--ink); }
  .ms.mbelow:not(.m-split) .ms-tx h1, .ms.mbelow:not(.m-split) .ms-tx h2 { font-size: calc(24px * var(--fs, 1)); }
  .ms.mbelow .ms-ind button i { background: rgb(0 0 0 / .15) !important; box-shadow: none !important; }
  .ms.mbelow .ms-ind button.on i, .ms.mbelow .ms-ind button i::after { background: var(--ink) !important; }
  .ms.mbelow.i-count .ms-ind { color: var(--ink); text-shadow: none; }
  .ms.mbelow[data-indpos=bc] .ms-ind, .ms.mbelow[data-indpos=bl] .ms-ind { bottom: 12px; }
  .i-thumbs .ms-ind button { padding: 5px 8px; font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .ms-s, .ms-tx > *, .ms-art, .ms-tx .ch { transition-duration: .01ms !important; }
  .ms.kb .ms-s.on .ms-art img { animation: none; }
}
