/* Carrossel de Propriedades */
.carousel-container {
    position: relative;
    overflow: hidden;
    padding: 0 60px;
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: 15px;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.property-card-wrapper {
    z-index: 100;
    flex: 0 0 300px; /* Largura fixa para cada card */
    max-width: 300px;
}

/* Botões de Navegação */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0aafee;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: #0aafee;
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(10, 175, 238, 0.3);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn-left {
    left: 10px;
}

.carousel-btn-right {
    right: 10px;
}

.carousel-btn svg {
    width: 12px;
    height: 20px;
}

/* Estados dos botões */
.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Cards do Carrossel */
.property-card-wrapper .imovel-card {
    height: 100%;
    transform: scale(1);
    transition: all 0.3s ease;
}

.property-card-wrapper .imovel-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

.property-card-wrapper .imovel-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
    border-radius: 15px 15px 0 0;
}

/* Loading State */
.loading-state {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
}

/* Responsividade */
@media (max-width: 768px) {
    .carousel-container {
        padding: 0 40px;
    }
    
    .property-card-wrapper {
        flex: 0 0 280px;
        max-width: 280px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn svg {
        width: 10px;
        height: 16px;
    }
}

@media (max-width: 576px) {
    .carousel-container {
        padding: 0 30px;
    }
    
    .property-card-wrapper {
        flex: 0 0 250px;
        max-width: 250px;
    }
    
    .carousel-track {
        gap: 15px;
    }
}

/* Animações suaves */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.property-card-wrapper.animate {
    animation: slideIn 0.6s ease-out forwards;
}

/* Indicadores de posição (opcional) */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(10, 175, 238, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: #0aafee;
    transform: scale(1.2);
}