/**
 * Featured Properties Carousel
 * Carrossel de Imóveis em Destaque
 */

/* ===== SEÇÃO DE DESTAQUES ===== */
.featured-properties-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafb 0%, #f1f5f9 100%);
    position: relative;
}

.featured-properties-section .section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.featured-properties-section .section-title {
    font-family: 'Playfair Display', serif;
    color: #1a1a2e;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.featured-properties-section .section-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== CARROSSEL CONTAINER ===== */
.featured-carousel-container {
    position: relative;
    padding: 0 1rem;
    margin-bottom: 2rem;
}

.featured-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.featured-carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
    width: 100%;
}

.featured-carousel-item {
    min-width: 100%;
    width: 100%;
    flex: 0 0 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 10px;
    box-sizing: border-box;
}

.featured-carousel-item .property-card-modern {
    flex: 1 0 calc(25% - 20px);
    max-width: calc(25% - 20px);
    margin: 0;
    transition: all 0.3s ease;
}

/* ===== CONTROLES ===== */
.featured-carousel-controls {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.carousel-control-prev, 
.carousel-control-next {
    width: 48px;
    height: 48px;
    background-color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #1a1a2e;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    pointer-events: auto;
    margin: 0 10px;
}

.carousel-control-prev:hover, 
.carousel-control-next:hover {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35);
}

/* ===== PAGINAÇÃO (DOTS) ===== */
.featured-carousel-pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 0.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d1d5db;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot:hover {
    background-color: #9ca3af;
}

.carousel-dot.active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    transform: scale(1.3);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1199.98px) {
    .featured-carousel-item .property-card-modern {
        flex: 1 0 calc(33.333% - 20px);
        max-width: calc(33.333% - 20px);
    }
}

@media (max-width: 991.98px) {
    .featured-carousel-item .property-card-modern {
        flex: 1 0 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
    
    .featured-properties-section .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .featured-properties-section {
        padding: 3rem 0;
    }
    
    .featured-carousel-item .property-card-modern {
        flex: 1 0 100%;
        max-width: 100%;
    }
    
    .carousel-control-prev, 
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .featured-properties-section .section-title {
        font-size: 1.75rem;
    }
    
    .featured-properties-section .section-subtitle {
        font-size: 1rem;
    }
}

