/* Variables CSS */
:root {
    --primary-color: #f77d00;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #f77d00;
    --light-bg: #f8f9fa;
}

/* Corps de page */
body {
    /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
    font-family: Gratimo Grotesk,Arial,Verdana,system-ui,-apple-system,sans-serif;
    /* background-color:#E5EBE7; */
    background-color:#f0f0f0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-weight: 700;

}

main {
    flex: 1;
}

/* Navbar personnalisée */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

/* Cards propriétés */
.property-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.property-card img {
    height: 200px;
    object-fit: cover;
}

.property-price {
    line-height: 1.2;
    font-size: 1rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Badge vedette */
.badge-vedette {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--warning-color);
    color: #FFF;
    padding: 5px 5px;
    border-radius: 5px;
    font-weight: bold;
}


/* Bouton favoris */
.btn-favorite {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-favorite:hover {
    background: var(--danger-color);
    color: white;
}

.btn-favorite.active {
    background: var(--danger-color);
    color: white;
}

/* Filtres de recherche */
.search-filters {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

/* Footer */
footer a:hover {
    color: white !important;
    text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

/* Responsive */
@media (max-width: 768px) {
    .property-card img {
        height: 150px;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
}
