:root {
            --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --glass-bg: rgba(255, 255, 255, 0.1);
            --glass-border: rgba(255, 255, 255, 0.2);
            --text-color: #ffffff;
        }

        body {
            font-family: 'Plus Jakarta Sans', sans-serif;
            background: var(--bg-gradient);
            background-attachment: fixed;
            color: var(--text-color);
            margin: 0;
            min-height: 100vh;
        }

        header {
            padding: 5rem 2rem 3rem;
            text-align: center;
        }

        h1 {
            font-size: 3.5rem;
            font-weight: 800;
            margin: 0;
            text-shadow: 0 10px 20px rgba(0,0,0,0.2);
        }

        .subtitle {
            opacity: 0.9;
            font-size: 1.1rem;
            margin-top: 10px;
        }

        /* Grille de la Galerie */
        .gallery {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 25px;
            padding: 2rem;
            max-width: 1300px;
            margin: 0 auto;
        }

        .gallery-item {
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid var(--glass-border);
            border-radius: 24px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: 0 8px 32px rgba(0,0,0,0.1);
        }

        .gallery-item:hover {
            transform: scale(1.03) translateY(-10px);
            box-shadow: 0 15px 45px rgba(0,0,0,0.2);
            border-color: rgba(255,255,255,0.5);
        }

        .gallery-item img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            display: block;
        }

        .caption {
            padding: 20px;
            background: rgba(0,0,0,0.2);
        }

        .caption b { display: block; margin-bottom: 5px; font-size: 1.1rem; }

        /* --- LIGHTBOX (L'effet de zoom) --- */
        .lightbox {
            display: none; /* Caché par défaut */
            position: fixed;
            z-index: 1000;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(15px);
            justify-content: center;
            align-items: center;
            cursor: zoom-out;
        }

        .lightbox img {
            max-width: 90%;
            max-height: 85vh;
            border-radius: 15px;
            box-shadow: 0 0 50px rgba(0,0,0,0.5);
            transform: scale(0.9);
            transition: transform 0.3s ease;
        }

        .lightbox.active { display: flex; }
        .lightbox.active img { transform: scale(1); }

        .close-btn {
            position: absolute;
            top: 30px; right: 40px;
            font-size: 40px; color: white;
            cursor: pointer; font-weight: bold;
        }

        footer {
            text-align: center;
            padding: 4rem;
            opacity: 0.7;
            font-size: 0.9rem;
        }

/* Navigation */
.category-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
}

.category-nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: 0.3s;
}

.category-nav a:hover {
    background: white;
    color: #764ba2;
}

/* Titres de Section */
.section-title {
    text-align: center;
    margin: 50px 0 20px;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Carousel */
.hero-carousel {
    max-width: 1000px;
    margin: 20px auto;
    position: relative;
    height: 500px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
}

.slide.active { display: block; animation: fade 0.5s; }

.slide img { width: 100%; height: 100%; object-fit: cover; }

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 20px;
    cursor: pointer;
    border-radius: 50%;
    margin: 0 10px;
}

.next { right: 0; }

/* Style spécial pour les erreurs */
.error-gallery .gallery-item {
    border-color: rgba(255, 100, 100, 0.4);
}

@keyframes fade { from {opacity: 0.4} to {opacity: 1} }