/* /assets/css/style.css */
:root {
    --bg: #fdfdfd;
    --text: #1a1a1a;
    --accent: #d4af37;
    --glass: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] {
    --bg: #0a0a0a;
    --text: #f4f4f4;
    --accent: #e5c158;
    --glass: rgba(0, 0, 0, 0.4);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg); color: var(--text);
    font-family: 'Inter', sans-serif; font-weight: 300;
    transition: background-color 0.5s ease, color 0.5s ease;
    line-height: 1.6; overflow-x: hidden;
}

h1, h2, h3, .logo-center a { font-family: 'Cormorant Garamond', serif; font-weight: 300; }
a { color: inherit; text-decoration: none; transition: 0.4s ease; }
a:hover { opacity: 0.5; }

/* --- HEADER --- */
.signature-header {
    position: relative; z-index: 100; padding: 2rem 5%;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid rgba(150,150,150,0.1);
}
body.has-hero .signature-header { position: absolute; width: 100%; border-bottom: none; color: #ffffff; }
.logo-center a { font-size: 2.2rem; letter-spacing: 4px; text-transform: uppercase; }
.nav-left, .nav-right { display: flex; gap: 2rem; align-items: center; flex: 1; }
.nav-right { justify-content: flex-end; }
.nav-link { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; }

/* --- BANNIÈRE PARALLAX (Albums) --- */
.parallax-hero {
    height: 70vh; width: 100%; background-attachment: fixed;
    background-position: center; background-repeat: no-repeat; background-size: cover;
    display: flex; align-items: center; justify-content: center;
    position: relative; margin-bottom: 5rem;
}
.parallax-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.2); }
.parallax-title {
    position: relative; color: #fff; font-size: 4rem; letter-spacing: 6px;
    text-transform: uppercase; text-align: center;
}

/* =========================================================
   ACCUEIL : LA BANDELETTE DÉFILANTE (MARQUEE)
   ========================================================= */
.marquee-container {
    width: 100%;
    overflow: hidden; /* Cache ce qui dépasse */
    white-space: nowrap; /* Empêche de passer à la ligne */
    position: relative;
    padding: 3rem 0;
    background: var(--bg);
}

.marquee-track {
    display: inline-block;
    white-space: nowrap;
    animation: scroll-marquee 30s linear infinite; /* Animation continue */
}

/* L'animation s'arrête si on passe la souris dessus ! */
.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes scroll-marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Déplace la piste vers la gauche */
}

.marquee-item {
    display: inline-block;
    height: 450px; /* HAUTEUR DES PHOTOS DANS LA BANDE */
    margin-right: 2rem; /* ESPACE ENTRE LES PHOTOS */
    position: relative;
    overflow: hidden;
}

.marquee-item img {
    height: 100%;
    width: auto;
    display: block;
    transition: filter 0.4s ease, transform 0.4s ease;
}

.marquee-item:hover img { 
    filter: brightness(0.6); 
    transform: scale(1.02);
}

/* Titre au survol */
.marquee-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.2); opacity: 0; transition: opacity 0.3s;
    color: white; font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-style: italic; letter-spacing: 2px;
}
.marquee-item:hover .marquee-overlay { opacity: 1; }

/* =========================================================
   ALBUM : GRILLE MOSAÏQUE (MASONRY)
   ========================================================= */
.art-masonry { 
    column-count: 3; 
    column-gap: 2rem; 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 0 2rem; 
}
.art-item { break-inside: avoid; margin-bottom: 2rem; position: relative; animation: fadeIn 1s ease forwards;}
.art-item img { width: 100%; display: block; cursor: zoom-in; transition: opacity 0.4s ease; }
.art-item:hover img { opacity: 0.8; }

.glass-actions {
    position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%);
    background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    padding: 8px 20px; border-radius: 40px; border: 1px solid rgba(255,255,255,0.2);
    display: flex; gap: 15px; align-items: center;
    opacity: 0; pointer-events: none; transition: all 0.4s ease;
}
.art-item:hover .glass-actions { opacity: 1; pointer-events: auto; }
.glass-btn { background: transparent; border: none; color: #fff; font-size: 0.9rem; cursor: pointer; display: flex; align-items: center; gap: 5px; }

.btn {
    background: transparent; color: var(--text)!important; padding: 0.8rem 2rem;
    border: 1px solid var(--text); font-family: 'Inter', sans-serif; text-transform: uppercase; letter-spacing: 2px;
    font-size: 0.7rem; cursor: pointer; transition: 0.3s; display: inline-block;
}
.btn:hover { background: var(--text); color: var(--bg)!important; }

.lightbox { display: none; position: fixed; z-index: 9999; inset: 0; background: rgba(0,0,0,0.98); justify-content: center; align-items: center; opacity: 0; transition: 0.4s; }
.lightbox.active { display: flex; opacity: 1; }
.lightbox img { max-width: 90%; max-height: 90vh; }
@keyframes fadeIn { from { opacity:0; transform: translateY(10px); } to { opacity:1; transform: translateY(0); } }

/* Responsive */
@media (max-width: 1024px) { .art-masonry { column-count: 2; } .marquee-item { height: 350px; } }
@media (max-width: 768px) {
    .nav-left, .nav-right { display: none; } 
    .art-masonry { column-count: 1; padding: 0 1rem;}
    .parallax-title { font-size: 2.5rem; }
    .glass-actions { opacity: 1; pointer-events: auto; background: rgba(0,0,0,0.6); }
    .marquee-item { height: 250px; margin-right: 1rem;}
}
