* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    color: #333;
    background: #F8F1E9;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #D4A373;
    margin-bottom: 40px;
    text-align: center;
}

/* Header */
.header {
    position: fixed;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    z-index: 1000;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #D4A373;
    text-decoration: none;
}

.status-indicator {
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 15px;
    color: #fff;
    margin-left: 20px;
}

.status-open {
    background: #28A745;
}

.status-closing-soon {
    background: #FFC107;
}

.status-closed {
    background: #DC3545;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: color 0.3s;
}

.nav a:hover {
    color: #D4A373;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger span {
    width: 25px;
    height: 3px;
    background: #333;
}

.reserve-btn {
    margin-left: 20px;
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    padding: 40px;
    border-radius: 10px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: #D4A373;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.3s, background 0.3s;
}

.cta-button:hover {
    transform: scale(1.05);
    background: #A8B5A2;
}

/* Sections générales */
.menu-preview, .instagram, .reservations, .contact {
    padding: 80px 50px;
    text-align: center;
}

/* Menu commun */
.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    height: auto;
}

.menu-item {
    opacity: 1;
    text-align: left;
}

.menu-item h4 {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.menu-item p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.menu-item .price {
    font-weight: bold;
    color: #D4A373;
}

.menu-item img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s;
}

.menu-item img:hover {
    transform: scale(1.05);
}

.menu-preview .menu-item img {
    width: 100%;
    height: 250px; /* Hauteur fixe pour toutes les images */
    object-fit: cover; /* S'assure que l'image remplit l'espace sans déformation */
    border-radius: 10px;
    transition: transform 0.3s;
}

.menu-preview .menu-item img:hover {
    transform: scale(1.05);
}

/* Menu Preview */
.menu-preview .menu-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.menu-preview .menu-item {
    width: 350px;
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-content {
    background: #F8F1E9;
    max-width: 900px;
    width: 90%;
    height: auto;
    min-height: 50vh;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    border-radius: 10px;
    position: relative;
    transform: translateY(50px);
    transition: transform 0.5s ease;
}

.menu-overlay.active .menu-content {
    transform: translateY(0);
}

.close-menu {
    position: absolute; 
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #D4A373;
}

.menu-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #A8B5A2;
    padding-bottom: 10px;
}

.tab-link {
    background: none;
    border: none;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: #333;
    padding: 10px 20px;
    cursor: pointer;
    transition: color 0.3s, border-bottom 0.3s;
}

.tab-link:hover, .tab-link.active {
    color: #D4A373;
    border-bottom: 2px solid #D4A373;
}

.tab-link[data-tab="brunch"] {
    background: #D4A373;
    color: #F8F1E9;
    border-radius: 5px;
    padding: 10px 20px;
}

.tab-link[data-tab="brunch"].active {
    background: #F8F1E9;
    color: #D4A373;
    border: 2px solid #D4A373;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Reviews Section */
.reviews {
    padding: 80px 50px;
    text-align: center;
    background: #F8F1E9;
}

.reviews h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #D4A373;
    margin-bottom: 40px;
}

.reviews-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    height: 250px;
}

.review {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #D4A373;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 1s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review.active {
    opacity: 1;
}

.review:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.review-rating {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 16px;
    color: #D4A373;
    font-weight: bold;
}

.review-text {
    font-size: 18px;
    font-style: italic;
    color: #333;
    margin: 20px 0;
    flex-grow: 1;
}

.review-text::before {
    content: '“';
}

.review-text::after {
    content: '”';
}

.review-author {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    text-align: left;
}

.reviews-button-wrapper {
    margin-top: 30px;
    text-align: right;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.reviews-button {
    display: inline-block;
}

/* Instagram */
.instafeed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.instafeed img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s;
}

.instafeed img:hover {
    transform: scale(1.05);
}

/* Reservations */
.thefork-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.thefork-widget {
    width: 100%;
    height: 400px; /* Hauteur ajustée pour afficher tout le contenu */
    border: none;
    overflow-y: auto;
}

/* Contact */
.contact-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.contact .map {
    margin: 0 50px;
}

.contact .map iframe {
    width: 100% !important;
    max-width: none !important;
    height: 400px;
}

/* Footer */
.footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 40px;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    color: #D4A373;
    margin: 0 15px;
    text-decoration: none;
}

/* Media Queries */
@media (max-width: 768px) {
    .nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
    }

    .nav ul.active {
        display: flex;
    }

    .burger {
        display: flex;
    }

    .hero h1 {
        font-size: 32px;
    }

    .reserve-btn {
        display: none;
    }

    .menu-content {
        width: 95%;
        padding: 20px;
        min-height: 60vh;
    }

    .menu-items {
        grid-template-columns: 1fr;
    }

    .menu-tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab-link {
        width: 100%;
        text-align: center;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
    }

    .contact .map {
        margin: 0 20px;
    }

    .reviews-container {
        max-width: 100%;
        height: 300px;
    }

    .review {
        padding: 15px;
    }

    .review-text {
        font-size: 16px;
    }

    .review-author {
        font-size: 18px;
    }

    .reviews-button-wrapper {
        text-align: center;
        max-width: 100%;
    }

    .thefork-widget {
        height: 350px; /* Ajustement pour mobile */
    }

    /* Réduction de la taille de la pastille pour mobile */
    .status-indicator {
        font-size: 12px; /* Réduction de la taille de la police */
        padding: 4px 8px; /* Réduction du padding pour une pastille moins large */
        margin-left: 10px; /* Réduction de la marge pour un meilleur espacement */
    }
}

@media (max-width: 320px) {
    .thefork-widget {
        height: 400px;
    }
}