:root {
    --gold: #d4af37;
    --dark: #1a1a1a;
    --white: #ffffff;
    --grey: #f4f4f4;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { font-family: 'Poppins', sans-serif; line-height: 1.6; color: var(--dark); scroll-behavior: smooth; }

/* Nav */
nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 5%; background: var(--dark); color: white;
    position: fixed; width: 100%; top: 0; z-index: 1000;
}
.logo { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: bold; }
.logo span { color: var(--gold); }
nav ul { display: flex; list-style: none; }
nav ul li a { color: white; text-decoration: none; margin-left: 20px; font-size: 0.9rem; transition: 0.3s; }
nav ul li a:hover { color: var(--gold); }

/* Hero */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1555244162-803834f70033?w=1600');
    background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center; text-align: center; color: white;
}
.hero h1 { font-family: 'Playfair Display', serif; font-size: 4rem; margin-bottom: 10px; }
.btn { background: var(--gold); color: white; padding: 12px 30px; text-decoration: none; border-radius: 5px; transition: 0.3s; display: inline-block; border: none; cursor: pointer; }
.btn:hover { background: #b8962d; }

/* Sections */
section { padding: 100px 5%; text-align: center; }
.section-title { font-family: 'Playfair Display', serif; font-size: 2.5rem; margin-bottom: 40px; position: relative; }
.section-title::after { content: ''; width: 60px; height: 3px; background: var(--gold); position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); }
.bg-light { background: var(--grey); }

/* Grid */
.container { max-width: 1100px; margin: auto; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card { padding: 30px; background: white; box-shadow: 0 5px 15px rgba(0,0,0,0.1); border-radius: 8px; }

/* Galerie */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.gallery-item img { width: 100%; height: 250px; object-fit: cover; border-radius: 5px; transition: 0.3s; }
.gallery-item img:hover { transform: scale(1.02); }

/* Form */
.contact-form { max-width: 600px; margin: auto; display: flex; flex-direction: column; gap: 15px; }
.contact-form input, .contact-form textarea { padding: 12px; border: 1px solid #ddd; border-radius: 5px; width: 100%; }

footer { background: var(--dark); color: white; padding: 20px; text-align: center; }

/* Mobile */
@media (max-width: 768px) {
    nav ul { display: none; }
    .hero h1 { font-size: 2.5rem; }
}
/* Styles spécifiques au Menu */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    text-align: left;
    margin-top: 40px;
}

.menu-category h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    border-bottom: 1px solid var(--gold);
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 15px;
    position: relative;
}

/* Les petits points entre le nom et le prix */
.menu-item::after {
    content: '';
    flex: 1;
    border-bottom: 1px dotted #ccc;
    margin: 0 10px;
    order: 2;
}

.item-name {
    order: 1;
    font-weight: 400;
}

.item-price {
    order: 3;
    font-weight: 600;
    color: var(--dark);
}

@media (max-width: 480px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }
}

/* Force tous les champs à utiliser la même police que le site */
input, 
textarea, 
button, 
select {
    font-family: 'Poppins', sans-serif; /* Ta police principale */
    font-size: 1rem;                  /* Pour éviter que le texte soit trop petit */
    color: var(--dark);               /* Pour la cohérence des couleurs */
}

/* Optionnel : Ajuste spécifiquement le textarea pour qu'il ne soit pas trop "brut" */
textarea {
    resize: vertical; /* Empêche l'utilisateur de casser ton design en largeur */
    line-height: 1.5;
}
/* Le fond du Popup (grisé/noir transparent) */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; /* Au-dessus de la nav */
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Fond noir à 90% d'opacité */
    cursor: pointer;
}

/* L'image à l'intérieur du Popup */
.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80vh;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    cursor: default;
    /* Animation d'ouverture */
    animation: zoom 0.3s ease-out;
}

@keyframes zoom {
    from {transform: scale(0.7); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

/* Le bouton de fermeture (X) */
.close-modal {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #f1f1f1;
    font-size: 60px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-modal:hover {
    color: var(--gold);
}

/* Légende sous l'image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    text-align: center;
    color: #ccc;
    padding: 15px 0;
    font-family: 'Playfair Display', serif;
}

/* Adaptation Mobile */
@media only screen and (max-width: 700px){
    .modal-content { width: 95%; }
    .close-modal { right: 20px; top: 10px; }
}

/* Section Carte */
.map-container {
    width: 100%;
    margin-top: 30px;
    border-radius: 15px;
    overflow: hidden; /* Pour arrondir les coins de la carte */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 3px solid var(--gold); /* Rappel de la couleur or */
}

.address-details {
    margin-top: 20px;
    font-size: 1.1rem;
}

.address-details p {
    margin: 5px 0;
}

.address-details strong {
    color: var(--gold);
}

/* On s'assure que la carte ne dépasse pas sur petit écran */
@media (max-width: 768px) {
    iframe {
        height: 300px;
    }
}

.phone-wrapper {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-wrapper a {
    display: flex;
    align-items: center;
    gap: 15px; /* Espace entre l'icône et le texte */
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--gold);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.phone-icon {
    width: 35px;
    height: 35px;
    stroke: var(--gold); /* L'icône prendra la couleur or */
}

/* Petit effet au survol */
.phone-wrapper a:hover {
    transform: scale(1.05);
    color: var(--dark);
}

.phone-wrapper a:hover .phone-icon {
    stroke: var(--dark);
    animation: shake 0.5s ease infinite;
}

/* Animation de vibration du téléphone au survol */
@keyframes shake {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(10deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(-10deg); }
    100% { transform: rotate(0deg); }
}

/* Barre des points forts sous le titre */
.menu-highlights {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
}

.menu-highlights span {
    background: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    font-weight: 600;
    color: var(--dark);
    border: 1px solid var(--gold);
}

/* Grille de menu améliorée */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.menu-category {
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.03);
    border-top: 4px solid var(--gold);
}

.menu-category h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 25px;
    text-align: center;
    color: var(--dark);
    text-transform: uppercase;
}

.menu-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #444;
}

.menu-item span:first-child {
    flex-shrink: 0;
}

/* Ligne pointillée élégante */
.dot {
    flex-grow: 1;
    border-bottom: 1px dotted #ccc;
    margin: 0 10px;
    opacity: 0.5;
}

/* Section réservation */
.menu-reservation {
    background: var(--dark);
    color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
}

.res-text { font-size: 1.4rem; font-weight: bold; color: var(--gold); margin-bottom: 10px; }
.thanks-text { font-style: italic; opacity: 0.8; margin-bottom: 20px; }

/* Section Services Améliorée */
.services-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.service-focus {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.service-focus:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-focus h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.service-focus .highlight {
    font-weight: bold;
    color: var(--dark);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* Style spécifique pour la carte dorée */
.gold-card {
    background: var(--dark);
    color: white;
    border: none;
}

.gold-card h3, .gold-card p {
    color: white;
}

.gold-card .time {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--gold);
    margin: 10px 0;
}

@media (max-width: 768px) {
    .services-wrapper {
        flex-direction: column;
        align-items: center;
    }
}
.loi25-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
    text-align: left;
}

.loi25-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    cursor: pointer;
    accent-color: var(--gold); /* La case devient dorée une fois cochée */
}

.loi25-container label {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
    cursor: pointer;
}

.loi-link {
    color: var(--gold);
    text-decoration: underline;
    cursor: help;
}
#backToTop {
    display: none; /* Caché par défaut */
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    width: 50px;
    height: 50px;
    background-color: var(--dark);
    color: white;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

#backToTop svg {
    width: 24px;
    height: 24px;
    stroke: var(--gold);
}

#backToTop:hover {
    background-color: var(--gold);
    transform: translateY(-5px);
}

#backToTop:hover svg {
    stroke: white;
}

/* Scroll fluide pour tout le site */
html {
    scroll-behavior: smooth;
}