/* ==========================================================================
   L'école des Odyssées - Saison 3
   Feuille de styles globale (partagée par toutes les pages)
   ========================================================================== */

/* --- Layout principal --------------------------------------------------- */
.page2 {
    max-width: 1280px;
    margin: 0 auto;
    min-height: 100vh;
    padding-bottom: 100px;
    position: relative;
    font-family: "Hammersmith One", sans-serif;
    color: #004085;
    background:
        radial-gradient(circle at top left, #0fd596 0%, transparent 70%),
        radial-gradient(circle at bottom left, #01d7f4 0%, transparent 70%),
        radial-gradient(circle at top right, #1cd744 0%, transparent 70%),
        radial-gradient(circle at bottom right, #19d756 0%, transparent 70%);
    background-color: #0fd596;
}

.container {
    max-width: 680px;
    background: #ffffff47;
    padding:2rem;
    border-radius: 6px;
    text-align: center;
}

/* --- Typographie -------------------------------------------------------- */
.hammersmith-one-regular {
    font-family: "Hammersmith One", sans-serif;
    font-weight: 400;
    font-style: normal;
}

a {
    color: #ffd93b !important;
}

.orange {
    color: #ff8e51;
}
.bleu { color:#004085; }

h6 {
    color: rgb(187 17 126);
    margin-bottom: 0;
}

.container h6 {
    text-shadow: #ffd93b 1px 1px 1px;
}

/* --- Navbar ------------------------------------------------------------- */
.navbar {
    background-color: transparent !important;
    padding: 20px;
}

.navbar-brand img {
    height: 190px;
}

.navbar-nav {
    margin-left: 10rem;
}

.navbar-nav .nav-link {
    color: white !important;
    margin-left: 30px;
    margin-right: 30px;
    text-decoration: none;
    text-shadow: rgb(187 17 126) 1px 1px 1px;
}

#navbarNav > ul > li.nav-item a.nav-link:hover,
#navbarNav > ul > li.nav-item a.nav-link:active {
    color: #ffd93b !important;
}

#navbarNav > ul > li.nav-item.active a.nav-link:link,
#navbarNav > ul > li.nav-item.active a.nav-link:visited,
#navbarNav > ul > li.nav-item.active a.nav-link:hover,
#navbarNav > ul > li.nav-item.active a.nav-link:active {
    color: #ffd93b !important;
    text-shadow: rgb(187 17 126) 1px 1px 1px;
}

.nav-link2 {
    text-shadow: rgb(187 17 126) 1px 1px 1px;
}

.navbar-collapse {
    flex-grow: 1;
    align-items: center;
}

.navbar-toggler-icon {
    background-color: white;
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0, 0, 0, 0.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --- Logos -------------------------------------------------------------- */
.logoS2 {
    position: absolute;
    top: 20px;
}

.logoFI {
    width: 110px;
}

.bottom-logos {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
}

.bottom-logos img {
    height: 60px;
    margin-left: 30px;
}

/* --- Boutons ------------------------------------------------------------ */
.btn-yellow {
    background-color: #ffd93b;
    border-color: #ffd93b;
    min-width: 200px;
    text-align: center;
    color: #004aad !important;
    text-decoration: none;
}

.button-container {
    display: flex;
    justify-content: center;
}

/* --- Images décoratives ------------------------------------------------- */
.laure-image {
    max-width: 400px;
    width: 80%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.avion-image {
    position: absolute;
    bottom: 60px;
    left: 85px;
    max-width: 230px;
    width: 30%;
}

.camion-image {
    position: absolute;
    bottom: 128px;
    right: 3px;
    max-width: 350px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
    .navbar-brand img {
        height: 176px;
    }
    .camion-image {
        bottom: 120px;
        max-width: 300px;
    }
    .bottom-logos img {
        height: 40px;
        margin-left: 30px;
    }
}

@media (max-width: 991.98px) {
    .page2 {
        max-height: fit-content;
        min-height: 100vh;
    }
    .navbar-brand img {
        height: 90px;
    }
    .navbar-nav {
        margin-left: 0;
        text-align: center;
    }
    .navbar-nav .nav-link {
        margin: 10px 0;
        text-decoration: none;
    }
    #navbarNav {
        background: #8742DD;
        background: linear-gradient(275deg, rgba(135, 66, 221, 0.94) 40%, rgba(84, 89, 230, 1) 100%);
    }
    .btn-yellow {
        min-width: 160px;
    }
    .container {
        padding-top: 60px;
    }
    .avion-image {
        bottom: 0;
        left: 10px;
        max-width: 200px;
    }
    .camion-image {
        bottom: 10px;
        left: 10px;
        max-width: 150px;
    }
    .bottom-logos {
        bottom: 10px;
        right: 10px;
    }
    .bottom-logos img {
        height: 40px;
        margin-left: 10px;
    }
}

@media (max-width: 400px) {
    .bottom-logos img {
        height: 60px;
        margin-right: 10px;
    }
    .avion-image {
        bottom: 0;
        left: 10px;
        max-width: 100px;
    }
}
