/* ========================================
   EMLAK KARTLARI - YENİ TASARIM
   ======================================== */
.property-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 35, 77, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e8f0;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 35, 77, 0.15);
}

.property-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f1f5f9;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.5s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.1);
}

/* RTL için property card düzenlemeleri */
html[dir="rtl"] .property-badge {
    left: auto;
    right: 15px;
}

html[dir="rtl"] .property-featured {
    right: auto;
    left: 15px;
}

html[dir="rtl"] .property-price-overlay {
    left: auto;
    right: 15px;
}

html[dir="rtl"] .property-card:hover .property-image img {
    transform: scale(1.1);
}

/* Fiyat Etiketi - Görsel Üzerinde */
.property-price-overlay {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 35, 77, 0.95);
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    z-index: 5;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.badge-sale {
    background: #22c55e;
    color: #fff;
}

.badge-rent {
    background: #FD5631;
    color: #fff;
}

.property-featured {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #FD5631 0%, #ff6b4a 100%);
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(253, 86, 49, 0.3);
}

/* 360° Sanal Tur Badge */
.property-virtual-tour {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
    z-index: 5;
}

.property-virtual-tour i {
    font-size: 14px;
}

.property-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.property-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    min-height: 3.2em;
}

.property-location {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.property-location i {
    color: var(--secondary);
    font-size: 16px;
}

.property-features {
    display: flex;
    gap: 0;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
    margin-top: auto;
}

.property-feature {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    flex: 1;
    justify-content: center;
    padding: 0 8px;
    position: relative;
}

.property-feature:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background: #e2e8f0;
}

.property-feature i {
    color: var(--secondary);
    font-size: 16px;
}

/* Favori Butonu - Şık Tasarım */
.favorite-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    color: #64748b;
    font-size: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(8px);
}

.favorite-btn:hover {
    background: #fff;
    transform: scale(1.15);
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.25);
    color: #ef4444;
}

.favorite-btn.active {
    color: #ef4444;
    background: #fff;
}

.favorite-btn.active i {
    animation: heartBeat 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.favorite-btn i {
    transition: all 0.2s ease;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(0.9); }
    75% { transform: scale(1.2); }
}

/* Karşılaştırma Checkbox */
.compare-checkbox-wrapper {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 10;
}

.compare-checkbox {
    display: none;
}

.compare-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #dee2e6;
    border-radius: 50%;
    tezeldigital: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.compare-label:hover {
    background: #fff;
    border-color: var(--secondary);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.compare-label i {
    font-size: 18px;
    color: #6c757d;
    transition: color 0.3s ease;
}

.compare-checkbox:checked + .compare-label {
    background: var(--secondary);
    border-color: var(--secondary);
}

.compare-checkbox:checked + .compare-label i {
    color: #fff;
}

.compare-checkbox:checked + .compare-label:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
}

/* ========================================
   EMLAK DETAY SAYFASI
   ======================================== */
.property-detail-header {
    background: #fff;
    padding: 30px 0;
    border-bottom: 1px solid #e2e8f0;
}

.property-gallery {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

.property-gallery .main-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    max-height: 500px;
}

.property-gallery .main-image {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    cursor: zoom-in;
}

.property-gallery .main-image a {
    display: block;
    height: 100%;
}

.property-gallery .main-image img {
    width: 100%;
    height: 100%;
    max-height: 500px;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.property-gallery .main-image:hover img {
    transform: scale(1.02);
}

/* Ok Butonları */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 24px;
}

.gallery-nav:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 15px;
}

.gallery-next {
    right: 15px;
}

/* Resim Sayacı */
.image-counter {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    z-index: 10;
}

.property-gallery .thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.property-gallery .thumb {
    min-width: 100px;
    width: 100px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.property-gallery .thumb:hover,
.property-gallery .thumb.active {
    opacity: 1;
    border-color: var(--secondary);
}

.property-gallery .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobil için */
@media (max-width: 768px) {
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .gallery-prev {
        left: 10px;
    }
    
    .gallery-next {
        right: 10px;
    }
    
    .image-counter {
        bottom: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 12px;
    }
}

.property-info-box {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 35, 77, 0.08);
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

.property-info-box h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
    color: var(--primary);
}

.info-list {
    list-style: none;
}

.info-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list .label {
    color: #64748b;
}

.info-list .value {
    font-weight: 600;
    color: var(--primary);
}

/* ========================================
   HARİTA VE SOKAK GÖRÜNÜMÜ
   ======================================== */
.map-container {
    border-radius: 8px;
    overflow: hidden;
    height: 400px;
    margin-bottom: 20px;
}

.street-view-container {
    border-radius: 8px;
    overflow: hidden;
    height: 350px;
}

.map-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.map-tab {
    padding: 10px 20px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    tezeldigital: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    color: var(--primary);
}

.map-tab:hover,
.map-tab.active {
    background: var(--secondary);
    color: #fff;
    border-color: var(--secondary);
}

/* Header Favori Linki */
.favorites-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.favorites-link .bi-heart {
    font-size: 1.2rem;
}

.favorites-count {
    position: absolute;
    top: 0;
    right: 5px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    padding: 0 4px;
}

.compare-count {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    background: var(--secondary);
    color: #fff;
}

/* Favori Bildirimi */
.favorite-notification {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: #22c55e;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    animation: slideInRight 0.3s ease;
    font-size: 14px;
}

@keyframes slideInRight {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Detay Sayfası Favori Butonu - Sabit Boyut */
.favorite-btn-detail,
.property-info-box .btn-outline-danger:not(.w-100) {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    padding: 0 !important;
    border-width: 2px;
    border-color: #ef4444;
    color: #ef4444;
    border-radius: 8px;
    font-size: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
}

.favorite-btn-detail:hover,
.property-info-box .btn-outline-danger:not(.w-100):hover {
    background: #ef4444;
    border-color: #ef4444;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.favorite-btn-detail.active,
.favorite-btn-detail.btn-danger:not(.w-100),
.property-info-box .btn-outline-danger.active:not(.w-100),
.property-info-box .btn-danger:not(.w-100) {
    background: #ef4444;
    border-color: #ef4444;
    color: #fff;
    width: 44px !important;
    height: 44px !important;
}

.favorite-btn-detail.active i,
.favorite-btn-detail.btn-danger:not(.w-100) i,
.property-info-box .btn-outline-danger.active:not(.w-100) i,
.property-info-box .btn-danger:not(.w-100) i {
    animation: heartBeat 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.favorite-btn-detail i,
.property-info-box .btn-outline-danger:not(.w-100) i {
    font-size: 20px;
    line-height: 1;
}

/* Responsive */
@media (max-width: 767px) {
    .property-image {
        aspect-ratio: 4/3;
    }
    
    .property-price-overlay {
        font-size: 1rem;
        padding: 8px 14px;
    }
    
    .property-features {
        flex-wrap: wrap;
    }
    
    .property-feature:not(:last-child)::after {
        display: none;
    }
}

/* ========================================
   EİDS BİLGİLERİ
   ======================================== */
.eids-info-box {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.eids-info-box:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.eids-title {
    color: #1e293b;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.eids-title i {
    color: #22c55e;
    font-size: 20px;
}

.eids-text {
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .eids-info-box {
        padding: 15px;
    }
    
    .eids-title {
        font-size: 14px;
    }
    
    .eids-title i {
        font-size: 18px;
    }
    
    .eids-text {
        font-size: 14px;
    }
}
