html {
    font-size: 1em;
}

body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    background-color: #f1ede9;
    min-height: 100vh; /* occupe au moins 100% de la hauteur du viewport */
    display: flex; /* conteneur flex vertical */
    flex-direction: column;
}

.marge {
    border: 20px #f1ede9 solid !important;
    width: 100%;
}

header {
    display: block;
    top: 0; /* L'élément "colle" en haut de la fenêtre */
    left: 0;
    right: 0;
    font-size: clamp(0.5rem, 1.1rem, 1.3rem);
}

.indexHeader {
    position: absolute;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #5a4a42;
    font-weight: 500;
}

h1 {
    font-size: 3.2em;
    color: #4d2a17;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-family: "Raleway", sans-serif;
    letter-spacing: 2px
}

h2 {
    font-size: 2.5em;
    font-family: "Raleway", sans-serif;
    text-transform: uppercase;
    color: rgb(77, 42, 23);
    margin-bottom: 30px;
}

h3 {
    font-size: 1.5em;
    font-family: "Raleway", sans-serif;

    color: rgb(77, 42, 23);

}

p {
    text-align: justify;
}

a {
    color: #f1ede9;
    text-decoration: none;
}

ul {
    list-style: none;
}


.headerElement {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 10%;

}

.headerBorder {
    border-bottom: 2px solid;
    border-image: linear-gradient(to right, transparent, #4d2a17, transparent) 1;
    width: 90%;
    margin: 0 auto;

}

.logo img {
    height: 7.5vw;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #5a4a42;
    font-weight: 500;
}

.social-icons a {
    color: #4d2a17;
    margin: 15px;
    font-size: 2vw;
}

.social-icons {
    padding: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-icons-index {
    color: #f3efea;

}

.social-icons-logo {
    transition: transform 0.3s ease; /* Animation fluide à l'aller ET au retour */
}

.social-icons-logo:hover {
    transform: scale(1.2); /* Agrandit l'élément de 10% */
}

.backgroundImage {
    height: 90vh;
    background-image: url('image/lac-Annecy.avif');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /*border: 5px solid #f3efea;*/
    border-radius: 25px;
}


.hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /*background: rgba(255, 255, 255, 0.4);*/
    /*backdrop-filter: blur(5px);*/
    padding: 40px;
    width: 70%;
}

h1 {
    font-size: 3.2em;
    color: #4d2a17;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-family: "Raleway", sans-serif;
    letter-spacing: 2px
}

h2 {
    font-size: 2.5em;
    text-transform: uppercase;
    color: rgb(77, 42, 23);
    margin-bottom: 30px;

}

h3 {
    font-size: 1.5em;
}

.hero-content button {
    background-color: #4d2a17;
    color: #f3efea;
    border: none;
    padding: 15px 30px;
    font-size: 1em;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease; /* Animation fluide à l'aller ET au retour */
}

.hero-content button:hover {
    transform: scale(1.1); /* Agrandit l'élément de 10% */
}

.nav-link {
    color: rgba(77, 42, 23, 0.76);
    font-weight: bold;
}

.nav-link:hover {
    color: #4d2a17;
    font-weight: bold;
    /*Ajouter une animation de grossisement */
}

.nav-pills .nav-link.active {
    background-image: linear-gradient(to bottom, #4d2a17, rgb(77, 42, 23)) !important;
    color: white;
}

.hero-contentContact {
    text-align: center;
    position: absolute;
    bottom: 10px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(5px);
    height: 70%;
    width: 70%;
}

.hero-contentIndexButtons {
    width: 100%;
}

.CallToActionButton {
    background: linear-gradient(135deg, #4d2a17, rgb(94, 75, 64));
    color: #f3efea;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(94, 73, 62, 0.74);
    transition: all 0.3s ease;
    overflow: hidden;
    width: 75% !important;
    display: inline-block;
}


.CallToActionButton:hover {
    background: linear-gradient(150deg, #40160a, rgb(112, 49, 19));
    transform: scale(1.05);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}


a {
    color: #f3efea;
    text-decoration: none;
}

.indexSecondSection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0 auto;
}

/* Indicateurs (boutons du bas) */
#carouselExampleIndicators .carousel-indicators [data-bs-target] {
    background-color: #4d2a17;
}

#carouselExampleIndicators .carousel-indicators .active {
    background-color: rgb(225, 202, 191);
}

/* Icônes des flèches (boutons précédent/suivant) */
#carouselExampleIndicators .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='%23E1CABF' viewBox='0 0 16 16'><path d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0'/></svg>");
}

#carouselExampleIndicators .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='%23E1CABF' viewBox='0 0 16 16'><path d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708'/></svg>");
}


#carouselExampleIndicators .carousel-control-prev,
#carouselExampleIndicators .carousel-control-next {
    opacity: .9;
}

.importantText {
    font-weight: bold;
    color: #4d2a17;
}

.italicText {
    font-style: italic;
}

p {
    text-align: justify;
}

.indexText {
    padding: 10%;
}

.titleBar {
    text-align: center;
    padding: 5%;
    display: inline-block;
}

.titleBaraPropos {
    text-align: center;

}

.aProposColone {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    gap: 3%;
    width: 95%;
    padding-right: 10%;
    padding-left: 10%;
}


.CallToActionButton {
    background-color: #4d2a17;
    color: #f3efea;
    border: none;
    padding: 15px 30px;
    font-size: 1em;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease; /* Animation fluide à l'aller ET au retour */
}

.CallToActionButton:hover {
    transform: scale(1.05); /* Agrandit l'élément de 10% */
}

.button {
    transition: transform 0.3s ease; /* Animation fluide à l'aller ET au retour */
    background-color: #f3efea;
    color: #4d2a17;
    border: 1px #4d2a17 solid;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease; /* Animation fluide à l'aller ET au retour */

}

.button:hover {
    transform: scale(1.1); /* Agrandit l'élément de 10% */
}

.brownLink {
    color: #4d2a17;
}

.aProposBox {
    display: flex;
    justify-content: center;
    padding: 5%;
    padding-top: 0%;
}

.credits {
    position: absolute;
    bottom: 10px; /* Position en bas */
    right: 10px; /* Position à droite */
    margin: 0; /* Supprime les marges par défaut */
    color: #4d2a17; /* Couleur du texte, ajustez selon vos besoins */
    padding: 5px; /* Espacement autour du texte */
    font-size: 12px; /* Taille de la police */
}

.image {
    max-height: 500px;
    overflow: hidden; /* Masque les parties de l'image qui dépassent */
    display: flex;
    justify-content: center;
    align-items: center;
}

.photoaPropos {
    height: 100%;
    width: auto;
    display: block;
    margin: 0 auto; /* Centre l'image horizontalement */
    object-fit: cover;
}

.aProposSocialMediaLogo {
    color: #4d2a17;
}

.ei {
    font-size: 0.3em;
}

.underline {
    text-decoration: underline;
}

.sousTitreParagraphe {
    text-align: left;
    text-decoration: underline;
    color: #4d2a17;
}

.paragrapheInterligne {
    padding-top: 1%;
    line-height: 1.5;
}

.paragraphe {
    padding-bottom: 2%;
    padding-top: 2%;
}


.layerFourParagraphe {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}


.gapaPropos {
    gap: 20px;
}

.container {
    max-width: 1170px;
    margin: auto;
    display: flex;
}

.row {
    display: flex;
    flex-wrap: wrap;
    width: 90%;
}

.footer {
    background-color: rgb(241, 237, 233);
    padding: 70px 0;
    width: 100%;
    margin-top: auto;
}

.footer .container {
    display: block; /* annule display:flex global */
    margin: 0 auto;
}

/* Laissez .row piloter le layout des colonnes et utilisez toute la largeur */
.footer .row {
    width: 100%; /* au lieu de 90% */
}

.footer-col {
    width: 25%;
    padding: 0 15px;
}

.footer-col h4 {
    font-size: 18px;
    color: #4d2a17;
    margin-bottom: 35px;
    font-weight: 500;
    position: relative;
}

.footer-col h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: #4d2a17;
    height: 2px;
    box-sizing: border-box;
    width: 50px;
}

.footer-col ul li:not(:last-child) {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 16px;
    text-decoration: none;
    font-weight: 300;
    color: rgba(77, 42, 23, 0.80);
    display: block;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #4d2a17;
    padding-left: 8px;
}


.gridContact {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Deux colonnes égales */
    grid-template-rows: 1fr 1fr 1fr;
    gap: 0px; /* Espace entre les colonnes */
    align-items: center; /* Alignement vertical */
    width: 100%; /* Prend toute la largeur disponible */
    max-width: 1500px; /* Limite la largeur maximale si nécessaire */
    max-height: 500px;
    margin: 0 auto; /* Centre la grille */
    padding: 20px; /* Ajoute un peu d'espace autour */
    padding-top: 5%;
    text-align: center;
}

.gridContact::after {
    content: "";
    position: absolute;
    left: 50%; /* Au milieu de la grille */
    top: 10%;
    bottom: 10%;
    width: 1px;
    background-color: rgba(77, 42, 23, 0.25); /* Couleur de la ligne */
    transform: translateX(-50%); /* Centre parfaitement la ligne */
    height: 80%; /* Hauteur de la ligne (ajuste selon tes besoins) */
}


.btn-primary {
    background-color: #f3efea;
    color: #4d2a17;
    border: 1px #4d2a17 solid;
}

.btn-primary:hover {
    background-color: rgba(77, 42, 23, 0.42);
    color: #f3efea;
    border: 1px #f3efea solid;
}

.paddingUneQuestion {
    padding-top: 300px;
}
.paddingContactTitles h2{
    text-align: center;
}
.paddingContactTitles {
    padding: 5%;
}
.CallToActionButtonMargin{
    margin: 10%;
}
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
    background: transparent;
    border-radius: 0.375rem;
    transition: box-shadow 0.15s ease-in-out;
}

.navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(77, 42, 23, 0.25);
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%234d2a17' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

/* Styles pour le menu mobile */
.mobile-nav {
    background: rgba(241, 237, 233, 0.95);
    border: 1px solid rgba(77, 42, 23, 0.69);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    margin-top: 1rem;
    padding: 1rem;
}

.mobile-nav .nav-pills .nav-link {
    margin-bottom: 0.5rem;
    text-align: center;
    border-radius: 8px;
}

.mobile-nav .social-icons {
    margin-top: 1rem;
    padding: 0;
    justify-content: center;
}

.mobile-social .social-icons-logo a {
    color: #4d2a17;
    font-size: 1.5rem;
}

/* Animation pour le menu déroulant */
.navbar-collapse {
    transition: all 0.3s ease-in-out;
}

.navbar-collapse.collapsing {
    opacity: 0.5;
}

.navbar-collapse.show {
    opacity: 1;
}

.footerBorder {
    border-top: 2px solid;
    border-image: linear-gradient(to right, transparent, #4d2a17, transparent) 1;
    width: 90%;
    margin: 0 auto;
}

.footerAlignColumn {
    display: grid;
    grid-template-columns: 20% 80%;
    justify-content: center;
    align-items: center;
}

.logoFooter {
    width: 70%;
    padding: 5%;
    max-width: 200px;
}

.footerContentLeft {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mentionsLegales {
    font-weight: 200;
    font-size: 0.7rem;
    text-align: center;
}

.paddingMentionsLegales {
    width: 100%;
    padding: 2%;
}

.card-body {
    max-height: 150px
}

.flexBoutonQuestionIndex {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.paddingContactFooter {
    padding-top: 50px;
}


.padding-bottom {
    padding-bottom: 60px;
}

.background-container-prestations {
    background-image: url('image/assetsAnnecy/chateau.png'); /* Remplacez par le chemin de votre image */
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.reservation-box {
    background-color: rgba(243, 239, 234, 0.80);
    backdrop-filter: blur(5px);
    padding: 30px;
    border-radius: 5px;
    max-width: 500px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.reservation-box h1 {
    color: #4d2a17;
    font-size: 2.2em;
    margin-bottom: 20px;
    font-weight: bold;
}

.reservation-box p {
    color: #555;
    font-size: 1em;
    margin-bottom: 30px;
    text-align: center;
}

.reservation-box .centerButton {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.contactez-moi {
    padding: 0;
    line-height: 0.2;
}

.constructionAcutalite {
    padding: 5em;
    text-align: center;
    color: #ff5800;
}


.photoTheo {
    background-image: url('image/photoTheo.avif');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: auto;
    height: 100%;
    margin: 10%;
}

.carousel-index {
    max-height: 600px;
    margin: 15%;
    display: unset;
}

.footerContentResponsive {
    display: none;
}

.content {
    display: none;

}

.content .btn {
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 1em;
}

.card-img-top {
    width: 100%;
    height: 50%;
    object-fit: cover;
}

.card-text {
    padding-bottom: 1em;
    font-size: 1em;
    text-align: left;
}

.card {
    margin: 1em;
    position: relative;
    height: 450px;
}

.content.active {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.prestations-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.indexPrestations {
    text-align: center;
    font-family: Raleway, sans-serif;
    padding: 1em;
}
.paddingContactTitles{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.paddingContactTitles p{
    text-align: center; /* Force le centrage du texte pour tous les <p> dans .box-contact */
}
.box-contact p {
    text-align: center; /* Force le centrage du texte pour tous les <p> dans .box-contact */
}
.box-contact {
    padding: 1em;
    background-color: rgba(243, 239, 234, 0.80);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    max-width: 800px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;

}

.box-contact-flex {
    display: flex;
    justify-content: center; /* Centre horizontalement */
    align-items: center; /* Centre verticalement */
    width: 100%; /* Prend toute la hauteur de la fenêtre */
    padding: 5%;
}

.paddingContactSecondTitle {
    padding-bottom: 1em;
}

.contactHero {
    background-image: url('image/assetsAnnecy/palaisDelIle.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    padding: 5%;
    align-self: center;
    text-align: center;
    position: absolute;
    left: 0;
}

.imageContact {
    width: 100%;
    position: relative;
}

/*---------------RESPONSIVE---------------*/
@media (max-width: 700px) {

    .gridContact{
        display: unset;
    }
    .content.active {
        display: unset;
    }

    .footerAlignColumn {
        display: unset;
    }

    .footerContentLeft {
        display: none;
    }

    .footerContentResponsive {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding-bottom: 5%;
    }

    /* Styles pour indexSecondSection */
    .indexSecondSection {
        display: flex;
        text-align: justify;
    }

    .indexSecondSection .carousel {
        display: none;
    }

    .indexAdaptativeText {
        display: none;
    }

    /* Styles pour le footer */
    .footer-col {
        width: 100%;
        margin-bottom: 30px;
    }

    /* Styles pour le header et autres éléments */
    .headerElement {
        flex-wrap: wrap;
    }

    .logo img {
        height: 15vw;
        max-height: 60px;
    }

    .navbar-collapse {
        width: 100%;
    }

    .headerBorder {
        width: 80%;
    }

    header {
        position: relative;
    }

    .hero-content {
        width: 100%;
        padding: 3%;
    }

    .hero-content h1,
    .hero-content h2 {
        display: block;
        width: 100%;
        padding: 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    /* Styles pour la grille de contact */
    .gridContact {
        grid-template-columns: 1fr;
    }

    .gridContact::after {
        display: none;
    }

    .box-contact{
        max-width: 300px;
    }
    /* Styles pour le conteneur d'arrière-plan des prestations */
    .background-container-prestations {
        background-color: #f3efea;
        background-image: url("image/assetsAnnecy/visitation.png");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: right;
        height: 100vh;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .constructionAcutalite {
        padding: 1em;
        font-size: x-large;
        text-align: center;
        color: #ff5800;
    }

    .nav-prestations {
        display: flex;
        flex-direction: column;
    }

    .indexPrestations {
        text-align: center;
        font-size: 2.5em;
    }
    .indexPrestationsColone {
       display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        width: 100%;

    }



}
