/* Reset et variables CSS */
:root {
    /* Palette inspirée du menu PDF - Tons chauds et authentiques */
    --primary-color: #2C5F41;      /* Vert foncé élégant */
    --secondary-color: #8B0000;    /* Rouge bordeaux profond */
    --accent-color: #DAA520;       /* Or/moutarde raffiné */
    --tertiary-color: #4A4A4A;     /* Gris anthracite */
    
    /* Variations de couleurs */
    --primary-light: #3D7B56;      /* Vert plus clair */
    --secondary-light: #A52A2A;    /* Rouge plus clair */
    --accent-light: #F4D03F;       /* Or plus lumineux */
    
    /* Textes */
    --text-dark: #1C1C1C;          /* Noir profond */
    --text-light: #4A4A4A;         /* Gris moyen */
    --text-muted: #737373;         /* Gris clair */
    
    /* Arrière-plans */
    --background-light: #FAF8F3;   /* Crème très clair */
    --background-white: #FFFFFF;   /* Blanc pur */
    --background-dark: #F5F3ED;    /* Beige très clair */
    
    /* Bordures et ombres */
    --border-color: #E8E6E0;       /* Beige clair */
    --shadow: rgba(44, 95, 65, 0.1); /* Ombre verte douce */
    --shadow-dark: rgba(0, 0, 0, 0.15); /* Ombre plus prononcée */
    
    --transition: all 0.3s ease;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Open Sans', sans-serif;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-white);
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1rem;
    font-weight: 400;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Lien englobant le logo (normalisation après refactor) */
.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}
.logo-link:link, .logo-link:visited { text-decoration: none; }
.logo-link:hover .logo-text { color: #B8860B; }
.logo-link:focus { outline: none; }
.logo-link:focus-visible { outline: 2px solid var(--accent-color); outline-offset: 4px; border-radius: 6px; }

.logo-icon {
    font-size: 2.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #DAA520, var(--secondary-color));
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
    transition: var(--transition);
}

.logo-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #DAA520;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: #DAA520;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #DAA520;
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.menu-button-container {
    margin: 0 1rem;
}

.menu-btn {
    background: #1C4F8F;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(28, 79, 143, 0.35);
}

.menu-btn:hover {
    background: #0E4377;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 67, 119, 0.45);
}

.menu-btn.secondary {
    background: transparent;
    color: #1C4F8F;
    border: 2px solid #1C4F8F;
    box-shadow: none;
}

.menu-btn.secondary:hover {
    background: #1C4F8F;
    color: white;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 15px;
    width: 95%;
    max-width: 900px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.modal-header {
    background: #DAA520;
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 30px;
}

.pdf-container {
    text-align: center;
}

.pdf-placeholder {
    background: var(--background-light);
    border: 2px dashed var(--border-color);
    padding: 60px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.download-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.download-btn:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #DAA520 0%, var(--tertiary-color) 50%, var(--secondary-color) 100%); /* Fallback si image non chargée */
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(1);
    transform: scale(1);
    animation: heroZoom 18s ease-in-out infinite;
}

/* Variante page galerie (peut ajuster luminosité si nécessaire) */
.hero.hero-gallery .hero-image {
    filter: brightness(1) contrast(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.55)),
        radial-gradient(circle at 30% 40%, rgba(255,255,255,0.08), transparent 60%),
        linear-gradient(135deg, rgba(44,95,65,0.55) 0%, rgba(74,74,74,0.45) 50%, rgba(139,0,0,0.55) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain2" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.10)"/><circle cx="80" cy="40" r="0.5" fill="rgba(255,255,255,0.06)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.08)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain2)"/></svg>');
    mix-blend-mode: normal;
    pointer-events: none;
}

/* Allègement spécifique du hero accueil (moins sombre que la galerie) */
#accueil.hero .hero-overlay {
    background:
        linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.45)),
        radial-gradient(circle at 30% 40%, rgba(255,255,255,0.08), transparent 60%),
        linear-gradient(135deg, rgba(44,95,65,0.45) 0%, rgba(74,74,74,0.35) 50%, rgba(139,0,0,0.45) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain2" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.10)"/><circle cx="80" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.07)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain2)"/></svg>');
}

@keyframes heroZoom {
    0% { transform: scale(1) translateZ(0); }
    50% { transform: scale(1.07) translateZ(0); }
    100% { transform: scale(1) translateZ(0); }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    margin-bottom: 1.5rem;
    color: #DAA520;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    margin-bottom: 2.5rem;
    font-weight: 300;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: #1C4F8F;
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
    background: #0E4377;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--background-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    color: #DAA520;
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Variante texte aligné à droite quand image déplacée à gauche */
.about-text-right {
    text-align: right;
}
.about-text-right p { margin-left: auto; }

/* CTA remplaçant les stats (section événements) */
.about-cta-wrapper { margin-top: 1.8rem; }
.contact-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg,#1C4F8F);
    color:#fff;
    padding: 0.95rem 2rem;
    border-radius: 50px;
    font-weight:600;
    letter-spacing:.5px;
    text-decoration:none;
    box-shadow:0 6px 18px -6px rgba(0,0,0,.35);
    transition: background .35s, transform .35s, box-shadow .35s;
}
.contact-cta-btn:hover {
    transform:translateY(-3px);
    box-shadow:0 12px 30px -10px rgba(0,0,0,.45);
    background: linear-gradient(135deg,#0E4377);
}
.contact-cta-btn:active { transform:translateY(0); box-shadow:0 4px 14px -6px rgba(0,0,0,.4); }

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.stat h3 {
    font-size: 2.5rem;
    color: #DAA520;
    margin-bottom: 0.5rem;
}

.stat p {
    margin: 0;
    color: var(--text-light);
    font-weight: 500;
}

.about-image, .restaurant-image {
    position: relative;
    overflow: hidden;
}

.image-placeholder {
    background: var(--background-white);
    border: 2px dashed var(--border-color);
    border-radius: 15px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 500;
}

/* About real photo */
.about-photo {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 18px;
    border: 4px solid rgba(255,255,255,0.6);
    position: relative;
    isolation: isolate;
}


@media (max-width: 768px) {
    .about-photo {
        max-height: 320px;
    }
}

/* Section Title */
.section-title {
    text-align: center;
    color: #DAA520;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}


/* Restaurant Section */
.restaurant {
    padding: 100px 0;
    background: var(--background-light);
}

.restaurant-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.restaurant-text h2 {
    color: #DAA520;
    margin-bottom: 2rem;
}

.restaurant-features {
    margin: 40px 0;
}

.feature {
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
}

.feature h4 {
    color: #DAA520;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--background-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-item {
    margin-bottom: 40px;
    padding: 25px;
    background: var(--background-light);
    border-radius: 15px;
    border-left: 5px solid #DAA520;
}

.contact-item h3 {
    color: #DAA520;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.contact-item p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.8;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
}

.contact-form h3 {
    color: #DAA520;
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--background-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #DAA520;
    background: white;
}

.submit-btn {
    width: 100%;
    background: #1C4F8F;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: #0E4377;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

/* QR code dans le footer */
.footer-qr { margin-top: 1rem; }
.footer-qr img { width: 130px; max-width: 60vw; height: auto; display: block; margin-top: .5rem; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.15)); border-radius: 8px; }
@media (max-width:768px){ .footer-qr { margin-left: auto; margin-right: auto; } .footer-qr img { margin-left:auto; margin-right:auto; } }

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    text-decoration: none;
    transition: var(--transition);
    background: transparent;
}

.social-links .icon {
    width: 26px;
    height: 26px;
    fill: #DAA520;
    transition: var(--transition);
    display: block;
}

.social-links a:hover .icon,
.social-links a:focus-visible .icon { fill: var(--accent-light); }

.social-links a:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 4px; border-radius: 6px; }


.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
    color: var(--accent-color);
    text-decoration: none;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* ===================== */
/* Galerie Page          */
/* ===================== */


.gallery-hero {
    position: relative;
    height: 55vh;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #DAA520, var(--tertiary-color) 55%, var(--secondary-color));
    overflow: hidden;
}

.gallery-hero::before,
.gallery-hero::after {
    content: '';
    position: absolute;
    inset: 0;
}

.gallery-hero::before {
    background:
        radial-gradient(circle at 30% 40%, rgba(255,255,255,0.08), transparent 60%),
        linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.55));
    mix-blend-mode: normal;
    z-index: 1;
}

.gallery-hero::after {
    background: repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 12px, transparent 12px 24px);
    opacity: 0.4;
    z-index: 2;
}

.gallery-hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    padding: 0 20px;
    max-width: 900px;
    animation: fadeIn 1s ease;
}

.gallery-hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.35);
}

.gallery-hero-content p {
    font-size: clamp(1rem, 2.2vw, 1.3rem);
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.gallery-main {
    padding: 90px 0 70px;
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: -70px auto 60px;
    position: relative;
    z-index: 10;
}

.filter-btn {
    background: var(--background-white);
    border: 2px solid #DAA520;
    color: #DAA520;
    padding: 10px 22px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 6px 18px -5px var(--shadow);
}

.filter-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #DAA520, var(--secondary-color));
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.filter-btn span { position: relative; z-index: 2; }

.filter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px -6px rgba(0,0,0,0.18);
}

.filter-btn:hover::before { opacity: 0.12; }

.filter-btn.active {
    background: linear-gradient(135deg, #DAA520, var(--secondary-color));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 26px -4px rgba(0,0,0,0.25);
}

.filter-btn.active::before { display: none; }

/* Nouvelle grille galerie immersive (sans légendes) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 10px;
    align-items: stretch;
    grid-auto-flow: dense;
}

/* Item galerie simplifié */
.gallery-item {
  background: var(--background-white);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: box-shadow .4s ease, transform .4s ease;
  opacity: 0;
  transform: translateY(40px) scale(.96);
}
.gallery-item.in-view { opacity:1; transform:translateY(0) scale(1); transition-delay:var(--delay,0ms); }
.gallery-item.hidden { display:none; }

.img-wrapper { position:relative; aspect-ratio:1/1; overflow:hidden; }
.gallery-img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .55s cubic-bezier(.4,.2,.1,1); will-change:transform; }
@media (hover:hover) and (pointer:fine){
  .gallery-item:hover { box-shadow:0 10px 28px rgba(0,0,0,0.15); }
  .gallery-item:hover .gallery-img { transform:scale(1.03); }
  .gallery-item:active .gallery-img { transform:scale(1.00); }
}

/* Keyframes optionnels si on veut plus tard un effet cascades */
@keyframes galleryPop {
    0% { opacity: 0; transform: translateY(40px) scale(0.9); }
    60% { opacity: 1; transform: translateY(-4px) scale(1.02); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Blur-up lazy images */
.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: blur(18px) brightness(0.9) saturate(0.9);
    transform: scale(1.05);
    transition: filter 0.9s ease, transform 1.1s ease;
    background: var(--background-light);
}
.gallery-img.loaded {
    filter: blur(0) brightness(1) saturate(1);
    transform: scale(1);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 4000;
    backdrop-filter: blur(6px);
}
.lightbox.active { opacity: 1; pointer-events: auto; }
.lightbox-inner { position: relative; max-width: 90vw; max-height: 85vh; display: flex; align-items: center; }
.lightbox-image { max-width: 100%; max-height: 85vh; border-radius: 12px; box-shadow: 0 25px 60px rgba(0,0,0,0.5); }
.lightbox-close {
    position: absolute; top: 20px; right: 25px; background: rgba(255,255,255,0.12); color: #fff; border: none; font-size: 2rem; line-height: 1; cursor: pointer; padding: 6px 14px; border-radius: 8px; backdrop-filter: blur(4px); transition: background 0.3s ease; z-index: 10;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }
.lightbox-nav { position: relative; background: rgba(255,255,255,0.15); color: #fff; border: none; font-size: 3rem; width: 65px; height: 65px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; margin: 0 15px; backdrop-filter: blur(4px); transition: background 0.3s ease, transform 0.3s ease; }
.lightbox-nav:hover { background: rgba(255,255,255,0.28); transform: scale(1.08); }
.lightbox-counter { position: absolute; bottom: 25px; left: 50%; transform: translateX(-50%); color: #fff; font-family: var(--font-body); font-weight: 600; background: rgba(0,0,0,0.35); padding: 8px 18px; border-radius: 25px; font-size: 0.9rem; letter-spacing: 1px; }
@media (max-width: 640px){ .lightbox-nav { font-size: 2.2rem; width: 52px; height: 52px; } .lightbox-close { font-size: 1.6rem; } }

.gallery-cta {
    background: var(--background-light);
    padding: 90px 0;
    text-align: center;
}

.gallery-cta h2 { color: #DAA520; margin-bottom: 1rem; }
.gallery-cta p { color: var(--text-light); font-size: 1.05rem; }

@media (max-width: 900px) {
    .gallery-filters { margin-top: -50px; }
}

@media (max-width: 768px) {
    .gallery-hero { height: 48vh; }
    .gallery-main { padding-top: 70px; }
    .gallery-filters { margin-top: -40px; }
}

@media (max-width: 560px) {
    .gallery-grid { gap: 25px; }
    .filter-btn { padding: 8px 16px; font-size: 0.85rem; }
    .gallery-item figcaption { font-size: 0.85rem; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .about-grid,
    .restaurant-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Inversion section Événements (mobile) en conservant la grille pour garder l'image full width */
    #evenements .about-text-right { order: 1; }
    #evenements .about-image { order: 2; margin-top: 1.25rem; width:100%; }
    #evenements .about-image .about-photo { width:100%; height:auto; max-height:420px; }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .hero-content {
        padding: 0 20px;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .modal-header,
    .modal-body {
        padding: 20px;
    }

    .container {
        padding: 0 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Centrer les icônes réseaux sociaux en mobile */
    .social-links { justify-content: center; }
    /* Centrer le bloc logo dans le footer en mobile */
    .footer .logo { justify-content: center; }
}

@media (max-width: 480px) {
    .beer-card {
        margin: 0 10px;
    }

    .modal-content {
        width: 98%;
        margin: 5% auto;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .nav-container {
        padding: 0 15px;
    }
}
