/* css for all the page and body */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    background-color: #faf5ee;
    padding-top: 150px;
}

.pictures {
border-radius: 15px;
}

.just{
    text-align: justify;
}
/**/

/* css for header */
.navbar{
    background-color: #c0946c;
}

.navbar-nav {
    width: 100%;
    align-items: center;
    justify-content: space-evenly;
}

header img {
    height: 150px;
    width: 150px;
}   

.nav-link {
    text-decoration-line: none;
    color: #ffffff;
    font-size: large;
    font-weight: 500;
    text-align: center;
    transition: color 0.3s ease;
}
.nav-link:hover {
    color: #000000;
}
/**/

/* css for footer */
footer {
    background-color: #c0946c;
    color: #ffffff;
    padding: 18px 0;
}

footer .container {
    margin: auto;
    padding: 0 10px;
    display: flex;
}

h2{
    font-size: 23px;
    text-align: center;
}

footer .col-md{
    font-size: 18px;
}

.social-icons {
    text-align: center;
}

#siren {
    text-align: center;
}

.logo-reseau {
    color: #ffffff;
}

.logo-reseau :hover{
    color: #000000;
}
/**/

/* css for searching bar */
.image-box_event0 {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    text-align: center;
}

.img_accueil{
    height: 400px;
    width: 1400px;
    padding-top: 20px;
    border-radius: 10px;
}
/**/

/* css for card (lien atelier) */
.info {
    display: flex;
    justify-content: center;  /* Centre horizontalement */
    align-items: center;      /* Centre verticalement si nécessaire */
    height: 100px; /* Ajuste la hauteur si tu veux donner de l'espace vertical */
}

.btn-classic {
    text-align: center;
    display: inline-block;
    text-decoration: none;
    color: #ffffff;
    background-color: #c0946c;
    border-radius: 20px;
    padding: 10px 20px;
}
.btn-classic:hover{
    color: #333;
}

.card-body {
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.col-md .card-body img {
    max-height: 100%;
    object-fit: cover;
    width: auto;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #faf5ee;
    border: none;
    height: 100%;
}

/**/

/* css for carroussel */

.container-carroussel .text-center .title_presentation{
    border-left: solid 15px #ffffff;
    padding: 30px;
}

.container-carroussel {
    width: 100%;
    min-height: 100vh; /* Utilisation de min-height pour s'adapter à l'écran en desktop */
    background-image: url("../img/pictu_acc.jpeg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 50px;
    margin-bottom: 15px;
}

/* Media Queries pour mobile */
@media (max-width: 768px) {
    .container-carroussel {
        padding: 20px;
        background-size: contain; /* Ajuste l'image pour l'afficher en entier */
        min-height: 80vh; /* Assure une hauteur suffisante sur les petits écrans */
    }
}

@media (max-width: 576px) {
    .container-carroussel {
        background-size: contain; /* Garde l'image entière */
        background-position: top center; /* Positionne l'image en haut pour éviter les marges */
        min-height: 70vh; /* Ajuste la hauteur minimale sur petits écrans */
    }
}

.carousel-inner{
    width: 70%;
    padding: 15px;
    margin: 25px auto;
}

.carousel-item .d-block{
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.card-caroussel {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px;
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.45);
}

.carousel-caption h3, .carousel-caption p {
    color: #fff;
}

.carousel-caption a {
    margin-top: 10px;
    display: inline-block;
}

.btn{
    background-color: #c0946c;
    border: none;
}
.btn:hover{
    background-color: #c0946c;
    border: none;
    color: #000000;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
    .container-carroussel {
        padding: 20px 10px;
        background-size: cover;
    }

    .carousel-inner {
        width: 100%;
        margin: 0 auto;
    }

    .carousel-item .d-block {
        height: 200px;
    }

    .carousel-caption {
        font-size: 0.8rem;
        padding: 8px;
    }

    .carousel-caption h5 {
        font-size: 1rem;
    }

    .carousel-caption p {
        font-size: 0.85rem;
    }

    .btn {
        font-size: 0.85rem;
        padding: 8px 12px;
    }
}
/**/

/* css for présentation */
.container_event {
    display: flex;
    flex-direction: column; /* Stack items on mobile */
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.text {
    width: 100%; /* Full width on mobile */
    padding: 15px; /* Added padding for mobile readability */
}

.title_presentation2 {
    margin-top: 20px;
    margin-bottom: 30px; /* Reduced margin for mobile */
    font-size: 60px;
    font-family: 'Times New Roman', Times, serif;
    color: #c0946c;
    text-align: center;
}

#img_event2 {
    height: auto; /* Maintain aspect ratio */
    width: 80%; /* Adjust width for mobile screens */
    max-width: 300px; /* Set a maximum width to prevent it from being too large */
    margin-bottom: 20px; /* Space below the image */
}

#img_event {
    margin-left: 30px;
    width: 450px;
}

/* Media Query for Larger Screens */
@media (min-width: 768px) {
    .container_event {
        flex-direction: row; /* Side-by-side layout for larger screens */
        justify-content: space-around;
        padding: 20px;
    }

    .text {
        width: 60%; /* Original width for larger screens */
        padding: 0;
    }

    .title_presentation {
        margin-bottom: 50px; /* Original margin for desktop */
        font-size: xxx-large; /* Original size for desktop */
    }

    #img_event2 {
        height: 500px; /* Larger image size for desktop */
        width: 300px;
        margin-bottom: 0;
    }

    #m_p {
        font-size: 1.1rem; /* Slightly larger font on desktop */
        line-height: 1.75;
    }
}


/* css for atelier */
#section-atelier {
    padding-top: 50px;
    padding-bottom: 50px;
}

.container {
    max-width: 1200px; /* Limiter la largeur maximale de la section */
    margin: 0 auto; /* Centrer le conteneur */
}

.row {
    display: flex;
    flex-wrap: wrap; /* Permet aux colonnes de se réorganiser sur les petits écrans */
}

.col-img {
    text-align: center;
    flex: 1; /* Permet aux colonnes de prendre la même taille */
    display: flex; /* Utiliser flex pour centrer l'image */
    justify-content: center; /* Centrer horizontalement */
}

.img-atelier {
    width: 100%; /* Largeur complète sur mobile */
    height: auto; /* Maintenir le ratio d'aspect */
    object-fit: cover; /* Assurer que l'image couvre l'espace sans distorsion */
    border: solid 15px #c0946c; /* Ajouter une bordure */
    border-radius: 50%; /* Arrondir les images */
    margin: 0 auto; /* Centrer l'image dans le conteneur */
}

#cookies{
    margin-bottom: 10px;
}

/* Styles spécifiques aux ordinateurs */
@media (min-width: 768px) {
    .img-atelier {
        max-width: 400px; /* Augmenter la taille maximale de l'image sur les écrans d'ordinateur */
    }
}

#h1-atelier {
    color: #c0946c;
    font-family: 'Times New Roman', Times, serif;
    font-size: 2.5em; /* Taille de police responsive */
    padding: 10px;
    text-align: center; /* Centrer le titre */
}

.title-link {
    text-align: center;
    color: #ffffff;
    background-color: #c0946c;
    text-decoration: none; /* Corriger la propriété pour enlever le soulignement */
    border-radius: 25px;
    padding: 11px;
    margin: 10px 0;
    display: inline-block; /* S'assurer que le lien est un bloc pour centrer */
}

.title-link:hover {
    color: #ffffff;
}

.text-atelier {
    margin-top: 10px;
    text-align: justify; /* Justifier le texte pour un meilleur rendu */
}

.container-atelier {
    padding: 20px;
}

/* Styles spécifiques aux petits écrans */
@media (max-width: 768px) {
    #h1-atelier {
        font-size: 2em; /* Ajuster la taille du titre sur mobile */
    }
    .img-atelier {
        max-width: 90%; /* Permettre à l'image de prendre plus d'espace sur mobile */
    }
}
/**/

/* css for Atelier et Evennement */ 
.img-even {
    width: 100%;
    height: auto; /* Assurer le bon ratio d'aspect */
}

.section-container {
    margin: 50px 0;
}

.container-title-evennement {
    display: flex;
    background-image: url("../img/pictu-even-fond.jpeg");
    background-size: cover;
    align-items: center;
    justify-content: center;
    height: 300px;
}

.title-evennement {
    color: #a36f3d;
    font-size: 80px;
    font-family: 'Times New Roman', Times, serif;
}

.container-title-link {
    padding: 5px;
    margin: 20px 0;
}

.text-start {
    padding: 5px 0;
}

.devis {
    color: #c0946c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.devis:hover {
    color: #000000;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .title-evennement {
        font-size: 36px; /* Ajuster la taille du titre pour mobile */
    }

    .section-container {
        margin: 20px 0; /* Réduire la marge sur mobile */
    }

    .img-even {
        max-width: 90%; /* Limiter la largeur de l'image sur mobile */
        margin: 0 auto; /* Centrer l'image */
    }

    .title-link {
        font-size: 24px; /* Ajuster la taille de la police pour les titres de lien sur mobile */
    }
}

@media (min-width: 768px) {
    .img-even {
        height: auto; /* Conserver le ratio d'aspect sur grand écran */
    }

    .section-container {
        margin: 50px 0; /* Marges pour écran plus grand */
    }
}

/* CSS for team building */
.main-section {
    margin: 10px 0;
}

.main-section .container .row {
    align-items: center;
}

#col-team-build {
    background-color: #e8d6c5;
    padding: 10px;
}

#col-team-build .row .container-text {
    display: flex;
    flex-direction: column; /* Change to column for mobile responsiveness */
    align-items: center; /* Center align items */
}

#col-team-build .row .container-text img {
    width: 250px;
    height: 250px; /* Fixed height for uniformity */
    object-fit: cover; /* Ensures the image covers the specified dimensions without distortion */
    border-radius: 8px; /* Optional: Adds rounded corners */
}

#col-team-build .row .container-title-link {
    text-align: center;
}

#col-team-build .row .container-text .text-start {
    padding: 5px;
    margin: 20px;
}

.title-team-building {
    font-size: 5vw; /* Responsive font size */
    font-family: 'Times New Roman', Times, serif;
    color: #c0946c;
    margin-left: 5%; /* Responsive margin */
    margin-bottom: 20px; /* Responsive margin */
}

.col-txt{
    margin: 15px;
}

/* Responsive Styles */
@media (min-width: 768px) {
    .title-team-building {
        font-size: 70px; /* Larger font size for larger screens */
        margin-left: 50px; /* Original margin for larger screens */
        text-align: left; /* Align text to the left for larger screens */
    }

    /* Columns side by side on larger screens */
    .main-section .container .row {
        flex-direction: row; /* Row layout on larger screens */
        justify-content: space-between; /* Space between columns */
    }

    #col-team-build .row {
        flex-direction: row; /* Row layout for container text on larger screens */
    }

    #col-team-build .row .container-text {
        flex-direction: row; /* Row layout for container text on larger screens */
    }

    /* Add more margin to columns */
    #col-team-build {
        margin: 0 40px; /* Increase margin to 40px for more spacing */
    }
}

@media (max-width: 767px) {
    .title-team-building {
        font-size: 10vw; /* Increase font size for mobile */
        margin: 0; /* Remove margin for better centering */
        text-align: center; /* Center the title text */
    }

    #col-team-build {
        padding: 5px; /* Reduce padding on mobile */
    }

    /* Stack the two columns vertically on small screens */
    .main-section .container .row {
        flex-direction: column; /* Stack items on mobile */
        align-items: center; /* Center align columns on mobile */
    }
}

/* css for coaching */
.title-coaching{
    font-size: 70px;
    font-family: 'Times New Roman', Times, serif;
    color: #c0946c;
    text-align: center;
}

@media (max-width: 600px) {
    .title-coaching {
        font-size: 50px; /* Ajuste cette taille selon les besoins */
    }
}

/* css for contact us */
.section-form{
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 30px;
    align-items: center;
}

.form-container{
    background: #fdefdb;
    background: linear-gradient(
        0deg,
        rgb(255, 255, 255) 0%,
        #fdefdb 100%,
    );
    border-radius: 40px;
    padding: 25px 35px;
    border: 5px solid rgb(255, 255, 255);
    box-shadow: #c0946c 0px 30px 30px -20px;
    margin: 20px;
}

.form-container form, .div-btn, .div-title-form{
    padding: 5px;
}

.div-title-form{
    text-align: center;
}

.title-form{
    font-weight: 900;
    font-size: 30px;
    color: #c0946c;
}

#div-name, .div-verification{
    display: flex;
    justify-content: space-between;
}

#div-name div, .div-verification div{
    width: 45%;
}

.input{
    width: 100%;
    background: white;
    border: none;
    padding: 15px 20px;
    border-radius: 20px;
    margin-top: 15px;
    box-shadow: #faf5ee 0px 10px 10px -5px;
    border-inline: 2px solid transparent;
}

#message{
    width: 100%;
    height: 150px;
    background: #ffffff;
    border: none;
    padding: 15px 20px;
    border-radius: 20px;
    margin-top: 15px;
    box-shadow: #faf5ee 0px 10px 10px -5px;
    border-inline: 2px solid transparent;
}

#checkbox {
    appearance: none;
    min-width: 20px;
    min-height: 20px;
    border: 2px solid #c0946c;
    border-radius: 5px;
    background-color: transparent;
    display: inline-block;
    position: relative;
    margin-right: 10px;
    cursor: pointer;
}

/* Styles par défaut */
.checkbox-label {
    margin-left: 5px;
    white-space: nowrap;
}

.checkbox {
    display: flex;
    flex-direction: row;
    align-items: center;
}

/* Override pour le format mobile */
@media (max-width: 480px) {
    .checkbox-label {
        margin-left: 0;
        white-space: normal; /* Permet au texte de revenir à la ligne */
    }

    .checkbox {
        flex-direction: column; /* Aligne les éléments verticalement sur mobile */
        align-items: flex-start; /* Aligne le label à gauche */
    }
}

#checkbox:before {
    content: "";
    background-color: #c0946c;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 10px;
    height: 10px;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

#checkbox:checked:before {
    transform: translate(-50%, -50%) scale(1);
}

.div-btn{
    text-align: center;
    margin: 20px 0;
}

.div-btn .btn {
    display: block;
    margin: 0 auto;
    transition: all 0.2s ease-in;
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: #090909;
    padding: 0.7em 1.7em;
    cursor: pointer;
    font-size: 18px;
    border-radius: 0.5em;
    background: #e8e8e8;
    border: 1px solid #e8e8e8;
    box-shadow: 6px 6px 12px #c5c5c5, -6px -6px 12px #ffffff;
}

.div-btn .btn:active {
    color: #666;
    box-shadow: inset 4px 4px 12px #c5c5c5, inset -4px -4px 12px #ffffff;
}

.div-btn .btn:before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scaleY(1) scaleX(1.25);
    top: 100%;
    width: 140%;
    height: 180%;
    background-color: #0000000d;
    border-radius: 50%;
    display: block;
    transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
    z-index: -1;
}

.div-btn .btn:after {
    content: "";
    position: absolute;
    left: 55%;
    transform: translateX(-50%) scaleY(1) scaleX(1.45);
    top: 180%;
    width: 160%;
    height: 190%;
    background-color: #c0946c;
    border-radius: 50%;
    display: block;
    transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
    z-index: -1;
}

.div-btn .btn:hover {
    color: #ffffff;
    border: 1px solid #c0946c;
}

.div-btn .btn:hover:before {
    top: -35%;
    background-color: #c0946c;
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

.div-btn .btn:hover:after {
    top: -45%;
    background-color: #c0946c;
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

#team-building, #accp{
    margin-top: 30px;
}

@media (max-width: 480px) {
    #img_event2, #team-building, #accp{
        margin-top: 50px;
    }
    
    .title_presentation {
        padding-left: 0;
    }
}


/*verif*/

.success, .error {
    text-align: center;
    font-weight: bold;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 10px;
}

.success {
    background-color: #2e7d32;
    color: #a5d6a7;
    border: 1px solid #1b5e20;
}

.error {
    background-color: #b71c1c; 
    color: #ffcdd2;
    border: 1px solid #880e4f;
}