/*
Theme Name: Lovillois
Description: Un thème WordPress blanc et minimaliste pour Lovillois
Author: Votre nom
Version: 1.0
Text Domain: lovillois
*/

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

/* Variables CSS */
:root {
    --primary-color: #ffffff;
    --secondary-color: #f8f9fa;
    --text-color: #ffffff;
    --border-color: #e9ecef;
    --accent-color: #26302A;
    --font-family-base: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-family-headings: 'Dancing Script', cursive;
}

/* Styles généraux */
body {
    font-family: var(--font-family-base);
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    padding: 0 !important;
}

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

/* Header */
.site-header {
    padding: 30px 0 20px 0;
}

/* Header fixe */
.site-header.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

/* Ajustement du contenu principal pour compenser le header fixe */
.main-content-with-fixed-header {
    padding-top: 120px; /* Ajustez selon la hauteur de votre header */
}

.site-branding {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.custom-logo {
    max-height: 150px;
    width: auto;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.site-title {
    font-family: var(--font-family-headings);
    font-size: 3.2rem;
    font-weight: 600;
    color: #333333;
    text-decoration: none;
    margin: 0;
    display: inline-block;
    letter-spacing: 0.5px;
}
.wp-block-site-logo.is-default-size img {
    max-height: 120px;
    width: auto;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.site-title a {
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-description {
    color: #888;
    font-size: 1.1rem;
    margin: 10px 0 0 0;
    font-style: italic;
}

/* Navigation */
.main-navigation {
    padding-top: 32px;
    text-align: center;
    position: relative;
}

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

.main-navigation li {
    padding: 8px;
    position: relative;
    background: none;
    border: none;
}

.main-navigation a {
    font-family: var(--font-family-base);
    color: var(--text-color);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    padding: 5px 10px;
    display: block;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-transform: none;
    letter-spacing: 0.3px;
    background: none;
    border: none;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.main-navigation a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(-50%);
}

.main-navigation a:hover::before {
    width: 80%;
}

.main-navigation a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
    background: none;
}

/* Menu Toggle (Hamburger) - Ultra moderne */
.menu-toggle {
    display: none;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.menu-toggle:hover .hamburger-line {
    background-color: var(--accent-color);
}

/* Lignes hamburger ultra modernes */
.hamburger-line {
    display: block;
    width: 22px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px auto;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    border-radius: 2px;
    transform-origin: center;
    position: relative;
}

.hamburger-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-toggle:hover .hamburger-line::before {
    opacity: 1;
}

/* Animation du hamburger vers X - Ultra fluide */
.main-navigation.toggled .hamburger-line {
    background-color: #333333;
}

.main-navigation.toggled .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.main-navigation.toggled .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.main-navigation.toggled .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(2px, -2px);
}

.main-navigation.toggled .hamburger-line::before {
    opacity: 0;
}

/* Navigation responsive - Version ultra moderne */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: relative;
        z-index: 10001;
    }
    
    .main-navigation {
        text-align: left;
    }
    
    .main-navigation ul  {
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh !important;
        padding: 80px 30px;
        margin: 0;
        gap: 30px;
        z-index: 9999;
        transition: all 0.3s ease-in-out;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
    }
    
    .main-navigation.toggled ul {
        display: flex;
        opacity: 1;
        visibility: visible;
    }
    
    .main-navigation.toggled li {
        opacity: 1;
    }
    

    
    .main-navigation a {
        font-size: 1.8rem !important;
        padding: 20px;
        color: white;
        text-decoration: none;
        font-weight: 400;
        transition: color 0.3s ease;
        display: block;
        text-align: center;
    }
    
    .main-navigation a:hover {
        color: var(--primary-color);
    }
    
    /* Overlay moderne interactive pour fermer le menu */
    .main-navigation.toggled::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        backdrop-filter: blur(8px) brightness(0.7);
        z-index: 999;
        animation: fadeInOverlay 0.4s cubic-bezier(0.19, 1, 0.22, 1);
        cursor: pointer;
    }
    
    @keyframes fadeInOverlay {
        from { 
            opacity: 0; 
            backdrop-filter: blur(0px) brightness(1);
        }
        to { 
            opacity: 1; 
            backdrop-filter: blur(8px) brightness(0.7);
        }
    }
    
    /* Animation de fermeture pour les éléments */
    .main-navigation:not(.toggled) li {
        opacity: 0;
        transform: translateX(50px) scale(0.9);
        transition-delay: 0s;
    }
    
    /* Amélioration du scroll dans le menu */
    .main-navigation ul::-webkit-scrollbar {
        width: 6px;
    }
    
    .main-navigation ul::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 3px;
    }
    
    .main-navigation ul::-webkit-scrollbar-thumb {
        background: var(--accent-color);
        border-radius: 3px;
        transition: background 0.3s ease;
    }
    
    .main-navigation ul::-webkit-scrollbar-thumb:hover {
        background: #ff6b6b;
    }
}

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

/* Pages */
.page {
    margin-bottom: 40px;
    padding: 30px;
}

.entry-title {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-color);
    display: none; /* Masquer le titre de la page */
}

.entry-content {
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin: 30px 0 15px 0;
    color: var(--text-color);
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headings);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.8rem;
    font-weight: 600;
}

h3 {
    font-size: 2.2rem;
    font-weight: 600;
}

h4 {
    font-size: 1.8rem;
    font-weight: 500;
}

h5 {
    font-size: 1.4rem;
    font-weight: 500;
}

h6 {
    font-size: 1.2rem;
    font-weight: 400;
}

/* Ajustements responsives pour la typographie */
@media (max-width: 768px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    h3 {
        font-size: 1.8rem;
    }
    
    .site-title {
        font-size: 2.5rem;
    }
    
    .site-header.fixed-header .site-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .site-title {
        font-size: 2rem;
    }
    
    .site-header.fixed-header .site-title {
        font-size: 1.5rem;
    }
}

/* Textes */
p, span, a, li, td, th {
    font-family: var(--font-family-base);
    font-weight: 400;
}

/* Éléments spéciaux avec Dancing Script */
.site-title,
.footer-logo h3,
.dancing-text {
    font-family: var(--font-family-headings);
}

/* Buttons */
.button,
.wp-block-button__link {
    display: inline-block;
    padding: 12px 24px;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.button::before,
.wp-block-button__link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.button:hover::before,
.wp-block-button__link:hover::before {
    width: 300px;
    height: 300px;
}

.button:hover,
.wp-block-button__link:hover {
    transform: translateY(-3px) scale(1.05);
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

img:hover {
    transform: scale(1.02);
    filter: brightness(1.1) contrast(1.05);
}

.page-thumbnail {
    margin: 20px 0;
    overflow: hidden;
    border-radius: 8px;
}

.page-thumbnail img {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.page-thumbnail img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Animation pour le logo */
.custom-logo, .footer-logo-img {
    max-height: 50px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.custom-logo:hover, .footer-logo-img:hover {
    transform: scale(1.05) rotate(2deg);
    filter: brightness(1.1);
}

/* Error 404 */
.error-404 .page-header {
    text-align: center;
    margin-bottom: 40px;
}

.error-404 .page-content {
    text-align: center;
}

.error-404 .widget {
    margin: 40px auto;
    max-width: 500px;
}

/* Footer */
.site-footer {
    padding: 40px 0 20px 0;
    background: #222b25;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    text-align: center;
    color: white;
}

.footer-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.footer-name h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-separator {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.footer-phone a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-phone a:hover {
    color: #4CAF50;
    transform: translateY(-1px);
}

.footer-address span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    display: inline-block;
}

.footer-social {
    display: flex;
    gap: 15px; /* Espacement entre les icônes */
    align-items: center;
}

.footer-social a,
.footer-social .footer-social-facebook {
    color: white;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.footer-social a:hover {
    color: #E4405F; /* Couleur Instagram */
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px) scale(1.1);
}

.footer-social .footer-social-facebook:hover {
    color: #1877F2; /* Couleur Facebook */
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px) scale(1.1);
}

.footer-social svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.footer-copyright {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 25px;
}

.footer-copyright p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Bouton réserver dans le footer */
.footer-reservation {
    display: flex;
    align-items: center;
}

.footer-reservation-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.footer-reservation-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left 0.6s;
}

.footer-reservation-btn:hover::before {
    left: 100%;
}

.footer-reservation-btn:hover {
    transform: translateY(-3px) scale(1.05);
}

.footer-reservation-btn .btn-icon {
    font-size: 1.1rem;
    animation: bounce 2s infinite;
}

.footer-reservation-btn:hover .btn-icon {
    animation: spin 0.6s ease-in-out;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-2px);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-info {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-separator {
        display: none;
    }
    
    .footer-name h3 {
        font-size: 1.3rem;
    }
    
    .footer-contact {
        gap: 12px;
    }
    
    .footer-phone a,
    .footer-address span {
        font-size: 0.95rem;
    }
    
    .footer-reservation-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .footer-reservation-btn .btn-icon {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 30px 0 15px 0;
        margin-top: 40px;
    }
    
    .footer-info {
        gap: 15px;
    }
    
    .footer-name h3 {
        font-size: 1.2rem;
    }
    
    .footer-phone a,
    .footer-address span {
        font-size: 0.9rem;
    }
    
    .footer-social a {
        padding: 6px;
    }
    
    .footer-social svg {
        width: 20px;
        height: 20px;
    }
    
    .footer-copyright {
        padding-top: 15px;
        margin-top: 20px;
    }
    
    .footer-copyright p {
        font-size: 0.85rem;
    }
}

/* Tableau d'horaires */
.wp-block-table.is-style-regular table,
.horaires-table {
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
    border-collapse: collapse;
    border: 2px solid white;
    background: transparent;
}

.wp-block-table.is-style-regular table.has-fixed-layout {
    table-layout: fixed;
}

.wp-block-table.is-style-regular td,
.horaires-table td {
    padding: 15px 20px;
    border: none;
    vertical-align: middle;
    background: transparent;
    color: white;
}

.wp-block-table.is-style-regular td:first-child,
.horaires-table td:first-child {
    font-weight: 600;
    text-align: left;
    color: white;
    width: 40%;
}

.wp-block-table.is-style-regular td:last-child,
.horaires-table td:last-child {
    text-align: center;
    color: white;
    width: 60%;
}

/* Style spécifique pour les horaires */
.horaires-wrapper {
    text-align: center;
    margin: 30px 0;
}

.horaires-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
    text-align: center;
}

/* Responsive pour le tableau d'horaires */
@media (max-width: 768px) {
    .wp-block-table.is-style-regular table,
    .horaires-table {
        max-width: 100%;
        font-size: 0.9rem;
    }
    
    .wp-block-table.is-style-regular td,
    .horaires-table td {
        padding: 12px 15px;
    }
}

@media (max-width: 480px) {
    .wp-block-table.is-style-regular td,
    .horaires-table td {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .site-header {
        padding: 20px 0 15px 0;
    }
    
    .site-branding {
        margin-bottom: 20px;
        padding-right: 70px; /* Espace pour le bouton hamburger */
    }
    
    .custom-logo {
        height: 120px;
    }
    
    .site-title {
        font-size: 1.8rem;
    }
    
    .site-description {
        font-size: 1rem;
    }
    
    .page {
        padding: 20px;
    }
    
    .entry-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 1.5rem;
    }
    
    .custom-logo {
        height: 100px;
    }
    
    .main-navigation ul {
        width: 100%;
    }
    
    .main-navigation a {
        font-size: 1.2rem !important;
        padding: 22px 25px;
    }
    
    .main-navigation a:hover {
        padding-left: 40px;
    }
}

/* Ajustements responsives pour le header fixe */
@media (max-width: 768px) {
    .site-header.fixed-header .main-navigation {
        margin-left: 20px;
    }
    
    .site-header.fixed-header .menu-toggle {
        position: static;
        transform: none;
        margin-left: auto;
    }
    
    .site-header.fixed-header .container {
        padding: 0 15px;
    }
}

/* Utilitaires */
.text-center {
    text-align: center;
}

.margin-bottom {
    margin-bottom: 30px;
}

.screen-reader-text {
    position: absolute !important;
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Menu avec Details/Summary */
details {
    margin: 30px 0;
    border: 2px solid white;
    border-radius: 8px;
    background: transparent;
    overflow: hidden;
}

details > table > td {
    border: none;
}

/* Cibler tous les tableaux dans details */
details table {
    border: none !important;
}

details table td {
    border: none !important;
    border-bottom: none !important;
    text-align: left;
    padding: 20px !important;
}

details table td:last-child {
    text-align: right !important;
}

summary {
    padding: 20px 25px;
    background: transparent;
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    list-style: none;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

summary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Icône d'ouverture/fermeture personnalisée */
summary::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

details[open] summary::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}

/* Supprimer la flèche par défaut */
summary::-webkit-details-marker {
    display: none;
}

/* Contenu des détails */
details .menu-content {
    padding: 25px;
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Animation d'ouverture */
details[open] .menu-content {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Styles pour les tableaux dans le menu */
details .wp-block-table.is-style-regular table,
details .horaires-table {
    border: none;
    margin: 10px 0;
    max-width: 100%;
}

details .wp-block-table.is-style-regular td,
details .horaires-table td {
    border: none;
    border-bottom: none;
    padding: 12px 0;
    background: transparent;
}

details .wp-block-table.is-style-regular td:first-child,
details .horaires-table td:first-child {
    font-weight: 500;
    width: 70%;
    text-align: left;
}

details .wp-block-table.is-style-regular td:last-child,
details .horaires-table td:last-child {
    font-weight: 400;
    text-align: right;
    width: 30%;
}

/* Responsive pour les détails du menu */
@media (max-width: 768px) {
    summary {
        padding: 18px 20px;
        font-size: 1.2rem;
    }
    
    summary::after {
        right: 20px;
        font-size: 1.3rem;
    }
    
    details .menu-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    summary {
        padding: 15px 18px;
        font-size: 1.1rem;
    }
    
    summary::after {
        right: 18px;
    }
    
    details .menu-content {
        padding: 18px;
    }
}

/* ====================================
   MENU RESTAURANT - SYSTÈME D'ONGLETS
   ==================================== */

/* Container principal */
.menu-restaurant-tabs {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navigation des onglets (en haut) */
.menu-tabs-navigation {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
}

.menu-tab-button {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    backdrop-filter: blur(5px);
}

.menu-tab-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.menu-tab-button.active {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    color: white;
    transform: translateY(-2px);
}

/* Zone de contenu du menu */
.menu-content-area {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 100px);
}

.menu-content-wrapper {
    position: relative;
    min-height: calc(100vh - 100px);
    height: 100%;
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    transition: background-image 0.3s ease;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

/* Section des plats (à gauche avec fond transparent - 30% de largeur) */
.menu-category-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    min-height: calc(100vh - 100px);
    padding: 40px 30px;
    z-index: 2;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
}

.menu-category-content:not(.active) {
    visibility: hidden;
}

.menu-category-content.active {
    visibility: visible;
}

.menu-category-content .menu-category-title,
.menu-category-content .menu-items-list {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.menu-category-content.active .menu-category-title,
.menu-category-content.active .menu-items-list {
    opacity: 1;
    transform: translateY(0);
}

.menu-category-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 15px;
}

/* Liste des éléments du menu */
.menu-items-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menu-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.menu-category-content.active .menu-item:nth-child(1) { animation-delay: 0.1s; }
.menu-category-content.active .menu-item:nth-child(2) { animation-delay: 0.2s; }
.menu-category-content.active .menu-item:nth-child(3) { animation-delay: 0.3s; }
.menu-category-content.active .menu-item:nth-child(4) { animation-delay: 0.4s; }
.menu-category-content.active .menu-item:nth-child(5) { animation-delay: 0.5s; }
.menu-category-content.active .menu-item:nth-child(6) { animation-delay: 0.6s; }
.menu-category-content.active .menu-item:nth-child(7) { animation-delay: 0.7s; }
.menu-category-content.active .menu-item:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(0) translateX(5px);
}

.menu-item-info {
    flex: 1;
    margin-right: 20px;
}

.menu-item-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin: 0 0 8px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.menu-item-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    margin: 0;
    font-style: italic;
}

.menu-item-price {
    margin-top: auto;
    margin-bottom: auto;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    padding: 8px 12px;
    border-radius: 8px;
}

/* Message quand il n'y a pas d'éléments */
.no-items {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    font-style: italic;
    margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-restaurant-tabs {
        min-height: 90vh;
    }
    
    .menu-tabs-navigation {
        padding: 15px;
        gap: 8px;
    }
    
    .menu-tab-button {
        padding: 10px 16px;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    .menu-content-area {
        min-height: calc(90vh - 80px);
    }
    
    .menu-content-wrapper {
        min-height: calc(90vh - 80px);
    }
    
    .menu-category-content {
        width: 100%;
        min-height: calc(90vh - 80px);
        padding: 25px 20px;
    }
    
    .menu-category-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .menu-item {
        padding: 18px;
        flex-direction: column;
        text-align: left;
    }
    
    .menu-item-info {
        margin-right: 0;
        margin-bottom: 15px;
        width: 100%;
    }
    
    .menu-item-price {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .menu-restaurant-tabs {
        min-height: 85vh;
    }
    
    .menu-tabs-navigation {
        padding: 10px;
        gap: 6px;
    }
    
    .menu-tab-button {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .menu-content-area {
        min-height: calc(85vh - 60px);
    }
    
    .menu-content-wrapper {
        min-height: calc(85vh - 60px);
    }
    
    .menu-category-content {
        padding: 20px 15px;
        min-height: calc(85vh - 60px);
    }
    
    .menu-category-title {
        font-size: 1.6rem;
        letter-spacing: 0.5px;
    }
    
    .menu-item {
        padding: 15px;
    }
    
    .menu-item-title {
        font-size: 1.2rem;
    }
    
    .menu-item-description {
        font-size: 0.9rem;
    }
    
    .menu-item-price {
        font-size: 1.1rem;
        padding: 6px 10px;
    }
}

/* Animation de chargement pour les images de fond */
.menu-content-wrapper {
    background-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Styles pour les barres de défilement sur Webkit */
.menu-category-content::-webkit-scrollbar {
    width: 6px;
}

.menu-category-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.menu-category-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.menu-category-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Styles spécifiques pour le header fixe */
.site-header.fixed-header .site-branding {
    margin-bottom: 0;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.site-header.fixed-header .custom-logo {
    max-height: 50px; /* Logo plus petit dans le header fixe */
}

.site-header.fixed-header .site-title {
    font-size: 1.6rem; /* Titre plus petit */
    color: var(--text-color);
    margin: 0;
    line-height: 1;
}

.site-header.fixed-header .site-title a {
    color: var(--text-color);
}

.site-header.fixed-header .main-navigation {
    position: static;
    margin-top: 0;
    flex: 1;
    display: flex;
    justify-content: flex-end;
    margin-left: 40px;
    padding-top: 0;
}

.site-header.fixed-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

/* Navigation dans le header fixe */
.site-header.fixed-header #primary-menu {
    display: flex;
    align-items: center;
    margin: 0;
    gap: 20px;
    height: 50px; /* Même hauteur que le logo */
}

.site-header.fixed-header #primary-menu li {
    margin: 0;
    display: flex;
    align-items: center;
}

.site-header.fixed-header #primary-menu a {
    color: var(--text-color);
    padding: 8px 12px;
    font-size: 0.9rem;
    background: none;
    border: none;
    line-height: 1;
    display: flex;
    align-items: center;
    height: 100%;
}

/* Menu burger dans le header fixe */
.site-header.fixed-header .menu-toggle {
    background: transparent;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    width: 40px;
    height: 40px;
}

.site-header.fixed-header .hamburger-line {
    background-color: var(--text-color);
    width: 18px;
    height: 2px;
}

/* ==============================
   ANIMATIONS GÉNÉRALES
   ============================== */

/* Animation d'apparition au scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

/* Application des animations */
.entry-content {
    animation: fadeInUp 0.8s ease-out;
}

.footer-info > div {
    animation: fadeInUp 0.6s ease-out;
}

.footer-info > div:nth-child(1) { animation-delay: 0.1s; }
.footer-info > div:nth-child(2) { animation-delay: 0.2s; }
.footer-info > div:nth-child(3) { animation-delay: 0.3s; }
.footer-info > div:nth-child(4) { animation-delay: 0.4s; }
.footer-info > div:nth-child(5) { animation-delay: 0.5s; }

/* Animation pour les cartes et blocs */
.page {
    animation: fadeInUp 0.8s ease-out;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.page:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Animation hover pour les détails du menu */
details {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

details:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

/* Animation pour les tableaux */
table {
    animation: fadeInUp 0.6s ease-out;
}

/* Effet de brillance sur les éléments importants */
@keyframes shine {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.footer-reservation-btn {
    color: rgb(10, 10, 10);
    background-color: #f8f9fa;
    background-size: 200px 100%;
    animation: shine 3s infinite;
}
