/* Öne Çıkan İlanlar - Modern Tasarım */

.featured-listings {
    padding: 3rem 0;
}

.listings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.listings-header .section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.listings-header .view-all {
    color: #3b49df;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.listings-header .view-all:hover {
    color: #2835b8;
    transform: translateX(5px);
}

/* Listing Card */
.listing-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.listing-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

/* Image Wrapper */
.listing-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 66.67%; /* 3:2 aspect ratio */
    overflow: hidden;
    background: #f5f5f5;
}

.listing-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.listing-card:hover .listing-image {
    transform: scale(1.05);
}

/* Badge */
.listing-badge {
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #3b49df 0%, #2835b8 100%);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(59, 73, 223, 0.3);
}

/* Favorite Button */
.favorite-btn {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    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 ease;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.favorite-btn:hover {
    background: #fff;
    transform: scale(1.1);
}

.favorite-btn i {
    font-size: 18px;
    color: #dc3545;
    transition: all 0.3s ease;
}

.favorite-btn.active i {
    font-weight: 900;
}

/* Content */
.listing-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.listing-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3b49df;
    margin: 0;
}

.listing-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.listing-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.listing-title a:hover {
    color: #3b49df;
}

.listing-location {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.listing-location i {
    color: #3b49df;
    font-size: 0.85rem;
}

/* Features */
.listing-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid #e5e5e5;
}

.listing-features .feature {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: #666;
    background: #f8f9fa;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    white-space: nowrap;
}

.listing-features .feature i {
    color: #3b49df;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 1199.98px) {
    .listings-header .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .featured-listings {
        padding: 2rem 0;
    }
    
    .listings-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .listings-header .section-title {
        font-size: 1.35rem;
    }
    
    .listing-price {
        font-size: 1.35rem;
    }
    
    .listing-title {
        font-size: 0.95rem;
    }
    
    .listing-features {
        gap: 0.5rem;
    }
    
    .listing-features .feature {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
}

@media (max-width: 575.98px) {
    .listing-image-wrapper {
        padding-top: 75%; /* 4:3 aspect ratio for mobile */
    }
}

/* Empty State */
.featured-listings .alert {
    margin-top: 2rem;
    padding: 2rem;
    font-size: 1.05rem;
}

