/* Importation des polices */
@font-face {
    font-family: 'Garet'; 
    src: url('fonts/garet/Garet-Book.woff2') format('woff2'),
         url('fonts/garet/Garet-Book.woff') format('woff'),
         url('fonts/garet/Garet-Heavy.ttf') format('truetype');
}

@font-face {
    font-family: 'Montserrat'; 
    src: url('fonts/Montserrat/Montserrat-VariableFont_wght.ttf') format('truetype');
}

/* Réinitialisation et styles globaux */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Garet', Arial, sans-serif;
}

/* Style global du body */
body {
    font-family: 'Garet', Arial, sans-serif;
    background: url('img/bar.jpg') no-repeat center center/cover;
    height: 100vh;
    overflow: hidden;
}

/* Titre principal */
h1 {
    text-align: center;
    font-size: 55px;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

/* Wrapper principal */
.wrapper {
    width: 95%;
    max-height: calc(100vh - 120px);
    padding: 40px 20px;
    margin: 0 auto;
    background-color: rgba(6, 62, 55, 0.8);
    border-radius: 15px; /* Coins légèrement plus arrondis */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow-y: auto;
}

/* Conteneur des inputs */
.wrapper .container-input {
    width: 100%;
}

/* Conteneur des contacts */
.wrapper .container-contact {
    width: 100%;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* Champs input et textarea */
.wrapper .input-box {
    width: 100%;
    padding: 20px 10px;
    margin-bottom: 20px;
    border-radius: 12px; /* Coins arrondis pour les champs */
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

.wrapper .input-box input, 
.wrapper .input-box textarea {
    width: 100%;
    padding: 10px 0;
    border: none;
    background: transparent;
    outline: none;
}

/* Boutons de contact */
.wrapper .container-contact button {
    width: 200px;
    height: 45px;
    border-radius: 25px;
    border: none;
    font-family: 'Garet', Arial, sans-serif;
    font-size: 12pt;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wrapper .container-contact button:hover {
    background-color: #fd6c51;
    color: #fff;
}

/* Barre de navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: space-between; /* Aligne les éléments aux extrémités */
    padding: 8px 20px;
}

.bottom-nav .contact-number {
    color: white;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    padding: 6px 10px;
}

.bottom-nav nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.bottom-nav nav ul li a {
    color: white;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.2rem;
    text-decoration: none;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: #fd6c51;
    text-align: center;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.bottom-nav nav ul li a:hover {
    background-color: #ff825e;
    color: white;
    transform: scale(1.05);
}

/* Responsive pour tablettes */
@media (max-width: 1024px) {
    .wrapper {
        max-height: calc(100vh - 100px);
        padding: 30px 15px;
        border-radius: 15px; /* Coins arrondis ajustés */
    }

    .bottom-nav nav ul {
        gap: 15px;
    }
}

/* Responsive pour mobiles */
@media (max-width: 768px) {
    h1 {
        font-size: 45px;
    }

    .wrapper {
        max-height: calc(100vh - 80px);
        padding: 20px 10px;
        border-radius: 15px;
    }

    .bottom-nav nav ul {
        justify-content: flex-start;
        gap: 8px;
    }

    .bottom-nav nav ul li a {
        font-size: 1rem;
        padding: 8px 15px;
    }
}

/* Responsive pour très petits écrans */
@media (max-width: 480px) {
    h1 {
        font-size: 40px;
    }

    .wrapper {
        max-height: calc(100vh - 60px);
        padding: 15px 10px;
        margin: 10px auto;
        border-radius: 15px;
    }

    .bottom-nav nav ul {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 5px;
    }

    .bottom-nav nav ul li a {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
}

/* Vue bureau */
@media (min-width: 1440px) {
    h1 {
        font-size: 70px;
    }

    .wrapper {
        width: 1200px;
        max-height: calc(100vh - 120px);
        padding: 80px 20px;
        border-radius: 15px;
    }

    .bottom-nav {
        padding: 10px 20px;
    }

    .bottom-nav nav ul {
        justify-content: center;
        gap: 25px;
    }

    .bottom-nav nav ul li a {
        font-size: 1.2rem;
    }
}
