/* ===== Leaflet ===== */
.parsel-ada-label { background: transparent !important; border: none !important; box-shadow: none !important; }
.leaflet-control-layers { z-index: 1000 !important; background: #fff !important; font-size: 13px; }
.leaflet-control-layers-expanded { padding: 6px 10px !important; }

/* ===== Benzer İlanlar Card ===== */
.benzer_card {
    transition: all 0.3s ease;
}
.benzer_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

/* ===== Sanal Tur ===== */
.virtual-tour-wrapper {
    position: relative;
    width: 100%;
    height: 535px;
    background: #000;
    border-radius: 1.5rem;
    overflow: hidden;
}
.virtual-tour-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.tour-thumb-btn {
    background: var(--accent);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    cursor: pointer;
    border: 2px solid transparent;
    background: linear-gradient(to right, #ffd24d, #ffd862c0);
    position: relative;
    font-family: inherit;
    font-weight: 500;
    font-size: 18px;
    letter-spacing: 0.05em;
    border-radius: 0.8em;
    cursor: pointer;
    border: none;
    overflow: hidden;
}
.tour-thumb-btn::before,
.tour-thumb-btn::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.tour-thumb-btn::before {
    content: "";
    background: var(--accent);
    width: 120%;
    left: -10%;
    transform: skew(30deg);
    transition: transform 0.4s cubic-bezier(0.3, 1, 0.8, 1);
}
.tour-thumb-btn:hover::before {
    transform: translate3d(100%, 0, 0);
}
.tour-thumb-btn:hover, .tour-thumb-btn:active {
    border-color: #FFD43B;
    color: #fff !important;
}
@media (max-width: 768px) { .virtual-tour-wrapper { height: 300px; } }

.sanal-tur-acik .thumbSwiper .swiper-slide-thumb-active {
    opacity: 0.4 !important;
    border-color: transparent !important;
}
.sanal-tur-acik .swiper-pagination-mobil,
.sanal-tur-acik .swiper-pagination-desk {
    display: none !important;
}
.tour-thumb-btn.active-tour {
    border: 2px solid var(--accent) !important;
    opacity: 1 !important;
    border-color: #FFD43B !important;
    color: var(--accent);
    box-shadow: 0 0 10px rgba(255, 212, 59, 0.3);
}
.tour-thumb-btn.active-tour::before {
    background-color: #fff;
}
.tour-thumb-btn span, .tour-thumb-btn i {
    position: relative;
    z-index: 10;
    transition: color 0.4s;
    display: inline-flex;
    align-items: center;
}

/* ===== Card Properties Line ===== */
.card-properties-line {
    display: flex;
    border-bottom: solid 1px #eee;
    padding: 10px 5px;
    justify-content: space-between;
}

/* ===== Paylaş Dropdown ===== */
.share-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 170px;
    background: #fff;
    border-radius: 12px;
    padding: 10px 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    z-index: 9999 !important;
    border: 1px solid #eee;
    margin-top: 10px;
    display: block;
}
.menu-gizli {
    display: none !important;
}
.share-item {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
}
.share-item:hover { background-color: #f8f9fa; color: #000; }
.share-item i { width: 30px; margin-right: 5px; font-size: 16px; }
.share-item.facebook:hover i { color: #1877f2; }
.share-item.twitter:hover i { color: #000; }
.share-item.whatsapp:hover i { color: #25d366; }
.share-item.pinterest:hover i { color: #e60023; }
.share-item.email:hover i { color: #777; }
.share-item.copy:hover i { color: #ffc107; }
.share-item.messenger:hover i { color: #0084FF; }

.share-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
}
.share-item.instagram:hover i {
    background: -webkit-linear-gradient(#405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.share-item.other-apps:hover i { color: #6c757d; }

/* ===== Yazdırma (@media print) ===== */
@media print {
    @page {
        size: A4;
        margin: 10mm 15mm;
    }
    body {
        background: white !important;
        font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
        color: #000 !important;
        font-size: 12pt !important;
    }
    nav, footer, .breadcrumb, .btn, .whatsapp-float, .satis-buton, #ilan_baslik, #aciklama_section, #benzer_section,
    .share-dropdown, .tour-thumb-btn, .thumbSwiper, .yol-tarif-btn, #ilan_breadcrumb, #populer_ilanlar_section,
    .swiper-button-next, .swiper-button-prev, .sticky-top, #ozellikler_section, #ilan_slider_box,
    #harita_section, .d-print-none, #benzer_ilanlar_section, #arazi_ozellikleri_section, .toast-container
    { display: none !important; }

    .container { width: 100% !important; max-width: 100% !important; padding: 0 !important; margin: 0 !important; }
    .row { display: block !important; margin: 0 !important; }
    .col-lg-8, .col-lg-4, .col-md-6, .col-12 { width: 100% !important; display: block !important; padding: 0 !important; margin: 0 !important; flex: none !important; max-width: 100% !important; }

    .print-header {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        border-bottom: 2px solid #000;
        padding-bottom: 15px;
        margin-bottom: 20px;
    }
    .print-header-left img { max-height: 50px; }
    .print-header-right img { width: 80px; height: 80px; }

    .print-gallery-item {
        display: block !important;
        width: 100% !important;
        margin-bottom: 20px !important;
        page-break-inside: avoid;
    }
    .print-gallery-item img {
        width: 100% !important;
        max-height: 450px;
        object-fit: contain;
    }

    .print-gallery-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 20px;
    }
    .print-gallery-item-grid {
        page-break-inside: avoid;
        break-inside: avoid;
    }
    .print-gallery-item-grid img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 6px;
        border: 1px solid #ddd;
    }

    /* Emlakçı print özellik tablosu (sadece emlakçı görünümünde HTML render edilir) */
    .print-features-table {
        background-color: #f8f9fa;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        padding: 15px;
        page-break-inside: avoid;
    }
    .print-section-title {
        font-size: 18px;
        font-weight: bold;
        color: #333;
        margin-top: 0;
        margin-bottom: 12px;
        padding-bottom: 8px;
        border-bottom: 2px solid #e9ecef;
    }
    .print-features-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px 20px;
    }
    .print-feature-item {
        display: flex;
        align-items: baseline;
        font-size: 14px;
        padding-bottom: 5px;
        border-bottom: 1px dashed #e0e0e0;
    }
    .print-feature-item.full-width {
        grid-column: 1 / -1;
    }
    .print-feature-item:last-child {
        border-bottom: none;
    }
    .feature-label {
        font-weight: 700;
        color: #555;
        width: 110px;
        flex-shrink: 0;
    }
    .feature-value {
        color: #000;
        flex-grow: 1;
    }
}

/* ===== Popüler İlanlar Hover ===== */
.hover-effect {
    transition: all 0.2s ease;
    border: 1px solid transparent;
}
.hover-effect:hover {
    background-color: #fff !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transform: translateY(-2px);
    border-color: #eee;
}

/* ===== Custom Breadcrumb ===== */
.custom-breadcrumb-nav .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
    font-size: 13px;
    font-weight: 500;
}
.breadcrumb-item+.breadcrumb-item {
    padding: 0;
}
.custom-breadcrumb-nav .breadcrumb-item + .breadcrumb-item::before {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #b0b0b0;
    padding: 0 10px;
}
.custom-breadcrumb-nav .breadcrumb-item a {
    color: #888;
    text-decoration: none;
    transition: all 0.3s ease;
}
.custom-breadcrumb-nav .breadcrumb-item a:hover {
    color: var(--accent);
}
.custom-breadcrumb-nav .breadcrumb-item.active a {
    color: var(--primary);
    font-weight: 600;
    pointer-events: none;
}
.custom-breadcrumb-nav .breadcrumb-item i {
    font-size: 14px;
    margin-right: 4px;
}
@media (max-width: 768px) {
    .custom-breadcrumb-nav .breadcrumb {
        flex-wrap: nowrap;
        overflow-x: auto;
        display: flex;
        padding-bottom: 5px;
    }
    .custom-breadcrumb-nav .breadcrumb-item {
        white-space: nowrap;
    }
}

/* ===== Custom Nav Buttons (Swiper) ===== */
.custom-nav-btn {
    background: rgba(255, 255, 255, 0.8);
    width: 45px !important;
    height: 45px !important;
    border-radius: 50%;
    color: var(--primary) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.custom-nav-btn:after {
    font-size: 18px !important;
    font-weight: bold;
}
.custom-nav-btn:active {
    background: var(--accent);
    color: #fff !important;
    transform: scale(0.9);
    box-shadow: inset 0 0em 0.3rem 1px rgba(0, 0, 0, 0.31) !important;
}

.swiper-pagination-custom {
    width: 60px;
    background: #fff;
    color: var(--accent);
    padding: 5px 5px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 10;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    border: 1px solid var(--accent);
    letter-spacing: 1px;
    font-variant-numeric: tabular-nums;
}

/* ===== Aksiyon Butonları (WP/Ara/Detay) ===== */
.wp-btn {
    transition: all 0.2s ease;
}
.wp-btn:hover {
    transform: scale(1.05);
}
.ara-btn {
    transition: all 0.2s ease;
}
.ara-btn:hover {
    transform: scale(1.05);
}
#copyToast {
    max-width: 240px;
}
.detay-btns span {
    font-size: 13px !important;
    font-weight: 600 !important;
}
.detay-btns {
    transition: all 0.1s ease;
}
.detay-btns:active {
    transform: scale(0.9);
}

/* ===== Fancybox ===== */
.fancybox__content {
    padding: 0rem;
}

/* ===== Fancybox Video Player ===== */
.fancybox-video-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    background: transparent;
    padding: 0;
    margin: 0;
    position: relative;
}
.fancybox-video-wrapper video {
    max-width: 90vw;
    max-height: 65vh;
    width: auto;
    height: auto;
    display: block;
    background: #000;
    border-radius: 14px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.65);
}
.fancybox-video-wrapper video::-webkit-media-controls-panel {
    padding: 0 12px;
}
.fancybox-video-wrapper video::-webkit-media-controls-play-button,
.fancybox-video-wrapper video::-webkit-media-controls-fullscreen-button,
.fancybox-video-wrapper video::-webkit-media-controls-mute-button {
    transform: scale(1.35);
    margin: 0 4px;
}
.fancybox-video-wrapper video::-webkit-media-controls-current-time-display,
.fancybox-video-wrapper video::-webkit-media-controls-time-remaining-display {
    font-size: 14px;
}
.fancybox__content .fancybox-video-wrapper {
    background: transparent;
}

/* ===== Swiper Video Slide ===== */
.video-slide-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 856/535;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1f 0%, #2a2a32 100%);
}
.video-slide-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.video-slide-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.35) 100%);
    cursor: pointer;
    transition: background 0.25s ease;
    text-decoration: none;
}
.video-slide-overlay:hover {
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.5) 100%);
}
.video-play-btn {
    width: 84px;
    height: 84px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4), 0 0 0 0 rgba(255,255,255,0.7);
    transition: transform 0.25s ease, box-shadow 0.3s ease;
    animation: video-pulse 2.2s infinite;
}
.video-slide-overlay:hover .video-play-btn {
    transform: scale(1.08);
}
.video-play-btn i {
    color: #1a1a1f;
    font-size: 1.9rem;
    margin-left: 6px;
}
.video-slide-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
}
.video-slide-badge i {
    font-size: 10px;
    color: #ff4d4d;
}

@keyframes video-pulse {
    0%   { box-shadow: 0 10px 30px rgba(0,0,0,0.4), 0 0 0 0 rgba(255,255,255,0.55); }
    70%  { box-shadow: 0 10px 30px rgba(0,0,0,0.4), 0 0 0 22px rgba(255,255,255,0); }
    100% { box-shadow: 0 10px 30px rgba(0,0,0,0.4), 0 0 0 0 rgba(255,255,255,0); }
}

@media (max-width: 768px) {
    .video-play-btn { width: 64px; height: 64px; }
    .video-play-btn i { font-size: 1.4rem; }
}

/* ===== Fancybox Close Button ===== */
.is-close-btn {
    background: #fff;
    color: black;
}
.f-button:hover:not([disabled]) {
    background: #fff;
    color: black;
}