/* Styles personnalisés pour CayorCity */

/* Animation pour les cartes de propriétés */
.property-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

/* Style pour les statistiques */
.stat-item h3 {
    font-weight: 700;
    letter-spacing: -1px;
}

.stat-item {
    padding: 20px;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.stat-item:hover {
    background-color: rgba(0,0,0,0.05);
}

/* Animation pour les témoignages */
.testimonial-card {
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: scale(1.02);
}

/* Style pour la section hero */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
}

/* Boutons personnalisés */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-warning {
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,193,7,0.4);
}

/* Style pour la barre de recherche */
.search-form {
    background: rgba(255,255,255,0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.search-form .form-control {
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    padding: 12px 15px;
}

.search-form .form-select {
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    padding: 12px 15px;
}

/* Animation des icônes */
.fa-check {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Style pour les badges */
.badge {
    font-size: 0.75em;
    padding: 5px 10px;
    border-radius: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: 50vh;
        text-align: center;
    }
    
    .search-form {
        margin: 20px 15px;
        padding: 20px;
    }
    
    .stat-item {
        margin-bottom: 30px;
    }
}

/* Animation de chargement pour les images */
.card-img-top {
    transition: opacity 0.3s ease;
}

.card-img-top:not([src*="data:"]) {
    opacity: 0;
    animation: imageLoad 0.5s ease-in-out forwards;
}

@keyframes imageLoad {
    to { opacity: 1; }
}

/* Style pour les étoiles */
.fa-star {
    font-size: 0.9em;
}

/* Section partenaire avec dégradé */
.bg-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

/* Effet de parallaxe léger */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}