/* Styles pour le formulaire de recherche */
.search-form {
    position: relative;
}

.search-form .form-label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--sg-blue-dark);
    font-weight: 600;
}

.search-form .form-select,
.search-form .form-control {
    border: 2px solid var(--sg-gray-200);
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    background-color: var(--sg-white);
}

.search-form .form-select:focus,
.search-form .form-control:focus {
    border-color: var(--sg-blue);
    box-shadow: 0 0 0 0.2rem rgba(33, 75, 117, 0.25);
    transform: translateY(-2px);
    outline: none;
}

.search-form .form-select-lg,
.search-form .form-control-lg {
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
}

/* Animation pour les champs */
.search-form .form-group {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bouton de recherche avec effet */
.search-form .btn-primary {
    background: linear-gradient(135deg, var(--sg-blue), var(--sg-blue-dark));
    border: none;
    border-radius: 25px;
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(33, 75, 117, 0.3);
    color: var(--sg-white);
}

.search-form .btn-primary:hover {
    background: linear-gradient(135deg, var(--sg-blue-dark), var(--sg-blue-darker));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(33, 75, 117, 0.4);
    color: var(--sg-white);
}

/* Section confier un bien */
.confier-section {
    background: linear-gradient(135deg, var(--sg-red), var(--sg-red-light));
    position: relative;
    overflow: hidden;
}

.confier-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.confier-section .btn-light {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid transparent;
    border-radius: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.confier-section .btn-light:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.confier-section .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.confier-section .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .search-form .row {
        margin: 0;
    }
    
    .search-form .col-md-6,
    .search-form .col-lg-4,
    .search-form .col-lg-6 {
        padding: 0.5rem;
    }
    
    .search-form .btn-primary {
        width: 100%;
        margin-top: 1rem;
    }
    
    .confier-section {
        margin-top: 2rem;
    }
}

/* Effet de hover sur les cartes */
.bg-white.rounded-4 {
    transition: all 0.3s ease;
}

.bg-white.rounded-4:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}
