/* Reset de base */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* Navbar Fixée en haut */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    background-color: white; /* Ou transparent selon ton goût */
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
}

/* Ajustement du container logo */
.nav-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.nav-logo {
    height: 50px;
    cursor: pointer;
}
/* Le conteneur du burger */
.burger-container {
    display: inline-block;
    cursor: pointer;
    position: fixed; /* Il doit être fixé par rapport à la fenêtre */
    left: 20px;      /* Aligné à gauche */
    top: 15px;       /* Centré verticalement dans ta navbar de 70px */
    z-index: 3000;   /* Score maximum pour être au-dessus du menu et de la navbar */
}

/* Les barres du menu */
.burger-menu-1, .burger-menu-2, .burger-menu-3 {
    width: 30px;
    height: 4px;
    background-color: #333; /* Noir/Gris foncé pour être visible sur le blanc */
    margin: 6px 0;
    transition: 0.4s;
    border-radius: 2px;
}

/* Modification de la couleur quand le menu est ouvert (optionnel) */
.change .burger-menu-1,
.change .burger-menu-2,
.change .burger-menu-3 {
    background-color: #800020; /* Devient Bordeaux quand on clique */
}
/* Style du menu caché (tiroir latéral) */
.nav-menu {
    position: fixed;
    left: -100%; /* Caché à gauche */
    top: 0;
    flex-direction: column;
    background-color: #fdf5e6; /* Couleur crème pour trancher avec le bordeaux */
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    transition: 0.5s;
    margin: 0;
    padding: 0;
    z-index: 1500;
}

/* Quand le menu est ouvert */
.nav-menu.active {
    left: 0;
}

.nav-menu li {
    margin: 25px 0;
}

/* Style de base des liens du menu */
.nav-menu li a {
    display: inline-block; /* Important pour que la transformation fonctionne */
    transition: all 0.3s ease-in-out; /* Animation douce de 0.3 secondes */
    color: #800020;
    text-decoration: none;
}

/* Effet au survol (Hover) */
.nav-menu li a:hover {
    transform: translateX(20px); /* Décale le texte de 20px vers la droite */
    color: #c5a059; /* Optionnel : change la couleur en doré au survol */
}

/* Optionnel : Ajouter une petite flèche ou un tiret qui apparaît */
.nav-menu li a::before {
    content: "—";
    margin-right: 10px;
    opacity: 0;
    transition: 0.3s;
}

.nav-menu li a:hover::before {
    opacity: 1;
}

.nav-menu a {
    font-size: 1.8rem;
    color: #800020; /* Rappel du Bordeaux */
    text-decoration: none;
    font-family: 'Georgia', serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-menu a:hover {
    color: #4d0013;
}

/* Section Hero (Image de viande) */
.hero-section {
    margin-top: 70px; /* Doit être égal à la hauteur de la navbar */
    height: calc(100vh - 70px); /* Prend tout l'écran moins la navbar */
    position: relative;
    overflow: hidden;
}

.wagyu-container, .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* L'image remplit l'espace sans se déformer */
}

/* Texte en Fade-in */
.fade-in-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    animation: fadeIn ease 3s; /* Animation de 3 secondes */
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translate(-50%, -45%); }
    100% { opacity: 1; transform: translate(-50%, -50%); }
}

/* Section Carte avec fond Bordeaux */
.map-section {
    padding: 60px 20px;
    text-align: center;
    /* Couleur Bordeaux (Vin) */
    background-color: #800020;
    /* On passe le texte en blanc/crème pour le contraste */
    color: #fdf5e6;
}

.map-section h2 {
    margin-bottom: 20px;
    font-family: 'Georgia', serif; /* Un style un peu plus élégant */
    text-transform: uppercase;
    letter-spacing: 2px;
}

.map-container {
    max-width: 1000px;
    margin: 0 auto;
    /* Une bordure dorée ou claire pour faire ressortir la carte du bordeaux */
    border: 3px solid #fdf5e6;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    line-height: 0; /* Évite un petit décalage sous l'iframe */
}

/* Optionnel : styliser les liens sous la carte */
.map-link {
    display: inline-block;
    margin-top: 20px;
    color: #fdf5e6;
    text-decoration: underline;
    transition: opacity 0.3s;
}

.map-link:hover {
    opacity: 0.8;
}

.main-footer {
    background-color: #4d0013; /* Bordeaux très foncé pour le contraste */
    color: #fdf5e6; /* Texte crème */
    padding: 40px 0 20px 0;
    font-family: 'Georgia', serif;
}

/* Style pour la page Menu */
.menu-container {
    padding: 100px 20px 60px; /* Espace pour la navbar fixe */
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
}

.menu-title {
    text-align: center;
    font-family: 'Georgia', serif;
    color: #800020;
    text-transform: uppercase;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.menu-subtitle {
    text-align: center;
    font-style: italic;
    color: #c5a059;
    margin-bottom: 50px;
}

.menu-category {
    margin-bottom: 40px;
}

.menu-category h2 {
    border-bottom: 2px solid #800020;
    color: #800020;
    font-family: 'Georgia', serif;
    text-transform: uppercase;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.category-info {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-family: Arial, sans-serif;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 5px;
}

.menu-item span:last-child {
    font-weight: bold;
    color: #800020;
    white-space: nowrap;
    margin-left: 10px;
}

.menu-highlight {
    background-color: #800020;
    color: #fdf5e6;
    padding: 30px;
    text-align: center;
    border-radius: 5px;
    margin-top: 50px;
}

.menu-highlight h3 {
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

/* --- Page À Propos --- */
.about-container {
    padding: 100px 20px 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.about-hero {
    text-align: center;
    margin-bottom: 50px;
}

.about-hero h1 {
    font-family: 'Georgia', serif;
    color: #800020;
    font-size: 3rem;
    margin-bottom: 10px;
}

.divider {
    width: 80px;
    height: 3px;
    background-color: #c5a059;
    margin: 0 auto;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
    flex-wrap: wrap; /* Pour le mobile */
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    color: #800020;
    font-family: 'Georgia', serif;
    margin-bottom: 20px;
}

.about-text p {
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
    text-align: justify;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 10px 10px 0px #800020; /* Effet de cadre bordeaux */
}

/* --- Style Vidéo --- */
.about-video-section {
    text-align: center;
}

.about-video-section h3 {
    font-family: 'Georgia', serif;
    color: #800020;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

/* Le calque qui recouvre la vidéo */

.video-container-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10; /* Doit être au-dessus de l'iframe */
    cursor: pointer;
    background: rgba(0,0,0,0); /* Invisible mais présent */
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.contact-page-container {
    padding: 120px 20px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Panel Info (Bordeaux) */
.contact-info-panel {
    background-color: #800020;
    color: #fdf5e6;
    padding: 60px;
}

.contact-info-panel h1 {
    font-family: 'Georgia', serif;
    margin-bottom: 40px;
    font-size: 2.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.info-item .icon {
    font-size: 1.5rem;
    margin-right: 20px;
}

.horaires-box {
    margin-top: 50px;
    border-top: 1px solid rgba(253, 245, 230, 0.2);
    padding-top: 30px;
}

.day-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.day-row.closed {
    opacity: 0.6;
    font-style: italic;
}

/* Panel Formulaire */
.reservation-form-panel {
    padding: 60px;
}

.reservation-form-panel h2 {
    color: #800020;
    font-family: 'Georgia', serif;
    margin-bottom: 10px;
}

.booking-form {
    margin-top: 30px;
}

.form-group, .form-row {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.booking-form input, .booking-form select, .booking-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
    font-size: 1rem;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #800020;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background-color: #c5a059;
}

/* Responsive mobile */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-info-panel, .reservation-form-panel {
        padding: 40px 20px;
    }
}

.plan-button-container {
    margin: 10px 0 30px 45px; /* Aligné avec le texte après l'icône */
}

.plan-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    color: #fdf5e6;
    border: 1px solid #c5a059; /* Bordure dorée */
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.plan-btn:hover {
    background-color: #c5a059;
    color: #800020; /* Texte bordeaux sur fond doré au survol */
}

body {
    background-color: #fdf5e6;
    overflow-x: hidden;
}

.game-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding-top: 80px;
}

#game-container {
    position: relative;
    border: 8px solid #800020;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    line-height: 0;
    background-color: #fdf5e6;
}

#gameCanvas {
    max-width: 100%;
    cursor: pointer;
}

#game-over-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(128, 0, 32, 0.85);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fdf5e6;
    font-family: 'Georgia', serif;
    z-index: 10;
}

#game-over-screen h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

#game-over-screen p {
    font-size: 1rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.restart-btn {
    background-color: #c5a059;
    color: #800020;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.2s, background 0.2s;
    text-transform: uppercase;
}

.restart-btn:hover {
    background-color: #fdf5e6;
    transform: scale(1.1);
}

.game-instructions {
    margin-top: 15px;
    color: #800020;
    font-family: 'Georgia', serif;
    font-weight: bold;
}

/* Styles pour la grille d'images et citations */
.about-gallery {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.about-gallery h3 {
    margin-bottom: 30px;
    font-size: 2rem;
}

.gallery-grid {
    display: grid;
    /* Crée 4 colonnes sur PC, 2 sur tablette, 1 sur mobile */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover; /* Garde les proportions de l'image */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.02);
}

.quote {
    margin-top: 15px;
    font-style: italic;
    color: #555;
    line-height: 1.4;
    font-size: 0.95rem;
    padding: 0 10px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 0 20px;
}

.footer-section {
    margin-bottom: 30px;
    min-width: 250px;
}

.footer-section h3 {
    border-bottom: 1px solid #c5a059;
    display: inline-block;
    margin-bottom: 15px;
    padding-bottom: 5px;
    text-transform: uppercase;
    font-size: 1.1rem;
}

.footer-section p {
    margin: 8px 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.social-links a {
    color: #c5a059;
    text-decoration: none;
    margin-right: 15px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(253, 245, 230, 0.1);
    margin-top: 20px;
    padding-top: 20px;
    font-size: 0.8rem;
    opacity: 0.6;
}