/* Styles pour la section héro */
.hero-section {
    background-image: url('../images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 100px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}


.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 15px;
}

.hero-text {
    flex: 0 0 45%;
    
}

.hero-text .feature-list {
    list-style-type: none;
    padding-left: 0;
    z-index: 1050; 
    margin-bottom: 2rem;
}

.hero-text .feature-list li {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.5s ease;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.hero-text .feature-list li:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.hero-text .feature-list li i {
    margin-right: 15px;
    color: #ffd700;
    transition: transform 0.5s ease;
    font-size: 1.5rem;
}

.hero-text .feature-list li .feature-title {
    font-family: 'Crafty Girls', cursive;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.hero-text .feature-list li .feature-description {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    font-size: 1rem;
    font-family: 'Crafty Girls', cursive;
}

.hero-text .feature-list li.active .feature-description {
    max-height: 200px;
    opacity: 1;
    margin-top: 10px;
}

.hero-text .feature-list li.active i {
    transform: rotate(90deg);
}

.hero-image {
    flex: 0 0 50%;
    max-width: 50%;
    text-align: right;
}

.hero-image img {
    border: 2px solid white;
    border-radius: 92px 20px 92px 19px;
    overflow: hidden;
    max-width: 100%;
    height: auto;
}

/* Styles pour les sections de contenu */
.content-section {
    padding: 50px 0;
    background-color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.content-section h2 {
    font-family: 'Crafty Girls', cursive;
    color: #000080;
    margin-bottom: 1rem;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.content-section img {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Styles pour la bande de séparation */

.separator-band {
    background-color: rgba(0, 0, 128, 0.8);
    color: #fff;
    padding: 30px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.separator-band h2 {
    font-family: 'Crafty Girls', cursive;
    font-size: 2.5rem;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}



.find-us-section {
    padding: 80px 0;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.find-us-section .container {
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: 'Crafty Girls', cursive;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.contact-info {
    background-color: rgba(0, 0, 128, 0.8);
    background-image: url('../images/compas.png');
    background-size: 150px;
    background-repeat: no-repeat;
    background-position: right bottom;
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 128, 0.8) 100%);
    z-index: 1;
}

.contact-info > * {
    position: relative;
    z-index: 2;
}

.info-item {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-item i {
    color: #ffd700;
    font-size: 1.5rem;
    margin-right: 15px;
    width: 30px; /* Largeur fixe pour l'icône */
    text-align: center; /* Centre l'icône dans sa largeur fixe */
}

.info-item p {
    margin: 0; /* Supprime la marge par défaut du paragraphe */
    flex: 1; /* Permet au texte de prendre tout l'espace restant */
}

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

.highlight {
    color: #ffd700;
    font-weight: bold;
}

.map-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
   
}

.map-container img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 128, 0.2);
    pointer-events: none;
}


.btn-glow {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    animation: glow 3s linear infinite;
}

@keyframes glow {
    0% { transform: rotate(45deg) translateX(-100%); }
    100% { transform: rotate(45deg) translateX(100%); }
}

.btn-location {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.btn-primary {
    background-color: #000080;
    border-color: #000080;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #ffd700;
    border-color: #ffd700;
    color: #000080;
}


.map-background {
    background-color: #f0e6d2;
    background-image: 
        
        url('../images/vieux-papier-texture.jpg');
    background-size: 
        20px 20px,
        20px 20px,
        cover;
    background-position: center center;
    border: 2px solid #8b4513 !important;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.map-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/comepas.png');
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 100px;
    opacity: 0.2;
    pointer-events: none;
}

/* Gallerie photos */

.house-gallery-section {
    padding: 80px 0;
    background-color: rgba(0, 0, 128, 0.1);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

/* Styles pour le modal de la galerie */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 900px;
    max-height: 80vh;
    object-fit: contain;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #fff;
    padding: 10px 0;
    height: auto;
    font-family: 'Crafty Girls', cursive;
    font-size: 1.2rem;
    background-color: rgba(0, 0, 0, 0.5);
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    z-index: 10000;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Styles responsifs pour le modal */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 95%;
    }
    
    #caption {
        font-size: 1rem;
    }
    
    .close {
        right: 20px;
        top: 10px;
        font-size: 30px;
    }
}

/* styles responsive pour la bande */

@media (max-width: 768px) {
    .separator-band h2 {
        font-size: 2rem;
    }
    
    .find-us-section {
        padding: 30px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .info-item {
        font-size: 0.9rem;
    }

    .map-container {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .separator-band h2 {
        font-size: 1.5rem;
    }
   
    .find-us-section {
        padding: 20px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .info-item {
        font-size: 0.8rem;
    }

    .map-container {
        height: 200px;
    }

    .btn-location {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
}

@media (max-width: 400px) {
    .separator-band h2 {
        font-size: 1.2rem;
    }
   
}

/* Styles responsives 1er section */

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-text, .hero-image {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-text .feature-list li {
        font-size: 1rem;
    }
}

