/*
 * ANA SAYFA · MASAÜSTÜ İLK EKRAN — gerçek drone görüntüsü + parsel katmanı
 * (5 Ekim 2026; sahibi taslaklardan D'yi seçti, altına F'yi istedi).
 * İşaretleme: views/partials/ana-dron.php. Yalnız >= 860 px; telefonda bu
 * bölümler gizli, Seçenek 3 (ana-airbnb.css) aynen duruyor. Dosya
 * kaldırılınca masaüstünde eski koy kadrajı geri gelir.
 */
.ev-dron, .ev-once { display: none; }

@media (min-width: 860px) {
    /* Eski kahraman, arama kartı ve örnek bağlantısı masaüstünde gizli. */
    body.page-home-landing .home-fold > .hero,
    body.page-home-landing .home-fold > .search-card,
    body.page-home-landing .home-fold > .hero-sample { display: none !important; }
    body.page-home-landing .home-fold { display: block; min-height: 0; padding: 0; }

    .ev-dron, .ev-once {
        display: block; max-width: 1120px; margin: 0 auto; padding: 0 18px; color: #222;
        font-family: Figtree, "Plus Jakarta Sans", system-ui, sans-serif;
    }

    /* --- D: başlık satırı --- */
    .evd-bas { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-top: 28px; }
    .evd-baslik { margin: 0; font-size: clamp(40px, 4.2vw, 56px); line-height: 1.07; font-weight: 800; letter-spacing: -.035em; color: #222; }
    .evd-giris { margin: 14px 0 0; max-width: 680px; font-size: 19px; line-height: 28px; color: #6A6A6A; }
    .evd-izle {
        flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 9px; border: 1px solid #222;
        border-radius: 999px; color: #222; font-size: 15px; font-weight: 600; text-decoration: none; transition: background .15s ease;
    }
    .evd-izle:hover { background: #F7F7F7; }
    .evd-izle i { width: 30px; height: 30px; border-radius: 50%; background: #222; display: flex; align-items: center; justify-content: center; }
    .evd-izle svg { width: 13px; height: 13px; margin-left: 2px; fill: #fff; }

    /* --- D: drone görseli + katman --- */
    .evd-gorsel { position: relative; margin-top: 28px; aspect-ratio: 3200 / 1334; border-radius: 24px; overflow: hidden; background: #9BB7D4; }
    .evo-kutu > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
    .evd-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
    /* Drone hareketi (ana-dron.php betiği): zemin döner/yaklaşır, etiketler
       JS ile her karede taşınır; betik yoksa ya da hareket azaltılmışsa
       her şey yüzdelik yerinde sabit durur. */
    .evd-gorsel { perspective: 1400px; }
    .evd-zemin { position: absolute; inset: 0; transform-origin: 50% 46%; will-change: transform; }
    .evd-capa { position: absolute; width: 0; height: 0; pointer-events: none; }
    .evd-zemin > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
    .evd-gorsel.is-dron .evd-hap { left: 0 !important; top: 0 !important; will-change: transform; }
    .evd-hap {
        position: absolute; transform: translate(-50%, -100%); display: inline-flex; align-items: center; gap: 4px;
        padding: 8px 14px; border-radius: 999px; background: #fff; color: #222; white-space: nowrap; pointer-events: none;
        font-size: 13px; line-height: 16px; box-shadow: 0 4px 14px rgba(0, 0, 0, .22);
    }
    .evd-hap b { font-weight: 600; }
    .evd-hap small { font-size: 13px; color: #6A6A6A; }
    .evd-hap.evd-alan { gap: 6px; padding: 8px 16px 8px 8px; font-size: 15px; }
    .evd-hap.evd-alan b { font-weight: 700; }
    .evd-igne { position: relative; width: 26px; height: 26px; border-radius: 50%; background: #FF385C; flex: none; }
    /* Pembe iğnenin çevresinde nabız halkası. */
    .evd-igne::before {
        content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #FF385C;
        animation: evdNabiz 2.2s cubic-bezier(.2, .6, .3, 1) infinite;
    }
    .evd-sayi { font-variant-numeric: tabular-nums; }
    /* Etiket, çubuğu noktadan yukarı büyüdükten sonra belirir (--d: gecikme). */
    .evd-hap { animation: evdBelir .45s ease-out both; animation-delay: var(--d, 0s); }
    .evd-igne::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -5px 0 0 -4px; border-radius: 50%; background: #fff; }

    /* --- D: arama çubuğu (görselin alt kenarına biner) --- */
    .evd-arama {
        position: relative; z-index: 2; display: flex; align-items: center; width: min(920px, calc(100% - 64px)); height: 70px;
        margin: -35px auto 0; padding: 0 10px 0 0; border: 1px solid #DDDDDD; border-radius: 999px; background: #fff;
        box-shadow: 0 8px 28px rgba(0, 0, 0, .16); font: inherit; color: #222; text-align: left; cursor: pointer;
        transition: box-shadow .15s ease;
    }
    .evd-arama:hover { box-shadow: 0 10px 32px rgba(0, 0, 0, .22); }
    .evd-seg { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 2px; height: 100%; padding: 0 28px; border-radius: 999px; }
    .evd-seg-genis { flex: 1.6; }
    .evd-arama:hover .evd-seg:hover { background: #EBEBEB; }
    .evd-seg b { font-size: 12px; font-weight: 700; }
    .evd-seg small { font-size: 14px; color: #6A6A6A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .evd-arama > i { flex: none; width: 1px; height: 32px; background: #DDDDDD; }
    .evd-git {
        flex: none; display: inline-flex; align-items: center; gap: 8px; height: 52px; margin-left: 8px; padding: 0 22px 0 18px;
        border-radius: 999px; background: linear-gradient(90deg, #E61E4D 0%, #E31C5F 50%, #D70466 100%); color: #fff;
        font-size: 16px; font-weight: 600; white-space: nowrap;
    }
    .evd-git svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
    .evd-alt { margin: 14px 0 0; text-align: center; font-size: 14px; color: #6A6A6A; }
    .evd-alt a, .evd-alt button {
        padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: #222; text-decoration: underline;
        text-underline-offset: 2px; cursor: pointer;
    }

    /* --- D: üç özellik --- */
    .evd-ozel {
        list-style: none; margin: 40px 0 0; padding: 32px 0 0; border-top: 1px solid #EBEBEB;
        display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px;
    }
    .evd-ozel li { display: flex; gap: 16px; align-items: flex-start; }
    .evd-ozel svg { flex: none; width: 32px; height: 32px; fill: none; stroke: #222; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
    .evd-ozel span { font-size: 14px; line-height: 20px; color: #6A6A6A; }
    .evd-ozel b { display: block; margin-bottom: 2px; font-size: 16px; line-height: 22px; font-weight: 600; color: #222; }

    /* --- F: önce / sonra --- */
    .ev-once { padding-top: 72px; text-align: center; }
    .ev-once h2 { margin: 0; font-size: clamp(32px, 3.4vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; color: #222; }
    .evo-giris { margin: 12px auto 0; max-width: 720px; font-size: 18px; line-height: 27px; color: #6A6A6A; }
    .evo-kutu { --x: 36%; position: relative; margin-top: 28px; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #A8A07C; text-align: left; }
    .evo-araclar { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
    .evo-katman { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--x)); }
    /* Sol (sıradan fotoğraf) bir tık soluk; sağdaki adaparselx tarafı canlı renkli. */
    .evo-kutu > img { filter: saturate(.55) brightness(.9) contrast(.94); }
    .evo-katman > .evo-canli { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
    .evo-cizgi { position: absolute; top: 0; bottom: 0; left: var(--x); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .35); pointer-events: none; }
    .evo-tutamak {
        position: absolute; top: 50%; left: var(--x); width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
        background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); display: flex; align-items: center; justify-content: center; pointer-events: none;
    }
    .evo-tutamak svg { width: 18px; height: 18px; fill: none; stroke: #222; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
    /* Kaydırıcı görünmez ama kutunun tamamını kaplar: her yerden sürüklenir, klavyeyle de çalışır. */
    .evo-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
    .evo-range:focus-visible ~ .evo-tutamak { outline: 3px solid #222; outline-offset: 3px; }
    .evo-etk { position: absolute; top: 18px; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; pointer-events: none; }
    .evo-sol { left: 18px; background: rgba(0, 0, 0, .55); color: #fff; }
    .evo-sag { right: 18px; background: #fff; color: #222; font-weight: 700; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
    .evo-alt { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 24px; }
    .evo-dene { height: 50px; padding: 0 24px; border-radius: 8px; font-size: 16px; font-weight: 600; }
    .evo-ornek { font-size: 15px; font-weight: 600; color: #222; text-decoration: underline; text-underline-offset: 2px; }
    .evo-kaynak { margin: 28px 0 0; font-size: 11px; line-height: 16px; color: #B0B0B0; }
    .evo-kaynak a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

}
@media (min-width: 860px) and (max-width: 1023px) {
    .evd-seg { padding: 0 18px; }
    .evd-git { padding: 0 16px 0 14px; font-size: 15px; }
    .evd-ozel { gap: 24px; }
    .evd-hap { font-size: 12px; padding: 7px 12px; }
    .evd-hap small { font-size: 12px; }
}
@keyframes evdBelir { from { opacity: 0; } to { opacity: 1; } }
@keyframes evdNabiz { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
    .evd-dalga, .evo-araclar { display: none; }
    .evd-igne::before { animation: none; opacity: 0; }
    .evd-hap { animation: none; }
    .evd-cubuk { stroke-dasharray: none !important; }
}
