/* --- Import de polices modernes --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Montserrat:wght@400;500&display=swap');

/* --- Variables de couleur pour une gestion facile --- */
:root {
    --bg-color: #f8f8f8;
    --text-color: #2c3e50;
    --primary-color: #b9975b; /* Or/Moutarde pour l'accent */
    --primary-darker: #a28550;
    --white-color: #ffffff;
    --dark-footer-color: #202020;
}

/* --- Animation d'apparition au défilement --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Styles Généraux --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.7;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: var(--text-color);
}

h3 {
    color: var(--primary-color);
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.4em;
}

.section-wrapper {
    padding: 100px 5%;
    animation: fadeIn 1s ease-out forwards;
    animation-timeline: view();
    animation-range-start: entry;
    animation-range-end: 250px;
}

.content-section {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* --- Bandeau Fermeture & Horaires --- */
#fermeture-banner {
    background-color: #fff3cd;
    padding: 20px;
    text-align: center;
    border-bottom: 3px solid var(--primary-color);
}

#fermeture-banner h2 {
    font-size: 1.8em;
    color: var(--text-color);
    margin-bottom: 10px;
}

.horaires ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.horaires li {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid #ecf0f1;
}

/* --- Barre de Navigation - Effet Verre Dépoli --- */
header {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

nav .logo {
    font-size: 1.5em;
    color: var(--text-color);
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1em;
    padding-bottom: 5px;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease-out;
}

nav a:hover::after {
    width: 100%;
}

/* --- Section d'accueil (Hero) --- */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?q=80&w=1974');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white-color);
    height: 95vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: 4em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* --- Section Le Chef --- */
#chef .chef-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    align-items: center;
    gap: 50px;
    text-align: left;
}

#chef .chef-photo {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* --- Cartes pour Menus & Vins --- */
.card {
    background: var(--white-color);
    padding: 60px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
}

/* --- Boutons --- */
.button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(185, 151, 91, 0.4);
}

.button:hover {
    background-color: var(--primary-darker);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(185, 151, 91, 0.5);
}

/* --- Section Avis --- */
.avis-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.avis-carte {
    background: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    text-align: left;
    border-top: 4px solid var(--primary-color);
}

.avis-texte {
    font-style: italic;
    margin-bottom: 20px;
}

.avis-auteur {
    font-weight: 500;
    text-align: right;
}

.avis-etoiles {
    text-align: right;
    color: var(--primary-color);
    font-size: 1.2em;
}

/* --- Section Contact --- */
#contact .contact-content {
    display: flex;
    gap: 50px;
    margin-top: 40px;
    text-align: left;
}

#contact .contact-info, #contact .map {
    flex: 1;
}

#contact .map iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

#contact .map iframe:hover {
    filter: grayscale(0%);
}

/* --- Pied de page (Footer) --- */
footer {
    background-color: var(--dark-footer-color);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 30px 5%;
}

/* --- Responsive pour les mobiles --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5em; }
    h2 { font-size: 2em; }
    
    nav ul { display: none; }
    
    #chef .chef-content,
    #contact .contact-content {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
}
