/*
Theme Name: Chez-Tran
Theme URI: https://www.chez-tran.com/
Author: Arnaud & AI
Description: Thème sur-mesure pour le restaurant Chez-Tran.
Version: 1.0.0
Text Domain: cheztran
*/

:root {
    --primary-color: #2a4620; /* Vert foncé */
    --secondary-color: #ccde9b; /* Vert clair */
    --text-color: #333333;
    --bg-color: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

body {
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px 0;
}

.site-header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

h1, h2, h3, h4, h5, h6, .site-title a {
    font-family: var(--font-heading);
    color: var(--primary-color);
}

.site-title {
    margin: 10px 0 0 0;
}

.site-title a {
    color: white;
    text-decoration: none;
}

.main-navigation {
    margin-top: 15px;
    width: 100%;
}

.main-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.main-navigation a {
    color: white;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 1.1em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 10px 15px;
    position: relative;
    transition: color 0.3s ease;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.main-navigation a:hover::after,
.main-navigation li.current-menu-item a::after,
.main-navigation li.current_page_item a::after {
    width: 80%;
}

.main-navigation a:hover,
.main-navigation li.current-menu-item a,
.main-navigation li.current_page_item a {
    color: var(--secondary-color);
}

.site-main {
    padding: 40px 0;
    min-height: 60vh;
}

.site-footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* Styles pour La Carte */
.menu-section { margin-bottom: 40px; }
.menu-section h3 { color: var(--primary-color); border-bottom: 2px solid var(--secondary-color); padding-bottom: 10px; margin-bottom: 20px; font-family: var(--font-heading); font-size: 1.5em; }

/* En-tête des colonnes de prix */
.price-header { display: grid; grid-template-columns: 1fr 100px 100px; gap: 15px; font-size: 0.85em; font-weight: bold; text-transform: uppercase; color: var(--secondary-color); margin-bottom: 15px; border-bottom: 1px solid #eee; padding-bottom: 5px; }
.price-header span.col-title { text-align: left; }
.price-header span.col-sp { text-align: right; color: var(--primary-color); }
.price-header span.col-emp { text-align: right; color: #888; }

/* Ligne d'un plat */
.menu-item { display: grid; grid-template-columns: 1fr 100px 100px; gap: 15px; align-items: baseline; margin-bottom: 15px; }
.menu-item-info { display: flex; flex-direction: column; }
.menu-item-title { font-weight: bold; font-size: 1.1em; color: var(--text-color); }
.menu-item-desc { font-size: 0.9em; color: #666; margin-top: 4px; font-style: italic; line-height: 1.4; }

/* Prix */
.price-sp { text-align: right; color: var(--primary-color); font-weight: bold; font-size: 1.1em; }
.price-emp { text-align: right; color: #888; font-size: 0.95em; font-weight: bold; }

@media (max-width: 600px) {
    .price-header { grid-template-columns: 1fr 70px 70px; gap: 10px; font-size: 0.75em; }
    .menu-item { grid-template-columns: 1fr 70px 70px; gap: 10px; }
}
