/* Importation des polices */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Montserrat:wght@400;700&display=swap');

html {
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: white;
    text-align: center;
    background-color: #426f4a;
    /* Fond général */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Great Vibes', cursive;
    font-size: 32px;
}

/* HEADER */
.header-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    background: transparent;
    /* Rendre le fond transparent */
}

.top-logo {
    width: 200px;
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.open-status {
    margin-top: 200px;
    /* Pour ordinateur */
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    background: rgba(66, 111, 74, 0.8);
    /* Fond vert transparent */
    color: #FFF;
    font-size: 14px;
    font-weight: 400;
}

.status-indicator {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #0f0;
    margin-left: 4px;
    flex-shrink: 0;
}

.status-text {
    display: flex;
    flex-direction: column;
    font-size: 8px;
    line-height: 1.2;
}

.header-phone {
    font-size: 8px;
    margin-right: 4px;
}

.header-phone a {
    color: #FFF;
    text-decoration: underline;
}

/* HERO SECTION */
.hero,
#bg1.hero,
#bg2.hero,
#bg3.hero {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    background-size: cover;
    background-position: center;
    z-index: -1;
    transform: translateY(0) scale(1.1);
    transition: transform 0.5s ease-out;
}

/* SCROLL ARROW */
.scroll-link {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    text-decoration: none;
    color: inherit;
}

.scroll-arrow {
    font-size: 28px;
    font-family: 'Great Vibes', cursive;
    font-weight: bold;
    transition: transform 1s ease;
}

.scroll-arrow::after {
    content: "⌄";
    display: block;
    font-size: 20px;
    margin-top: 3px;
}

.scroll-arrow:hover {
    transform: scale(0.9);
}

/* SOCIAL REVIEWS */
.social-reviews {
    position: absolute;
    top: 55%;
    left: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 101;
}

.rating-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    border-radius: 15px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rating-box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.rating-google {
    background-color: rgb(236, 236, 236);
    border: 1px solid rgb(250, 250, 250);
}

.rating-google .rating-text {
    color: #000000cb;
    font-weight: bold;
    font-size: 10px;
    margin-left: 10px;
}

.rating-google img {
    width: 20px;
}

.rating-tripadvisor {
    background-color: #30e1a2;
    border: 1px solid #30e1a2;
    margin-top: 20px;
}

.rating-tripadvisor .rating-text {
    color: #0b0b0b;
    font-weight: bold;
    font-size: 10px;
    margin-right: 5px;
}

.rating-tripadvisor img {
    width: 15px;
}

/* MENU */
.content-block img {
    max-width: 80%;
    border-radius: 15px;
    margin: 40px auto;
}

#menu img {
    border: 3px solid #FFD700;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* DELIVERY */
.delivery-title {
    margin: 40px auto;
    font-size: 40px;
}

.uber-logo {
    width: 150px;
    border: 3px solid black;
    border-radius: 15px;
    display: block;
    margin: 2px auto;
}

.content-block.delivery-block {
    min-height: 40vh;
    background-color: #426f4a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5px 0;
}

/* RESERVATION */
.reservation-title {
    font-size: 45px;
    margin: 30px auto;
    padding: 0 10px;
}

.phone-number {
    font-size: 25px;
    margin: 20px auto;
    font-weight: bold;
    background: rgba(66, 111, 74, 0.8);
    padding: 20px 25px;
}

.phone-number a {
    color: #fbfbfb;
    text-decoration: underline;
}

.reservation-box {
    background: rgba(66, 111, 74, 0.8);
    padding: 20px;
    border-radius: 15px;
    font-size: 16px;
    font-weight: bold;
    margin: 20px auto 30px;
    max-width: 100%;
    text-align: left;
}

.reservation-box pre {
    font-size: 14px;
    white-space: pre-wrap;
}

/* LOCATION */
.location-title {
    font-size: 40px;
    margin: 60px auto 0;
    padding: 0 10px;
    font-family: 'Great Vibes', cursive;
}

.location-container {
    background: rgba(66, 111, 74, 0.8);
    padding: 5px 10px;
    border-radius: 10px;
    display: inline-block;
    margin: 40px auto;
}

.location-container img {
    border-radius: 10px;
    margin: 10px;
}

.location-container img:first-of-type {
    width: 150px;
}

.location-container img:last-of-type {
    width: 120px;
}

/* FOOTER */
.footer {
    padding: 30px 20px;
    background: linear-gradient(135deg, #426f4a, #2e4b3d);
    color: white;
    font-size: 18px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.footer-left {
    display: flex;
    gap: 20px;
}

.footer-left .social-box img {
    width: 40px;
}

.footer-right {
    text-align: right;
}

.footer-bottom {
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 10px;
}

.footer a,
.footer-mentions {
    color: white;
    text-decoration: none;
}

.footer-login-button {
    display: inline-block;
    padding: 5px 10px;
    border: 2px solid white;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    font-family: 'Great Vibes', cursive;
    color: white;
}

.footer-login-button:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .top-logo {
        width: 110px;
    }

    .open-status {
        margin-top: 110px;
        /* Pour mobile */
        font-size: 6px;
        padding: 2px;
    }

    .status-text {
        font-size: 6px;
    }

    .reservation-title {
        font-size: 35px;
    }

    .scroll-arrow {
        font-size: 30px;
    }

    .footer {
        padding: 20px;
        background: #426f4a;
        font-size: 16px;
    }

    .footer-top {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        width: 100%;
        justify-content: center;
        gap: 20px;
    }

    .footer-left .social-box img {
        width: 35px;
    }

    .footer-right {
        margin-top: 10px;
    }

    .footer-bottom {
        text-align: center;
        padding-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        margin-top: 10px;
    }

    /* Ajuster les images de fond sur mobile */
    .hero,
    #bg1.hero,
    #bg2.hero,
    #bg3.hero {
        background-attachment: scroll !important;
        /* Désactive le parallax sur mobile */
        background-size: cover !important;
        /* Garder l'image complète et remplie */
        background-position: center center !important;
        /* Centrer l'image */
    }
}

@media (min-width: 769px) {

    .hero,
    #bg1.hero,
    #bg2.hero,
    #bg3.hero {
        height: 100vh;
    }

    .scroll-arrow {
        font-size: 50px;
    }

    .open-status {
        margin-top: 200px;
        /* Pour ordi */
        font-size: 30px;
        padding: 8px 16px;
    }

    .status-text {
        font-size: 15px;
    }

    .header-phone {
        font-size: 17px;
    }

    .top-logo {
        width: 200px;
    }

    .reservation-box {
        max-width: 800px;
        padding: 40px;
        font-size: 22px;
    }

    .reservation-title {
        font-size: 35px;
    }

    .phone-number {
        font-size: 30px;
    }

    .delivery-title {
        font-size: 35px;
    }

    .location-title {
        font-size: 35px;
    }
}

/* Écran de chargement avec fondu */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #416d49;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

#loading-screen img {
    width: 150px;
    animation: scaleAnimation 3s ease-in-out;
}

@keyframes scaleAnimation {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* Masquer le contenu principal tant que l'écran de chargement est affiché */
.hidden {
    display: none;
}