@import url('https://fonts.googleapis.com/css2?family=Reenie+Beanie&display=swap');
@import url('https://fonts.cdnfonts.com/css/baloo-bhaina');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,400;0,600;0,700;1,400&family=Reenie+Beanie&display=swap');

.nav-link, .footer-link {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    align-items: center;
    font-family: 'Baloo Bhaina', sans-serif;
}

.nav-link:hover {
    color: #DC9A7D;
}

/* Style de la barre de navigation */
/* Conteneur principal */
.navbar {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-bottom: 50px;
}

@keyframes zoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

/* Image d’arrière-plan animée */
.navbar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../pictures/header.jpg') no-repeat center center;
    background-size: cover;
    z-index: -1;
    transform: scale(1);
    animation: zoom 8s ease-out forwards;
    opacity: 0.8;
}

/* Logo fixe en haut à gauche */
.navbar-left {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
}

.logo {
    width: 150px;
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Bloc centré horizontalement + verticalement */
.navbar-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

/* Titre */
.navbar-title {
    font-family: 'Reenie Beanie', cursive;
    color: #c7856d;
    font-size: 80px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.7);
}

/* Liste de navigation */
.navbar-desktop .navbar-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

.navbar-nav .nav-item {
    background-color: rgba(12, 9, 32, 0.4);
    border-radius: 20px;
    padding: 5px 10px;
    margin: 10px;
    font-size: 20px;
    color: white;
}

/* Style général du bouton */
.navbar-toggler.custom-toggler {
    border: none;
    padding: 8px;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
}

/* Style de l'image dans le bouton */
.navbar-list {
    width: 50px;
    height: 50px;
}

/* Responsive mobile */
@media screen and (max-width: 767px) {
    .navbar {
        max-height: 80vh;
        padding-top: 150px;
    }

    .navbar-center {
        position: static;
        transform: none;
        padding: 0 20px;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: center;
    }

    .logo {
        width: 150px;
    }

    .navbar-nav .nav-item {
        background-color: rgba(12, 9, 32, 0.4);
        border-radius: 20px;
        padding: 5px 10px;
        margin: 10px;
        font-size: 16px;
        color: white;
    }

    .navbar-title {
        font-size: 30px;
        color: #c7856d;
        background-color: rgba(255, 255, 255, 0.7);
        padding: 10px 20px;
        border-radius: 15px;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
        max-width: 90%;
        margin: 0 auto 20px;
        text-align: center;
        display: inline-block;
        margin-top: 20px;
    }
}


/*Style du footer*/
.footer {
    text-align: center;
    background-color: #DC9A7D;
}

.footer-link-container {
    display: flex; 
    flex-direction: column;
    align-items: center;
    padding-top: 10px;
}

.footer-link:hover {
    color: #609A7D;
    text-decoration: none;
}

.footer-item {
    font-size: 20px;
    margin: 10px 0;
}

.notice {
    color: white;
    font-style: italic;
    font-family: 'Baloo Bhaina', sans-serif;
}

.desktop-notice {
    font-style: italic;
    display: none;
}

.mobile-notice {
    font-style: italic;
    text-align: center;
}

/* Règle de média query pour les écrans plus larges */
@media screen and (min-width: 768px) {
    .footer-link-container {
        display: flex; 
        flex-direction: row; 
        align-items: center;
        justify-content: center; 
        margin-top: 0;
    }

    .footer-item {
        margin: 40px;
    }

    .desktop-notice {
        display: block;
    }

    .mobile-notice {
        display: none;
    }
}

/* Style des boutons */
.button {
    background-color: #DC9A7D;
    padding: 5px 20px;
    border-radius: 25px;
    display: inline-block;
    border: none;
    text-align: center;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #c7856d;
}

.button-link {
    color: #ffffff;
    font-family: 'Reenie Beanie', cursive;
    font-size: 30px;
    text-decoration: none;
}

.button-link:hover {
    color: #ffffff;
    text-decoration: none;
}


/* Styles des titres */
.title {
    font-family: 'Baloo Bhaina', sans-serif;
    color: #609A7D;
    text-align: center;
    font-size: 40px;
    padding-bottom: 40px;
}

/* Style des formulaires */
.form {
    margin: 0 auto;
    background-color: #609A7D;
    padding: 30px;
    border-radius: 50px;
  }
  
  .label, .box-title {
    color: white;
    font-weight: bold;
    font-family: 'Noto Sans', sans-serif;
  }
  
  input[type="text"], textarea {
    padding: 15px;
    border: 1px solid white;
    border-radius: 50px;
  }
  
  .form-button {
    margin: auto;
    font-family: 'Reenie Beanie', cursive;
    font-size: 30px;
  }

/* Police des textes */
.text {
    font-family:Noto Sans, sans-serif;
    color: #0C0920;
}

/*Style des messages de succès/d'erreur */
.alert {
    width: 80%;
    margin: auto;
    text-align: center;
    margin-top: 1vw;
}

@media screen and (min-width: 792px) {
    .alert {
        width: 50%;
    }
}

/* Correction de style injecté par bootstrap */
.row {
    margin-right: 0 !important;
    margin-left: 0 !important;
}