/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BASE */
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #0a0a0a;
    color: #e0e0e0;
    padding-top: 0; /* pas d'espace initial : la nav apparaît au scroll */
}

/* ajouter un padding quand la nav est visible pour éviter le "jump" */
body.nav-visible {
    padding-top: 64px;
}

/* SECTIONS */
.section {
    height: 100vh;
    width: 100%;
}

/* permettre au contenu d'être au-dessus de la vidéo */
.section {
    position: relative;
    overflow: hidden;
}

/* NAVBAR */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    display: flex;
    align-items: center;
    z-index: 1000;
    background: transparent;
    transform: translateY(-110%); /* cachée au départ */
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    padding: 0 18px;
}

#main-nav.show { transform: translateY(0); }

#main-nav.scrolled {
    background: rgba(0,0,0,0.65);
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.nav-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left .nav-logo {
    height: 40px;
    display: block;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

#main-nav.scrolled .nav-logo {
    opacity: 1;
    transform: translateY(0);
}

.nav-right {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    padding: 8px 10px;
    font-weight: 600;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #e0e0e0;
    font-size: 26px;
    cursor: pointer;
    padding: 6px 8px;
}

.nav-toggle:focus { outline: 2px solid #fff; outline-offset: 2px; }

/* Mobile / small screens: hamburger + dropdown */
@media (max-width: 800px) {
    .nav-toggle { display: block; }
    .nav-links {
        position: absolute;
        top: 64px;
        right: 12px;
        background: rgba(0,0,0,0.95);
        flex-direction: column;
        gap: 8px;
        padding: 12px;
        border-radius: 6px;
        display: none;
        min-width: 180px;
    }

    #main-nav.open .nav-links { display: flex; }
}

/* ACCUEIL */
#accueil {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Vidéo de fond pour la section accueil */
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    filter: brightness(0.5);
}

.video-overlay {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* Logo image (réduire et centrer) */
.logo-img {
    width: clamp(120px, 25vw, 320px);
    max-width: 80%;
    height: auto;
    display: block;
}

.logo {
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: 12px;
    font-weight: bold;
    animation: glitch 2.5s infinite;
}

/* Animation logo */
@keyframes glitch {
    0% { transform: scale(1); opacity: 1; }
    20% { transform: scale(1.03) rotate(-1deg); }
    40% { transform: scale(0.98) rotate(1deg); opacity: 0.7; }
    60% { transform: scale(1.02) rotate(-0.5deg); }
    100% { transform: scale(1); opacity: 1; }
}

/* DISCO */
#disco {
    display: flex;
    background-color: #111;
}

.column {
    width: 50%;
    padding: 60px;
}

.concerts {
    border-right: 1px solid #333;
}

h2 {
    margin-bottom: 30px;
    text-transform: uppercase;
}

/* ALBUMS */
.albums {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 450px;
}
.album {
    width: 200px;
    aspect-ratio: 1 / 1;
    background-color: #1c1c1c;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #e0e0e0;
    border: 1px solid #333;
    transition: 0.3s;
}

.album:hover {
    background-color: #2b2b2b;
    transform: scale(1.05);
}

/* CONTACT */
#contact {
    background-color: #0e0e0e;
    padding: 80px 40px;
}

.contacts p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}
.contacts {
    height: 30vh;
    position: relative;
    overflow: hidden;
    width: 100%;
}
/* FOOTER */
footer {
    background-color: #000;
    padding: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #777;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    #disco {
        flex-direction: column;
    }

    .column {
        width: 100%;
        border: none;
    }
}

/* Mobile: agrandir le logo sur petits écrans */
@media (max-width: 600px) {
    .logo-img {
        width: clamp(160px, 50vw, 420px);
        max-width: 90%;
        height: auto;
    }
}
