/* ═══════════════════════════════════════════════════════════════
   SLIDER 2027 — Hero, yorum carousel, detay galeri
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero slider ── */
.hero-moon--slider,
.hero-moon {
    position: relative;
    z-index: 0;
    isolation: isolate;
    overflow: hidden;
}
.hero-moon__slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-moon__slides {
    position: absolute;
    inset: 0;
}
.hero-moon__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.1s var(--ease), transform 8s linear;
    pointer-events: none;
}
.hero-moon__slide.is-active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    z-index: 1;
}
.hero-moon__slide .hero-moon__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: none;
}
.hero-moon__slide.is-active .hero-moon__img {
    animation: heroKenBurns 12s var(--ease) forwards;
}

/* Story tarzı ilerleme çubuğu */
.hero-moon__progress {
    position: absolute;
    top: calc(var(--header-h) + 0.65rem);
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 0.35rem;
    width: min(420px, calc(100% - 2rem));
    padding: 0 0.15rem;
}
.hero-moon__progress-seg {
    flex: 1;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    overflow: hidden;
    position: relative;
}
.hero-moon__progress-seg::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 0%;
    background: linear-gradient(90deg, var(--horizon-accent-bright, #14C4B8), #fff);
    border-radius: inherit;
}
.hero-moon__progress-seg.is-complete::after {
    width: 100%;
    transition: none;
}
.hero-moon__progress-seg.is-active::after {
    animation: heroSlideProgress var(--hero-slide-ms, 6500ms) linear forwards;
}
@keyframes heroSlideProgress {
    from { width: 0%; }
    to { width: 100%; }
}

/* İçerik sheet */
.hero-moon__content--sheet {
    position: relative;
    z-index: 2;
}

/* Kontroller */
.hero-moon__controls {
    position: absolute;
    z-index: 3;
    bottom: calc(var(--space-7) + 1rem);
    right: max(4%, calc((100% - var(--container)) / 2 + 1rem));
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.hero-moon__nav {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.hero-moon__nav:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: scale(1.06);
    border-color: rgba(255, 255, 255, 0.45);
}
.hero-moon__dots {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.65rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    backdrop-filter: blur(12px);
}
.hero-moon__dot {
    width: 8px;
    height: 8px;
    border: none;
    border-radius: 50%;
    padding: 0;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: transform 0.25s var(--ease-spring, var(--ease)), background 0.25s, width 0.25s;
}
.hero-moon__dot.is-active {
    width: 22px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}
.hero-moon__slide-counter {
    position: absolute;
    z-index: 3;
    bottom: calc(var(--space-7) + 1.35rem);
    left: max(4%, calc((100% - var(--container)) / 2 + 1rem));
    margin: 0;
    font-family: var(--font-accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(0, 0, 0, 0.25);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    backdrop-filter: blur(8px);
}

/* ── Yorum carousel ── */
.home-reviews-shell {
    position: relative;
}
.home-reviews-viewport {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}
.home-reviews-viewport::-webkit-scrollbar { display: none; }
.home-reviews-row {
    display: flex;
    gap: 1rem;
    padding: 0.5rem 0 1.25rem;
}
.home-review-card {
    flex: 0 0 min(380px, 86vw);
    scroll-snap-align: center;
    scroll-snap-stop: always;
    transition: transform 0.4s var(--ease-spring, var(--ease)), opacity 0.4s, box-shadow 0.4s;
}
.home-reviews-toolbar--desktop {
    margin-bottom: var(--space-3);
}
.home-reviews-nav,
.home-reviews-autoplay {
    border-radius: 14px;
    border: 1px solid var(--glass-edge, var(--border));
    background: var(--horizon-elevated, #fff);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.home-reviews-nav:hover,
.home-reviews-autoplay:hover {
    border-color: rgba(var(--horizon-rgb, var(--moon-rgb)), 0.25);
    box-shadow: var(--aurora-glow, var(--shadow-md));
    transform: translateY(-1px);
}

/* Mobil yorum UI — masaüstünde gizli */
.home-reviews-mobile-ui {
    display: none;
}

/* ── Detay galeri slider ── */
.detail-media__dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.35rem;
    z-index: 3;
    padding: 0.35rem 0.65rem;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 999px;
    backdrop-filter: blur(8px);
}
.detail-media__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    transition: width 0.25s, background 0.25s;
}
.detail-media__dot.is-active {
    width: 18px;
    border-radius: 999px;
    background: #fff;
}
.detail-filmstrip {
    scroll-snap-type: x mandatory;
    gap: 0.65rem;
    padding: var(--space-3) 0;
    scrollbar-width: none;
}
.detail-filmstrip::-webkit-scrollbar { display: none; }
.detail-filmstrip__thumb {
    flex: 0 0 120px;
    scroll-snap-align: center;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: transform 0.25s, border-color 0.25s, opacity 0.25s;
}
.detail-filmstrip__thumb.is-active {
    border-color: var(--horizon-accent, var(--moon-accent));
    transform: scale(1.04);
    opacity: 1;
    box-shadow: 0 8px 24px rgba(var(--horizon-rgb, var(--moon-rgb)), 0.25);
}

@media (min-width: 768px) {
    .hero-moon--slider {
        display: flex;
        align-items: flex-end;
    }
    .hero-moon__content--sheet {
        width: var(--container);
        margin: 0 auto;
        position: relative;
        z-index: 2;
    }
    .hero-moon__sheet-handle { display: none; }
    .hero-moon__progress { top: 1rem; }
    .hero-moon__slide-counter { display: none; }
}

@media (min-width: 992px) {
    .hero-moon__controls { display: flex; }
}

@media (max-width: 991px) {
    .hero-moon__controls { display: none; }
}
