/* VARIABLES ET STYLE DE BASE */
:root {
    --primary-color: #b97112; /* Rouge profond */
    --secondary-color: #ac452c; /* Jaune ambré */
    --dark-color: #212121; /* Gris foncé */
    --light-color: #F9F9F9; /* Blanc cassé */
    --text-color: #424242;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-color);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--primary-color);
}

section {
    padding: 4rem 0;
}

section:nth-child(odd) {
    background-color: var(--light-color);
}

/* HEADER & NAVIGATION */
header {
    background-color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 1.5rem;
}

nav a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 700;
    padding-bottom: 5px;
    transition: color 0.3s, border-bottom-color 0.3s;
}

nav a:hover, nav a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
}

/* SECTION PRÉSENTATION */
#presentation .subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.presentation-content {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.presentation-content .text {
    flex: 1;
}
.presentation-content .text p {
    margin-bottom: 1rem;
}
.contact-info {
    margin-top: 2rem;
    background-color: #fff;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    border-radius: 5px;
}
.contact-info h3 {
    margin-bottom: 1rem;
}

.presentation-content .map-container {
    flex: 1;
}

.map-container iframe {
    width: 100%;
    height: 350px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* SECTION HORAIRES */
#horaires table {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    border-collapse: collapse;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

#horaires th, #horaires td {
    padding: 1rem;
    border: 1px solid #ddd;
}

#horaires thead {
    background-color: var(--primary-color);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
}

#horaires tbody tr:nth-child(even) {
    background-color: #fdfdfd;
}

#horaires .closed {
    font-weight: 700;
    color: #999;
}
.info-traiteur{
    text-align:center;
    margin-top:2rem;
    font-style:italic;
    color: var(--dark-color);
}

/* SECTION MENU */
#menu h3 {
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.menu-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}
.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.12);
}

.menu-item h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.menu-item .description {
    flex-grow: 1;
    margin-bottom: 1rem;
}

.menu-item .price {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--dark-color);
    text-align: right;
}

/* FOOTER */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    text-align: center;
    padding: 2rem 0;
}

/* BOUTON RETOUR EN HAUT */
#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    text-align: center;
    line-height: 50px;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    h2 { font-size: 2rem; }
    
    header .container {
        flex-direction: column;
        gap: 0.5rem;
    }

    nav ul {
        padding-left: 0;
    }

    .presentation-content {
        flex-direction: column;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }
}

/* MEEEE */
.matoumatio {
    color: #bc56eb;
}
