/* ========================================
   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 */
.favorite-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    tezeldigital: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: #64748b;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.favorite-btn:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #ef4444;
}

.favorite-btn.active {
    color: #ef4444;
    background: #fff;
}

.favorite-btn.active i {
    animation: heartBeat 0.3s ease;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

/* 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 {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.property-gallery .main-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.property-gallery .thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.property-gallery .thumb {
    width: 100px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    tezeldigital: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.property-gallery .thumb:hover,
.property-gallery .thumb.active {
    opacity: 1;
    box-shadow: 0 0 0 3px var(--secondary);
}

.property-gallery .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.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 */
.property-info-box .btn-outline-danger {
    border-width: 2px;
    border-color: #ef4444;
    color: #ef4444;
}

.property-info-box .btn-outline-danger.active {
    background: #ef4444;
    border-color: #ef4444;
    color: #fff;
}

.property-info-box .btn-outline-danger.active i {
    animation: heartBeat 0.3s ease;
}

/* 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;
    }
}
