/**
 * Styles principaux du thème Le Margo
 */

/* Variables du thème */
:root {
    --color-primary: #333333;
    --color-secondary: #b5a692; /* Beige chaleureux */
    --color-beige-light: #f5f1ea; /* Beige très clair pour fond */
    --color-beige-dark: #d8cfc0; /* Beige plus foncé pour contraste */
    --color-accent: #f9f7f4;
    --color-white: #ffffff;
    --color-dark: #333333;
    --color-gray: #777777;
    --font-primary: 'Poppins', sans-serif;
    --spacing-sm: 10px;
    --spacing-md: 20px;
    --spacing-lg: 40px;
    --spacing-xl: 80px;
    --border-radius: 0;
}

/* Importation de la police Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Réinitialisation et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, 
input, 
button, 
textarea, 
select {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--color-white);
    font-weight: 300;
    font-size: 16px;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-secondary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
    color: var(--color-primary);
}

h1 {
    font-size: 2.4rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.6rem;
}

p {
    margin-bottom: var(--spacing-md);
}

img {
    max-width: 100%;
    height: auto;
}

/* Conteneurs */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Entête */
.site-header {
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-branding img {
    max-height: 60px;
    width: auto;
}

.site-title {
    font-size: 1.8rem;
    margin: 0;
}

.site-description {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

/* Navigation */
.main-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    position: relative;
    margin-left: 25px;
}

.main-navigation a {
    color: #333;
    font-weight: 500;
    font-size: 1rem;
}

.main-navigation a:hover {
    color: #ffffff;
}

/* Navigation - styles complémentaires */
.main-navigation a.current-menu-item {
    color: var(--color-secondary);
}

.main-navigation a.current-menu-item:after {
    width: 100%;
}

/* Boutons */
.btn {
    display: inline-block;
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 12px 28px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 1px solid var(--color-secondary);
    cursor: pointer;
    border-radius: 0;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background-color: transparent;
    color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: all 0.4s ease;
}

.btn:hover:before {
    left: 100%;
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-secondary);
    border: 1px solid var(--color-secondary);
}

.btn-secondary:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

/* Bouton Réserver spécifique dans le header */
.btn-reserver {
    display: inline-block;
    background-color: #d66666; /* Couleur rouge-corail plus attrayante */
    color: var(--color-white);
    padding: 8px 20px;
    margin-left: 30px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.83rem;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    border: 1px solid #d66666;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.btn-reserver:hover {
    background-color: #c85555;
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.btn-reserver:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: all 0.4s ease;
}

.btn-reserver:hover:before {
    left: 100%;
}

/* Sections */
.section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-tag {
    display: block;
    color: var(--color-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

/* Section Hero */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 150px 0;
    color: var(--color-white);
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-white);
    font-weight: 500;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.hero .subtitle {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: var(--spacing-sm);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* Section À Propos */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
}

.about-image-grid {
    flex: 1;
    min-width: 300px;
}

/* Section Menu */
.menu-section {
    background-color: var(--color-beige-light);
}

.menu-content {
    margin-top: var(--spacing-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
}

.menu-description {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cooking-animation {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    height: 250px;
    overflow: visible;
}

.todays-menu {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background: var(--color-white); 
    padding: var(--spacing-lg); 
    border-radius: var(--border-radius); 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
    position: relative;
}

.todays-menu h3 {
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

.menu-actions {
    margin-top: var(--spacing-md);
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Styles spécifiques pour la boîte d'information du menu et ses éléments */
.menu-info-box {
    background-color: var(--color-white);
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
    max-width: 600px;
    margin: 30px auto;
}

.menu-info-box h3 {
    margin-bottom: var(--spacing-md);
    font-size: 1.8rem;
    color: var(--color-primary);
    font-weight: 600;
}

.menu-cta-buttons {
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.menu-cta-buttons .no-menu {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    /* La couleur et le style italique sont hérités de la classe .no-menu globale */
}

.no-daily-menu-message p {
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
    color: var(--color-gray);
}

.no-daily-menu-message p em {
    font-style: italic;
}

.btn-menu-main-cta {
    min-width: 280px;
    padding: 12px 25px;
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: bold; /* Généralement 700 */
}

.btn-menu-download {
    min-width: 260px;
    padding: 10px 20px;
}

/* Section Témoignages */
.testimonials-section {
    padding: var(--spacing-xl) 0;
    background: #f8f9fa;
}

.testimonials-swiper {
    padding: 20px 0 40px 0;
    overflow: visible;
}

.testimonials-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.testimonials-swiper .testimonial-card {
    height: 100%;
    margin-bottom: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.testimonials-swiper .testimonial-content {
    flex: 1;
}

/* Navigation du carrousel */
.testimonials-swiper .swiper-button-next,
.testimonials-swiper .swiper-button-prev {
    width: 44px;
    height: 44px;
    margin-top: -22px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.testimonials-swiper .swiper-button-next:hover,
.testimonials-swiper .swiper-button-prev:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.testimonials-swiper .swiper-button-next::after,
.testimonials-swiper .swiper-button-prev::after {
    font-size: 16px;
    font-weight: bold;
}

.testimonials-swiper .swiper-button-next {
    right: 10px;
}

.testimonials-swiper .swiper-button-prev {
    left: 10px;
}

/* Pagination */
.testimonials-swiper .swiper-pagination {
    bottom: 0;
    position: relative;
    margin-top: 30px;
}

.testimonials-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ddd;
    opacity: 1;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.testimonials-swiper .swiper-pagination-bullet-active {
    background: var(--color-primary);
    transform: scale(1.2);
}

/* Animation d'entrée pour les témoignages */
@keyframes testimonialFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-card {
    animation: testimonialFadeIn 0.6s ease-out;
}

/* Styles spécifiques pour les témoignages en vedette */
.featured-review .testimonial-card {
    position: relative;
    overflow: visible;
}

.featured-review .testimonial-card::after {
    content: '★';
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ffb900;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(255, 185, 0, 0.4);
    z-index: 1;
}

/* États hover améliorés */
.testimonial-card:hover .source-badge {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.testimonial-card:hover .stars {
    transform: scale(1.05);
}

/* Responsive pour les témoignages */
@media (max-width: 1024px) {
    .testimonials-swiper .swiper-button-next,
    .testimonials-swiper .swiper-button-prev {
        display: none;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: var(--spacing-lg) 0;
    }
    
    .featured-review .testimonial-card::after {
        top: -6px;
        right: -6px;
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
}

/* Amélioration des logos des sources */
.source-badge .source-logo {
    filter: grayscale(0.2);
    transition: filter 0.2s ease;
}

.testimonial-card:hover .source-badge .source-logo {
    filter: grayscale(0);
}

/* Styles pour les badges vérifiés et en vedette */
.verified-badge,
.featured-badge {
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Amélioration de la lisibilité */
.testimonial-content blockquote p:last-child {
    margin-bottom: 0;
}

.testimonial-content blockquote p:first-child {
    margin-top: 0;
}

/* Styles pour les liens vers les avis originaux */
.view-original-link {
    position: relative;
}

.view-original-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
}

.view-original-link:hover::before {
    width: 100%;
}

/* Section Infos */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.info-card {
    text-align: center;
    padding: var(--spacing-md);
    background-color: var(--color-beige-light);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.info-icon {
    font-size: 30px;
    margin-bottom: var(--spacing-sm);
}

.info-card h3 {
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}

/* Section Réservation */
.reservation-section {
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: var(--spacing-xl) 0;
}

.reservation-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.reservation-content h2 {
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    font-size: 2.4rem;
}

.reservation-buttons {
    margin-top: var(--spacing-lg);
}

.reservation-buttons .btn {
    background: var(--color-white);
    color: var(--color-secondary);
    border-color: var(--color-white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.reservation-buttons .btn:hover {
    background: transparent;
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* Footer */
.site-footer {
    background-color: var(--color-beige-light);
    color: var(--color-primary);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    border-top: 1px solid var(--color-beige-dark);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    margin-bottom: var(--spacing-md);
}

.footer-info p {
    margin-bottom: var(--spacing-sm);
}

.footer-nav h3, .footer-newsletter h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
}

.footer-nav li {
    margin-bottom: var(--spacing-sm);
}

.newsletter-form {
    display: flex;
    margin-bottom: var(--spacing-md);
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--color-beige-dark);
    border-right: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    outline: none;
}

.newsletter-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.footer-social {
    margin-top: var(--spacing-md);
}

.footer-social a {
    display: inline-block;
    margin-right: var(--spacing-md);
    font-size: 1.5rem;
    color: var(--color-primary);
}

.footer-social a:hover {
    color: var(--color-secondary);
}

.footer-bottom {
    border-top: 1px solid var(--color-beige-dark);
    padding-top: var(--spacing-md);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    margin-left: var(--spacing-md);
    font-size: 0.9rem;
}

/* Archive des menus */
.page-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    padding-top: var(--spacing-lg);
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.daily-menus-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.daily-menu-item {
    background-color: var(--color-white);
    border: 1px solid var(--color-beige-dark);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
}

.daily-menu-title {
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

.daily-menu-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Responsive */
@media (max-width: 992px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .daily-menus-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .btn {
        padding: 10px 22px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: var(--spacing-lg) 0;
    }
    
    .hero {
        padding: 100px 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .hero-buttons, .menu-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-buttons .btn, .menu-actions .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .daily-menus-container {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links a {
        margin: 0 var(--spacing-sm);
    }
    
    .btn, .btn-reserver {
        font-size: 0.8rem;
        padding: 10px 20px;
    }
    
    .btn-reserver {
        background-color: #d66666;
        color: var(--color-white);
        padding: 8px 16px;
        font-size: 0.75rem;
        font-weight: 600;
    }
    
    .btn-reserver:hover {
        background-color: #c85555;
        color: var(--color-white);
    }
}

/* Styles pour l'optimisation SEO */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Ajustements pour l'accessibilité */
:focus {
    outline: 3px solid rgba(231, 76, 60, 0.5);
}

/* Animation pour les transitions d'image */
.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page menu individuel */
.menu-pdf-viewer {
    margin-bottom: var(--spacing-lg);
    border: 1px solid var(--color-beige-dark);
    overflow: hidden;
}

.mobile-pdf-notice {
    padding: var(--spacing-lg);
    background-color: var(--color-beige-light);
    text-align: center;
}

.mobile-pdf-notice p {
    margin-bottom: var(--spacing-md);
}

.menu-download-section {
    margin: var(--spacing-lg) 0;
    text-align: center;
    padding: var(--spacing-lg);
    background-color: var(--color-beige-light);
}

.entry-footer {
    margin: var(--spacing-lg) 0;
    text-align: center;
}

.no-menu-notice {
    padding: var(--spacing-xl);
    text-align: center;
    background-color: var(--color-beige-light);
    margin: var(--spacing-lg) 0;
}

.no-menu, .no-menus p {
    font-style: italic;
    color: var(--color-gray);
    text-align: center;
}

/* Styles Dashicons */
.dashicons {
    vertical-align: middle;
    width: 24px;
    height: 24px;
    font-size: 24px;
}

/* Menu mobile */
@media (max-width: 768px) {
    .site-branding {
        position: relative;
    }
    
    .mobile-menu-toggle {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 100;
    }
}

/* Animation de la poêle avec des aliments */
.cooking-animation {
    position: relative;
    height: 250px;
    margin: 40px auto;
    max-width: 500px;
    overflow: visible;
}

.pan-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 800px;
}

.pan {
    position: relative;
    width: 200px;
    height: 200px;
    transform-style: preserve-3d;
    animation: panShake 5s ease-in-out infinite;
}

@keyframes panShake {
    0%, 100% {
        transform: translateX(-5px) rotate(-2deg);
    }
    25% {
        transform: translateX(5px) rotate(0deg);
    }
    50% {
        transform: translateX(-3px) rotate(2deg);
    }
    75% {
        transform: translateX(3px) rotate(0deg);
    }
}

.pan-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 40px;
    border-radius: 50%;
    background: #555;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.pan-handle {
    position: absolute;
    top: 50%;
    right: -80px;
    width: 100px;
    height: 25px;
    background: #444;
    transform: translateY(-50%);
    border-radius: 15px;
}

.cooking-elements {
    position: absolute;
    width: 180px;
    height: 180px;
    bottom: 20px;
    left: 10px;
    border-radius: 50%;
    background-color: #eee;
    overflow: hidden;
}

.food-item {
    position: absolute;
    font-size: 30px;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.tomato {
    top: 30%;
    left: 20%;
    animation-name: tomatoMove;
}

.mushroom {
    top: 50%;
    left: 30%;
    animation-name: mushroomMove;
}

.carrot {
    bottom: 30%;
    right: 20%;
    animation-name: carrotMove;
    animation-delay: 0.5s;
}

.broccoli {
    top: 20%;
    right: 30%;
    animation-name: broccoliMove;
    animation-delay: 0.7s;
}

.pepper {
    bottom: 20%;
    left: 50%;
    animation-name: pepperMove;
    animation-delay: 0.2s;
}

.garlic {
    top: 40%;
    right: 15%;
    animation-name: garlicMove;
    animation-delay: 0.3s;
}

@keyframes tomatoMove {
    0% { transform: translate(0, 0); }
    25% { transform: translate(15px, 15px) rotate(30deg); }
    50% { transform: translate(0, 30px) rotate(60deg); }
    75% { transform: translate(-15px, 15px) rotate(30deg); }
    100% { transform: translate(0, 0); }
}

@keyframes mushroomMove {
    0% { transform: translate(0, 0); }
    30% { transform: translate(-20px, 10px) rotate(-20deg); }
    60% { transform: translate(10px, -15px) rotate(20deg); }
    100% { transform: translate(0, 0); }
}

@keyframes carrotMove {
    0% { transform: translate(0, 0); }
    40% { transform: translate(-15px, -15px) rotate(-40deg); }
    80% { transform: translate(15px, -5px) rotate(20deg); }
    100% { transform: translate(0, 0); }
}

@keyframes broccoliMove {
    0% { transform: translate(0, 0); }
    33% { transform: translate(-10px, 20px) rotate(10deg); }
    66% { transform: translate(20px, 10px) rotate(-20deg); }
    100% { transform: translate(0, 0); }
}

@keyframes pepperMove {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(25px, -15px) rotate(180deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

@keyframes garlicMove {
    0% { transform: translate(0, 0); }
    25% { transform: translate(15px, 10px) rotate(45deg); }
    75% { transform: translate(-10px, -15px) rotate(-45deg); }
    100% { transform: translate(0, 0); }
}

.steam {
    position: absolute;
    color: #999;
    font-size: 24px;
    font-weight: bold;
    opacity: 0;
    animation: steamRise 3s infinite;
}

.steam-1 {
    left: 30%;
    bottom: 70%;
    animation-delay: 0.5s;
}

.steam-2 {
    left: 50%;
    bottom: 75%;
    animation-delay: 1s;
}

.steam-3 {
    left: 70%;
    bottom: 72%;
    animation-delay: 1.5s;
}

@keyframes steamRise {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    30% {
        opacity: 0.6;
    }
    70% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-50px);
        opacity: 0;
    }
}

/* Section Équipe */
.team-section {
    background-color: var(--color-beige-light);
    padding: var(--spacing-xl) 0;
}

.founders-presentation {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
    text-align: center;
}

.founders-image {
    width: 100%;
    max-width: 600px;
    margin-bottom: var(--spacing-md);
}

.founders-image img {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    object-fit: cover;
    object-position: bottom;
}

.founders-info {
    max-width: 800px;
}

.founders-names h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    font-weight: 500;
    line-height: 1.4;
}

.founders-separator {
    color: var(--color-secondary);
    font-style: italic;
    padding: 0 10px;
}

.founders-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-gray);
    margin-bottom: var(--spacing-md);
}

.restaurant-name-origin {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-secondary);
    font-style: italic;
    margin-top: var(--spacing-md);
}

@media (max-width: 768px) {
    .founders-names h3 {
        font-size: 1.6rem;
    }

    .founders-description,
    .restaurant-name-origin {
        font-size: 1rem;
    }
}

/* ===============================================
   STYLES POUR LA PAGE EYMET INTERACTIVE
   =============================================== */

/* Hero Section Eymet avec Parallax */
.eymet-hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: 1;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.parallax-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content-eymet {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
}

.eymet-title-animation {
    opacity: 0;
    animation: fadeInUp 1.5s ease 0.5s forwards;
}

.eymet-year {
    display: block;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

.eymet-main-title {
    font-size: 4rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    line-height: 1.1;
}

.eymet-main-title .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
    animation: slideInWord 0.8s ease forwards;
}

.eymet-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes slideInWord {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    cursor: pointer;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border: 2px solid white;
    border-left: none;
    border-top: none;
    transform: rotate(45deg);
    animation: bounceArrow 2s infinite;
    margin-bottom: 10px;
}

@keyframes bounceArrow {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(-10px) rotate(45deg);
    }
    60% {
        transform: translateY(-5px) rotate(45deg);
    }
}

/* Timeline Interactive */
.eymet-timeline-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.interactive-timeline {
    position: relative;
    margin: var(--spacing-lg) 0;
}

.timeline-container {
    position: relative;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-secondary), var(--color-primary));
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-point {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeInTimeline 0.8s ease forwards;
}

.timeline-point:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-point:nth-child(1) { animation-delay: 0.2s; }
.timeline-point:nth-child(2) { animation-delay: 0.4s; }
.timeline-point:nth-child(3) { animation-delay: 0.6s; }
.timeline-point:nth-child(4) { animation-delay: 0.8s; }

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: var(--color-white);
    border: 4px solid var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 2;
}

.timeline-year {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary);
}

.timeline-content {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    max-width: 400px;
    margin: 0 2rem;
    transition: all 0.3s ease;
}

.timeline-point:nth-child(odd) .timeline-content {
    margin-right: auto;
    margin-left: calc(50% + 3rem);
}

.timeline-point:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: calc(50% + 3rem);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

@keyframes fadeInTimeline {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Carte Interactive */
.interactive-map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.eymet-map-illustration {
    position: relative;
    background: var(--color-white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.eymet-map-illustration img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.map-point {
    position: absolute;
    cursor: pointer;
    z-index: 10;
}

.point-marker {
    width: 50px;
    height: 50px;
    background: var(--color-white);
    border: 3px solid var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.point-marker.special-point {
    background: var(--color-secondary);
    border-color: var(--color-primary);
    animation: specialPulse 2s infinite;
}

.point-icon {
    font-size: 1.5rem;
}

.map-point:hover .point-marker {
    transform: scale(1.2);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    animation: none;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(181, 166, 146, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(181, 166, 146, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(181, 166, 146, 0);
    }
}

@keyframes specialPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(214, 102, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(214, 102, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(214, 102, 102, 0);
    }
}

.attraction-info-panel {
    background: var(--color-white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.info-content {
    text-align: center;
}

.info-title {
    margin-bottom: 1rem;
    color: var(--color-primary);
}

/* Viewer 360° */
.panorama-viewer {
    background: var(--color-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.panorama-container {
    position: relative;
    height: 400px;
    background: #000;
}

.panorama-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    cursor: grab;
}

.panorama-image:active {
    cursor: grabbing;
}

.panorama-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.control-btn {
    background: rgba(255,255,255,0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: var(--color-secondary);
    color: white;
    transform: scale(1.1);
}

/* Galerie Filtrable */
.masonry-gallery {
    margin-top: 2rem;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--color-secondary);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1);
}

.gallery-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}


.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(181,166,146,0.9), rgba(51,51,51,0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay h4 {
    color: white;
    font-size: 1.2rem;
    text-align: center;
    margin: 0;
}

/* Section Le Margo dans Eymet */
.margo-location-showcase {
    margin-top: 2rem;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.location-highlights {
    margin: 2rem 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--color-beige-light);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.highlight-icon {
    font-size: 2rem;
    margin-right: 1rem;
}

.location-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.interactive-location-map {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.location-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.pin-marker {
    width: 20px;
    height: 20px;
    background: red;
    border-radius: 50%;
    margin: 0 auto 5px;
    animation: pinPulse 2s infinite;
}

.pin-label {
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

@keyframes pinPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 1);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

/* Calendrier d'événements */
.events-calendar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.event-card {
    background: var(--color-white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-left: 4px solid var(--color-secondary);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.event-date {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.event-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
}

.event-date .time {
    font-size: 0.9rem;
    color: var(--color-gray);
}

.event-content h3 {
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .interactive-map-container {
        grid-template-columns: 1fr;
    }
    
    .location-content {
        grid-template-columns: 1fr;
    }
    
    .timeline-point:nth-child(odd) .timeline-content,
    .timeline-point:nth-child(even) .timeline-content {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .eymet-main-title {
        font-size: 2.5rem;
    }
    
    .eymet-hero-section {
        height: 70vh;
        min-height: 500px;
    }
    
    .timeline-line {
        left: 2rem;
    }
    
    .timeline-marker {
        left: 2rem;
        width: 60px;
        height: 60px;
    }
    
    .timeline-content {
        margin-left: 5rem;
        margin-right: 1rem;
    }
    
    .gallery-filter {
        flex-wrap: wrap;
    }
    
    .location-cta {
        flex-direction: column;
    }
    
    .events-calendar {
        grid-template-columns: 1fr;
    }
}

/* Animations d'entrée générales */
.eymet-page .section {
    opacity: 0;
    animation: fadeInSection 0.8s ease forwards;
}

.eymet-page .section:nth-child(1) { animation-delay: 0.1s; }
.eymet-page .section:nth-child(2) { animation-delay: 0.2s; }
.eymet-page .section:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInSection {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* JavaScript loading states */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
} 