.container {
    padding: 20px;
    font-family: 'Arial', sans-serif;
    max-width: 1200px;
    margin: auto;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
}

.filter-buttons {
    text-align: center;
    margin-bottom: 20px;
}

.filter-btn {
    padding: 10px 20px;
    margin: 0 10px;
    background-color: #eee;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

.filter-btn.active {
    background-color: #9c5c2c;
    color: #fff;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.card-carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding-bottom: 10px;
}

.property-card {
    flex: 0 0 auto;
    width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background: #fff;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.property-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-image .cta-button {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 15px;
    background: #f1c40f;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.property-image .cta-button:hover {
    background-color: #d4ac0d;
    transform: translateX(-50%) scale(1.05);
}

.property-info {
    padding: 15px;
}

.property-info h3 {
    margin: 0;
    font-size: 20px;
    color: #9c5c2c;
}

.property-info p {
    font-size: 14px;
    color: #444;
    margin-top: 5px;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #9c5c2c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 2;
}

.arrow.left {
    left: 0;
}

.arrow.right {
    right: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .property-card {
        width: 90%;
    }

    .arrow {
        display: none;
    }
}
