/* ------------------ GLOBAL ------------------ */
@font-face {
    font-family: eva;
    src: url(../font/blazed/Blazed.ttf) format('truetype');
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    background: linear-gradient(black 43%, gray);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

/* ------------------ ANIMATIONS ------------------ */
@keyframes shadowColor {
    0% { box-shadow: 3px 3px 30px rgb(47, 255, 0); }
    25% { box-shadow: 3px 3px 60px rgb(0, 255, 255); }
    50% { box-shadow: 3px 3px 30px rgb(255, 0, 255); }
    75% { box-shadow: 3px 3px 60px rgb(255, 255, 0); }
    100% { box-shadow: 3px 3px 10px rgb(47, 255, 0); }
}

/* ------------------ HEADER ------------------ */
#nav-bar {
    width: 100vw;
    height: 180px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    background: black;
    z-index: 999;
    animation: shadowColor 3.5s infinite alternate;
}

#enseigne {
    width: 60vw;
    height: 15%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 92px;
    color: white;
    font-family: eva;
}

/* ------------------ MAIN ------------------ */
main {
    margin-top: 200px;
}

/* ----------- ONGLET (menu sous header) ----------- */
#onglet {
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6%;
    margin: 20px auto;
    position: relative;
    z-index: 1;
}

.onglet-btn {
    padding: 15px 30px;
    background: linear-gradient(145deg, #0f0f0f, #1a1a1a);
    color: cyan;
    border: 2px solid cyan;
    border-radius: 50px;
    font-size: 25px;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 0 10px cyan, 0 0 20px cyan inset;
    transition: all 0.3s ease-in-out;
    font-family: eva, sans-serif;
}

.onglet-btn:hover {
    color: black;
    background: cyan;
    box-shadow: 0 0 15px white, 0 0 30px cyan;
    transform: scale(1.05);
}

/* ------------------ SECTION  GALERIE ------------------ */

#galerie {
    padding: 80px 20px;
    background: black;
    text-align: center;
    border-top: 2px solid cyan;
    border-bottom: 2px solid cyan;
}

#galerie h2 {
    font-size: 40px;
    color: cyan;
    text-decoration: underline;
    text-shadow: 0 0 10px cyan;
    margin-bottom: 40px;
}

.voiture {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    justify-items: center;
}

.modele {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid cyan;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 0 10px cyan;
    transition: transform 0.3s ease;
}

.modele:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px cyan;
}

.modele img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.modele p {
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 0 5px cyan;
}
/* ------------------ SECTION  RESERVATION ------------------ */

#reservation {
    background: rgba(0, 0, 0, 0.8);
    padding: 60px 30px;
    color: white;
    text-align: center;
    box-shadow: 0 0 15px cyan;
    border-bottom: 2px solid cyan;
}

#reservation h2 {
    font-size: 36px;
    color: cyan;
    text-decoration: underline;
    text-shadow: 0 0 10px cyan;
    margin-bottom: 30px;
}

#form-reservation {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: bold;
    color: cyan;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid cyan;
    background: #111;
    color: white;
    font-size: 16px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 10px cyan;
}

.btn-envoyer {
    padding: 15px 30px;
    background: cyan;
    color: black;
    font-weight: bold;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: 0.3s ease;
    margin-top: 20px;
    font-size: 18px;
}

.btn-envoyer:hover {
    background: white;
    color: black;
    box-shadow: 0 0 20px cyan;
}
/* ------------------ SECTION  ESSAI ------------------ */

.essai {
    background: rgba(0, 0, 0, 0.85);
    padding: 60px 30px;
    color: white;
    text-align: center;
    box-shadow: 0 0 15px cyan;
}

.essai h2 {
    font-size: 36px;
    color: cyan;
    text-decoration: underline;
    text-shadow: 0 0 10px cyan;
    margin-bottom: 30px;
}

#form-essai {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

#form-essai .form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#form-essai label {
    margin-bottom: 8px;
    font-weight: bold;
    color: cyan;
}

#form-essai input,
#form-essai select {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid cyan;
    background: #111;
    color: white;
    font-size: 16px;
}

#form-essai input:focus,
#form-essai select:focus {
    outline: none;
    box-shadow: 0 0 10px cyan;
}

.btn-envoyer {
    padding: 15px 30px;
    background: cyan;
    color: black;
    font-weight: bold;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: 0.3s ease;
    font-size: 18px;
    margin-top: 20px;
}

.btn-envoyer:hover {
    background: white;
    color: black;
    box-shadow: 0 0 20px cyan;
}
/* ------------------ SECTION  MODALE ------------------ */

.modale {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
}

.modale-content {
    background: #0f0f0f;
    border: 2px solid cyan;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    width: 80%;
    max-width: 600px;
    color: white;
    box-shadow: 0 0 20px cyan;
    position: relative;
    animation: fadeIn 0.4s ease;
}

.modale-content img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 10px;
}

.close-fichier {
    position: absolute;
    top: 15px; right: 20px;
    color: cyan;
    font-size: 28px;
    cursor: pointer;
}

.close:hover {
    transform: scale(1.2);
    color: white;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}
/* ------------------ FOOTER ------------------ */

#footer {
    background: black;
    color: cyan;
    text-align: center;
    padding: 40px 20px;
    border-top: 2px solid cyan;
    box-shadow: 0 -3px 10px cyan;
}

#footer a {
    color: cyan;
    text-decoration: none;
    margin: 0 10px;
}

#footer a:hover {
    text-decoration: underline;
}

.footer-contenu .social img {
    height: 60px;
    margin: 10px;
    transition: transform 0.5s;
}

.footer-contenu .social img:hover {
    transform: scale(1.5);
    transform: rotate(360deg);
}