/* ================================
   CUSTOM IMAGE ENHANCEMENTS
   Amélioration pour les nouvelles photos
   ================================ */

/* Hero Background - Amélioration de la visibilité */
.hero {
    background-size: cover !important;
    background-position: center center !important;
}

/* Correction de l'espace blanc autour du hero */
.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Images des services - Remplissage complet du cadre */
.service-detail-image {
    height: 500px !important;
    /* Force la hauteur uniforme */
    width: 100%;
}

.service-detail-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block;
}

/* Rendre le hero plus lumineux pour mieux voir l'image */
.hero .hero-content {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

/* Améliorer les cartes de services */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
}

/* S'assurer que les images remplissent complètement le cadre */
.service-image img {
    min-height: 100%;
    min-width: 100%;
}

/* Améliorer l'overlay des images de services */
.service-overlay {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
}

/* Animation au survol plus fluide */
.service-card:hover .service-image img {
    transform: scale(1.15);
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .service-image {
        height: 250px;
    }

    .hero {
        background-attachment: scroll !important;
    }
}

/* Améliorer la lisibilité du texte sur le hero */
.hero-title {
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.6);
}

.hero-description {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.hero-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
}