@charset "UTF-8";

/*!
 * Color Version - 1.1.1
 * Copyright (c) 2025
*/

@import url('https://cdn.jsdelivr.net/npm/jarallax@2.0.5/dist/jarallax.css');

/* General */

.h2-title,
.h2-title * {
    font-size: 50px !important;
    font-family: var(--ff-title);
    color: var(--dark-blue);
}

/* Section Home */
#home {
    height: 100vh;
    min-height: 100vh;
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* noir semi-transparent */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

#home h1 {
    color: var(--light);
    text-shadow: 1px 1px 2px #757575;
    font-size: 85px;
}

/* Theme */
#theme {
    position: relative;
}

#theme::before {
    content: '';
    /* Nécessaire pour l'élément pseudo */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/barner-white.webp');
    background-size: cover;
    background-position: center;
    transform: scaleX(-1);
    /* Inverse l'image horizontalement */
    z-index: 1;
    /* Met l'image de fond en dessous du texte */
}

#theme .content {
    position: relative;
    z-index: 2;
}

/* End Theme */

/* Objectifs */
#objectifs h2 {
    position: relative;
}

#objectifs h2::after {
    content: '';
    position: absolute;
    left: 45%;
    bottom: -5px;
    width: 150px;
    height: 5px;
    background-color: #b2cbd7;
}

#objectifs-items .feature .content {
    font-size: 1.2rem !important;
}

#objectifs-items .feature .number {
    color: var(--red);
    font-size: 40px;
    font-weight: 700;
    text-align: start;
    font-family: var(--ff-title);
    max-width: 75px !important;
}

#objectifs-items .feature h3 {
    margin-top: .3rem !important;
    margin-bottom: .3rem !important;
    font-family: var(--ff-title);
    color: var(--dark);
}

/* End objectifs */

/* about */
#about {
    background-color: #f1f1f1;
}

.image-container {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.background-square {
    position: absolute;
    top: 60px;
    left: 0;
    width: 500px;
    height: 300px;
    background-color: transparent;
    z-index: 1;
    border: 10px solid #e5e5e5;
}

.image-overlay {
    position: absolute;
    z-index: 2;
    width: 500px;
    height: auto;
}

/* End about */

/* Conseils */
#conseils h2 {
    position: relative;
    color: var(--light);
}

#conseils h2::after {
    content: '';
    position: absolute;
    left: 40%;
    bottom: -5px;
    width: 150px;
    height: 5px;
    background-color: #ffc107;
}

#conseils h3 {
    font-size: 20px;
}

/* End Conseils */

.calendar {
    display: inline-block;
    position: relative;
    font-size: 1.3rem;
    font-weight: 500;
    padding: 0 20px;
    text-align: center;
    white-space: nowrap;
}

.calendar::before,
.calendar::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 100px;
    /* longueur du trait */
    height: 2px;
    background-color: #ffffff;
    transform: translateY(-50%);
}

.calendar::before {
    left: 0;
    transform: translate(-100%, -50%);
}

.calendar::after {
    right: 0;
    transform: translate(100%, -50%);
}

/* ========================================================================== */

.schedule {
    background-color: #435469 !important;
    color: #ffffff;
    border: solid 1px #435469;
    border-top: none;
    border-bottom-width: 10px;
    border-radius: 30px 30px 10px 10px !important;
    overflow: hidden;
}

.schedule .nav-link {
    background-color: transparent !important;
    color: var(--light) !important;
}

.schedule .nav-link.active {
    background-color: var(--light) !important;
    color: var(--dark) !important;
}


/* ============ Hotels ================================= */
#hotel h2 {
    position: relative;
}

#hotel h2::after {
    content: '';
    position: absolute;
    left: 45%;
    bottom: -5px;
    width: 150px;
    height: 5px;
    background-color: #b2cbd7;
}

/* ============ Cta ================================= */
#cta .content {
    background-image: url('../images/banniere.webp');
    background-position: top right 30%;
    background-size: cover;
    background-repeat: no-repeat;
}

#cta-artci .content {
    background-image: url('../images/barner-white.webp');
    background-position: top right 30%;
    background-size: cover;
    background-repeat: no-repeat;
}

/*  ====================================================
*   ================= RESPONSIVE DEVICE ================
*/

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {

    /* Section Home */
    #home {
        height: 50vh;
        min-height: 50vh;
    }

    #home .jarallax-img {
        object-fit: cover !important;
        object-position: 5% 50% !important;
        height: 50vh !important;
    }

    p {
        text-align: justify;
    }

    .h2-title,
    .h2-title * {
        font-size: 25px !important;
    }

    #edito img {
        width: 100% !important;
    }

    /* Objectifs */
    #objectifs h2::after {
        left: 0%;
        top: 115%;
    }

    /* About */
    .image-container {
        height: 250px;
    }

    .background-square {
        position: absolute;
        width: 100%;
        height: 100%;
        border: 0;
    }

    #conseils h2::after {
        left: 0%;
        top: 115%;
    }

    #hotel h2::after {
        left: 0%;
        top: 100%;
    }

}