/* ═══════════════════════════════════════════════════════════════
   MOBİL 2027 — Özel mobil deneyim (kimsede yok)
   Tam ekran hero sheet, orbit carousel, edge-to-edge kartlar
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 767px) {

    /* ── Hero: immersive + bottom sheet ── */
    .hero-moon--slider {
        min-height: 100svh;
        min-height: 100dvh;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }
    .hero-moon__slider {
        position: absolute;
        inset: 0;
    }
    .hero-moon__progress {
        top: calc(var(--header-h) + 0.45rem);
        width: calc(100% - 1.25rem);
        gap: 0.28rem;
    }
    .hero-moon__progress-seg { height: 2.5px; }

    .hero-moon__content--sheet {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
        animation: none;
    }
    .hero-moon__sheet-handle {
        display: block;
        width: 40px;
        height: 4px;
        margin: 0.85rem auto 0.65rem;
        border-radius: 999px;
        background: rgba(26, 22, 20, 0.15);
    }
    .hero-moon__content--sheet > *:not(.hero-moon__sheet-handle) {
        padding-inline: 1.15rem;
    }
    .hero-moon__content--sheet {
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(24px) saturate(1.5);
        -webkit-backdrop-filter: blur(24px) saturate(1.5);
        border-radius: 28px 28px 0 0;
        border-top: 1px solid rgba(255, 255, 255, 0.8);
        box-shadow: 0 -20px 60px rgba(26, 22, 20, 0.18);
        color: var(--horizon-ink);
        padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
        max-height: min(62svh, 520px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .hero-moon__veil {
        background:
            linear-gradient(180deg, rgba(26,22,20,0.35) 0%, transparent 35%, transparent 55%, rgba(26,22,20,0.15) 100%);
    }
    .hero-moon__atmo {
        color: var(--horizon-accent-dim);
        background: rgba(var(--horizon-rgb), 0.08);
        border: 1px solid rgba(var(--horizon-rgb), 0.15);
        font-size: 0.68rem;
        margin-top: 0;
    }
    .hero-moon__atmo::before {
        background: var(--horizon-accent);
        box-shadow: 0 0 8px var(--horizon-accent);
    }
    .hero-moon__brand {
        font-family: var(--font-display);
        font-weight: 700;
        font-style: normal;
        letter-spacing: -0.035em;
        background: linear-gradient(135deg, var(--horizon-ink) 0%, var(--horizon-accent-dim) 100%);
        -webkit-background-clip: text;
        background-clip: text;
        font-size: clamp(2rem, 9vw, 2.75rem);
        margin-bottom: 0.5rem;
    }
    .hero-moon__title {
        font-family: var(--font-display);
        font-weight: 500;
        color: var(--horizon-ink);
        font-size: clamp(1.05rem, 4.5vw, 1.25rem);
        font-style: normal;
        letter-spacing: -0.02em;
        margin-bottom: 0.5rem;
    }
    .hero-moon__lead {
        font-family: var(--font-body);
        color: var(--horizon-muted);
        font-size: 0.92rem;
        margin-bottom: var(--space-3);
    }
    .hero-moon__atmo,
    .hero-moon__chip,
    .hero-moon__actions .btn {
        font-family: var(--font-accent);
    }
    .hero-moon__actions {
        flex-direction: row;
        gap: 0.55rem;
    }
    .hero-moon__actions .btn {
        flex: 1;
        min-height: 50px;
        justify-content: center;
        font-size: 0.88rem;
    }
    .hero-moon__chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        margin: 0 -1.15rem;
        padding: 0.25rem 1.15rem 0.15rem;
        -webkit-overflow-scrolling: touch;
        mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    }
    .hero-moon__chips::-webkit-scrollbar { display: none; }
    .hero-moon__chip {
        flex-shrink: 0;
        color: var(--horizon-ink);
        background: var(--horizon-surface);
        border: 1px solid var(--glass-edge);
        font-size: 0.72rem;
        padding: 0.45rem 0.9rem;
    }
    .hero-moon__chip:hover,
    .hero-moon__chip:active {
        background: rgba(var(--horizon-rgb), 0.12);
        border-color: rgba(var(--horizon-rgb), 0.25);
        color: var(--horizon-accent-dim);
        box-shadow: none;
        transform: none;
    }
    .hero-moon__stats {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0.45rem;
        margin-top: var(--space-3);
        padding-top: var(--space-3);
        border-top: 1px solid var(--glass-edge);
    }
    .hero-stat {
        min-width: 0;
        padding: 0.55rem 0.4rem;
        background: var(--horizon-surface);
        border: 1px solid var(--glass-edge);
        border-radius: 12px;
        backdrop-filter: none;
        text-align: center;
    }
    .hero-stat strong {
        font-size: 1rem;
        color: var(--horizon-ink);
    }
    .hero-stat span {
        font-size: 0.58rem;
        color: var(--horizon-muted);
    }
    .hero-moon__scroll { display: none; }
    .hero-moon__slide-counter {
        position: fixed;
        top: calc(var(--header-h) + 0.35rem);
        right: 0.75rem;
        bottom: auto;
        left: auto;
        z-index: 5;
        font-size: 0.68rem;
        padding: 0.28rem 0.6rem;
    }

    /* ── Yorum orbit carousel ── */
    .home-reviews-trust {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0.55rem;
        scrollbar-width: none;
        margin-inline: -4%;
        padding-inline: 4%;
        -webkit-overflow-scrolling: touch;
    }
    .home-reviews-trust::-webkit-scrollbar { display: none; }
    .home-reviews-trust__item {
        flex: 0 0 auto;
        min-width: 140px;
        padding: 0.75rem 0.9rem;
        border-radius: 16px;
    }
    .home-reviews-toolbar--desktop { display: none; }
    .home-reviews-mobile-ui {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        margin-top: 0.75rem;
        padding: 0 0.25rem;
    }
    .home-reviews-swipe-hint {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        font-family: var(--font-accent);
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--horizon-muted);
        background: var(--horizon-surface);
        border: 1px solid var(--glass-edge);
        padding: 0.4rem 0.75rem;
        border-radius: 999px;
    }
    .home-reviews-swipe-hint__icon {
        opacity: 0.5;
        animation: swipeHintPulse 1.8s ease infinite;
    }
    .home-reviews-swipe-hint__icon:last-child {
        animation-delay: 0.9s;
    }
    @keyframes swipeHintPulse {
        0%, 100% { opacity: 0.35; transform: translateX(0); }
        50% { opacity: 1; transform: translateX(2px); }
    }
    .home-reviews-counter {
        margin: 0;
        font-family: var(--font-accent);
        font-size: 0.82rem;
        font-weight: 800;
        color: var(--horizon-accent-dim);
        background: rgba(var(--horizon-rgb), 0.08);
        border: 1px solid rgba(var(--horizon-rgb), 0.15);
        padding: 0.4rem 0.85rem;
        border-radius: 999px;
        white-space: nowrap;
    }
    .home-reviews-rail {
        display: none;
    }
    .home-reviews-viewport {
        margin-inline: -4%;
        padding-inline: 4%;
        mask-image: none;
    }
    .home-reviews-row {
        gap: 0.85rem;
        padding-bottom: 0.5rem;
    }
    .home-review-card {
        flex: 0 0 min(320px, 88vw);
        transform: scale(0.96);
        opacity: 0.82;
        border-radius: 24px 24px 8px 24px;
    }
    .home-review-card.is-focus {
        transform: scale(1);
        opacity: 1;
        box-shadow: var(--shadow-lg), var(--aurora-glow);
    }

    /* ── Bungalov grid: edge-to-edge ── */
    .page-list .listing-layout,
    .page-list .listing-main {
        padding-inline: 0;
    }
    .page-list .listing-toolbar {
        margin-inline: 4%;
        border-radius: 14px;
    }
    .page-list .bungalow-grid {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding-inline: 4%;
    }
    .page-list .bungalow-card--glass {
        border-radius: 24px;
        overflow: hidden;
    }
    .page-list .bungalow-card__media {
        aspect-ratio: 16 / 10;
    }
    .filter-toggle {
        position: relative;
        z-index: 2;
    }

    /* ── Detay: tam ekran galeri swipe ── */
    .page-detail .detail-hero__gallery {
        border-radius: 0 0 24px 24px;
        overflow: hidden;
    }
    .page-detail .detail-media__stage {
        touch-action: pan-y pinch-zoom;
    }
    .page-detail .detail-media__stage img {
        transition: transform 0.35s var(--ease), opacity 0.2s;
    }
    .page-detail .detail-media__nav {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(8px);
    }
    .page-detail .detail-filmstrip {
        margin-inline: -4%;
        padding-inline: 4%;
        gap: 0.55rem;
    }
    .page-detail .detail-filmstrip__thumb {
        flex: 0 0 100px;
        height: 68px;
        border-radius: 12px;
    }
    .page-detail .detail-section-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        margin-inline: -4%;
        padding-inline: 4%;
        border-bottom: none;
        gap: 0.35rem;
        -webkit-overflow-scrolling: touch;
    }
    .page-detail .detail-section-nav::-webkit-scrollbar { display: none; }
    .page-detail .detail-section-nav__link {
        flex-shrink: 0;
        padding: 0.65rem 1rem;
        border-radius: 999px;
        border: 1px solid var(--glass-edge);
        background: var(--horizon-elevated);
        margin-bottom: 0;
        font-size: 0.82rem;
    }
    .page-detail .detail-section-nav__link.is-active {
        background: var(--horizon-accent);
        color: #fff;
        border-color: transparent;
    }
    .page-detail .detail-body {
        padding-inline: 4%;
    }
    .page-detail .detail-sticky-cta {
        left: 0.75rem;
        right: 0.75rem;
        bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
        width: auto;
        border-radius: 20px;
        border: 1px solid var(--glass-edge);
        padding: 0.65rem 0.85rem;
    }

    /* ── Editorial: tek sütun full bleed ── */
    .editorial-card {
        width: 92%;
        grid-template-columns: 1fr;
    }
    .editorial-card__media {
        border-radius: 24px;
        aspect-ratio: 4 / 3;
    }
    .editorial-stack {
        gap: 2.5rem;
    }

    /* ── Story: mobil stack ── */
    .story-section__inner {
        width: 92%;
    }
    .story-section__img {
        border-radius: 24px 24px 8px 24px;
        aspect-ratio: 16 / 11;
        max-height: none;
    }

    /* ── FAQ: tam genişlik kartlar ── */
    .faq-section .container {
        width: 92%;
    }
    .faq-item {
        border-radius: 18px;
    }

    /* ── Mobile bar: dock stili ── */
    .mobile-bar {
        background: rgba(255, 255, 255, 0.88);
        backdrop-filter: blur(24px) saturate(1.6);
        border: 1px solid rgba(255, 255, 255, 0.6);
        box-shadow:
            0 8px 32px rgba(26, 22, 20, 0.12),
            0 0 0 1px rgba(var(--horizon-rgb), 0.06),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }

    /* ── Footer CTA mobil ── */
    .footer-cta__actions {
        flex-direction: column;
    }
    .footer-cta__actions .btn {
        width: 100%;
        min-height: 52px;
        justify-content: center;
    }

    /* ── Galeri masonry mobil ── */
    .gallery-masonry {
        columns: 2;
        column-gap: 0.65rem;
        padding-inline: 4%;
    }
    .gallery-item {
        border-radius: 16px;
        margin-bottom: 0.65rem;
    }

    /* ── İletişim kartları ── */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
        padding-inline: 4%;
    }
    .contact-card {
        border-radius: 20px;
    }

    /* ── Experience grid ── */
    .experience-grid {
        grid-template-columns: 1fr;
        padding-inline: 4%;
    }
    .experience-card {
        grid-template-columns: 88px 1fr;
        border-radius: 20px;
    }
}

/* Çok küçük ekranlar */
@media (max-width: 380px) {
    .hero-moon__stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-moon__actions {
        flex-direction: column;
    }
    .home-review-card {
        flex: 0 0 92vw;
    }
}

/* Sheet handle masaüstünde gizli */
@media (min-width: 768px) {
    .hero-moon__sheet-handle { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-moon__slide.is-active .hero-moon__img { animation: none; }
    .hero-moon__progress-seg.is-active::after { animation: none; width: 100%; }
    .home-reviews-swipe-hint__icon { animation: none; }
    .home-review-card { transform: none; opacity: 1; }
}
