/* ConstX Construction Template - Main Styles */

/* 
 * IMPORTANT: Les fichiers CSS ci-dessous doivent être copiés depuis le template original
 * Utilisez le script: ./copy_assets_to_assetmapper.sh /path/to/constx/template
 * 
 * En attendant, cette configuration charge les styles de base
 */

/* Import des styles des plugins (décommentez après avoir copié les fichiers) */

@import url("plugins/bootstrap.min-2aeWO7j.css");
/* @import url("plugins/fontawesome-ntR3TUx.css"); */ /* Remplacé par CDN dans base.html.twig */
@import url("plugins/swiper-Xz-1n-O.css");
@import url("plugins/aos-LEZlJyb.css");
@import url("plugins/unicons-iVQSo7e.css");
@import url("plugins/metismenu-H8aqVYs.css");
@import url("plugins/magnific-popup-pIXOIku.css");
@import url("plugins/hover-revel-l3o9riw.css");
@import url("plugins/timepickers.min-PUx-6hb.css");
@import url("plugins/odometer-HUzKB4C.css");

/* Import des animations de secours */
@import url("animations-backup-nwhCwa_.css");


/* Import du style principal du template (décommentez après avoir copié le fichier) */

@import url("constx/style-Ef3eZaK.css");


/* Styles temporaires pour le développement */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container-3 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Styles de base pour que le template fonctionne sans les assets */
.tmp-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.tmp-btn:hover {
    background-color: #0056b3;
}

.tmp-section-gap {
    padding: 80px 0;
}

/* Message d'information pour l'utilisateur */
.asset-info {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    text-align: center;
}

/* Styles personnalisés pour l'intégration Symfony */
.symfony-integration {
    /* Ajoutez ici vos styles personnalisés si nécessaire */
}

/* Styles pour les backgrounds du banner */
.bg-style {
    min-height: 100vh;
    position: relative;
    background-attachment: fixed;
}

.banner-five-main-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.banner-five-main-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.banner-five-main-wrapper > * {
    position: relative;
    z-index: 2;
}

/* Styles pour le slider banner */
.thumbBannerSlide {
    height: 100vh;
}

.thumbBannerSlide .swiper-slide {
    height: 100vh;
}

/* Responsive pour les backgrounds */
@media (max-width: 768px) {
    .bg-style {
        background-attachment: scroll;
        min-height: 80vh;
    }
    
    .banner-five-main-wrapper {
        min-height: 80vh;
    }
    
    .thumbBannerSlide,
    .thumbBannerSlide .swiper-slide {
        height: 80vh;
    }
}

/* Styles pour les compteurs */
.odometer {
    font-weight: bold;
    transition: all 0.3s ease;
}

.odometer-triggered {
    color: var(--primary-color, #007bff);
}

/* Styles pour les icônes des services */
.tmp-btn-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.tmp-btn-overlay i {
    font-size: 18px;
    transition: all 0.3s ease;
    position: absolute;
}

.tmp-btn-overlay i:first-child {
    opacity: 1;
    transform: translateX(0);
}

.tmp-btn-overlay i:last-child {
    opacity: 0;
    transform: translateX(20px);
}

.tmp-icon-overlay-link-btn:hover .tmp-btn-overlay i:first-child {
    opacity: 0;
    transform: translateX(-20px);
}

.tmp-icon-overlay-link-btn:hover .tmp-btn-overlay i:last-child {
    opacity: 1;
    transform: translateX(0);
}

/* Styles pour les boutons de navigation du slider */
.custom-overfolow-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.custom-overfolow-btn i {
    font-size: 16px;
    transition: all 0.3s ease;
    position: absolute;
}

.custom-overfolow-btn i:first-child {
    opacity: 1;
    transform: translateX(0);
}

.custom-overfolow-btn i:last-child {
    opacity: 0;
    transform: translateY(20px);
}

.swiper-btn:hover .custom-overfolow-btn i:first-child {
    opacity: 0;
    transform: translateY(-20px);
}

.swiper-btn:hover .custom-overfolow-btn i:last-child {
    opacity: 1;
    transform: translateY(0);
}

/* Styles spécifiques pour la section services - Override du template original */
.tmpServiceSlider .service-wrapper-3 {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

.tmpServiceSlider .service-wrapper-3:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
}

.tmpServiceSlider .service-wrapper-3 .image-area {
    position: relative !important;
    overflow: hidden !important;
}

.tmpServiceSlider .service-wrapper-3 .image-area img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    transition: transform 0.3s ease !important;
}

.tmpServiceSlider .service-wrapper-3:hover .image-area img {
    transform: scale(1.05) !important;
}

/* Override du contenu original pour notre structure */
.tmpServiceSlider .service-wrapper-3 .image-area .content {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8)) !important;
    padding: 30px 20px 20px !important;
    color: white !important;
    transform: translateY(20px) !important;
    opacity: 0 !important;
    transition: all 0.3s ease !important;
    display: block !important;
    gap: unset !important;
}

.tmpServiceSlider .service-wrapper-3:hover .image-area .content {
    transform: translateY(0) !important;
    opacity: 1 !important;
    bottom: 0 !important;
}

.tmpServiceSlider .service-wrapper-3 .image-area .content .desc {
    color: white !important;
    margin: 15px 0 0 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

/* Bouton d'icône sur l'image - Override complet */
.tmpServiceSlider .service-wrapper-3 .tmp-icon-overlay-link-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    z-index: 2 !important;
    margin-bottom: 10px !important;
}

.tmpServiceSlider .service-wrapper-3 .tmp-icon-overlay-link-btn.btn-bg-dark {
    background: rgba(0, 0, 0, 0.7) !important;
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
}

.tmpServiceSlider .service-wrapper-3 .tmp-icon-overlay-link-btn.btn-bg-dark:hover {
    background: #007bff !important;
    border-color: #007bff !important;
    transform: scale(1.1) !important;
}

.tmpServiceSlider .service-wrapper-3 .tmp-icon-overlay-link-btn.btn-xxl {
    width: 60px !important;
    height: 60px !important;
}

/* Animation spécifique pour les icônes sur les images */
.tmpServiceSlider .service-wrapper-3 .tmp-btn-overlay {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    height: 100% !important;
}

.tmpServiceSlider .service-wrapper-3 .tmp-btn-overlay i {
    color: white !important;
    font-size: 20px !important;
    transition: all 0.3s ease !important;
    position: absolute !important;
}

.tmpServiceSlider .service-wrapper-3 .tmp-btn-overlay i:first-child {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.tmpServiceSlider .service-wrapper-3 .tmp-btn-overlay i:last-child {
    opacity: 0 !important;
    transform: translateX(20px) !important;
}

.tmpServiceSlider .service-wrapper-3 .tmp-icon-overlay-link-btn:hover .tmp-btn-overlay i:first-child {
    opacity: 0 !important;
    transform: translateX(-20px) !important;
}

.tmpServiceSlider .service-wrapper-3 .tmp-icon-overlay-link-btn:hover .tmp-btn-overlay i:last-child {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* Masquer l'ancien système d'icônes du template */
.tmpServiceSlider .service-wrapper-3 .image-area .content .icon-btn {
    display: none !important;
}

/* Ajouter l'overlay sombre pour l'effet hover */
.tmpServiceSlider .service-wrapper-3 .image-area::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 100% !important;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6)) !important;
    transition: all 0.3s ease !important;
    z-index: 1 !important;
    opacity: 0 !important;
}

.tmpServiceSlider .service-wrapper-3:hover .image-area::after {
    bottom: 0 !important;
    opacity: 1 !important;
}

/* NOUVEAU SYSTÈME - Classes debug pour éviter les conflits */
.debug-service {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

.debug-service:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
}

.debug-service .image-area {
    position: relative !important;
    overflow: hidden !important;
}

.debug-service .image-area img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    transition: transform 0.3s ease !important;
}

.debug-service:hover .image-area img {
    transform: scale(1.05) !important;
}

/* Contenu debug - TOUJOURS VISIBLE pour test */
.debug-content {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9)) !important;
    padding: 30px 20px 20px !important;
    color: white !important;
    transform: translateY(0) !important; /* Toujours visible */
    opacity: 1 !important; /* Toujours visible */
    transition: all 0.3s ease !important;
    display: block !important;
    z-index: 5 !important;
}

/* Bouton d'icône debug - TRÈS VISIBLE */
.debug-icon-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 70px !important;
    height: 70px !important;
    border-radius: 50% !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    z-index: 10 !important;
    margin-bottom: 15px !important;
    background: #ff0000 !important; /* Rouge vif pour debug */
    color: white !important;
    border: 4px solid #ffff00 !important; /* Jaune vif pour debug */
    font-size: 24px !important;
}

.debug-icon-btn:hover {
    background: #00ff00 !important; /* Vert au hover */
    border-color: #0000ff !important; /* Bleu au hover */
    transform: scale(1.2) !important;
}

.debug-content .desc {
    color: white !important;
    margin: 15px 0 0 !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    font-weight: bold !important;
}

/* Responsive pour les services */
@media (max-width: 768px) {
    .service-wrapper-3 .content {
        position: static;
        background: rgba(0, 0, 0, 0.9);
        transform: none;
        opacity: 1;
        padding: 20px;
    }
    
    .tmp-icon-overlay-link-btn.btn-xxl {
        width: 50px;
        height: 50px;
    }
    
    .service-wrapper-3 .tmp-btn-overlay i {
        font-size: 16px;
    }
}

/* Styles pour le slider de services */
.tmpServiceSlider {
    overflow: visible;
}

.tmpServiceSlider .swiper-slide {
    height: auto;
}

/* Boutons de navigation du slider services */
.slider-button {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 30px;
}

.swiper-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #007bff;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.swiper-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.swiper-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}