/* ================== */
/* Style général */
/* ================== */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000;  /* fond noir */
    color: #00ff00;          /* lettrage vert */
}

/* ================== */
/* Bannière avec logo */
/* ================== */
header {
    height: 250px;
    flex-shrink: 0;
}

.banner {
    height: 100%;
    background-image: url("images/banner.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%; /* 🔥 s'étire selon l'écran */

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    box-sizing: border-box;
}


.banner .logo {
    height: 150px;
    transition: transform 0.3s;
    filter: drop-shadow(0 0 12px rgba(255,255,255,0.9)); /* lueur blanche */
}

.banner .logo-link:hover .logo {
    transform: scale(1.1);
}


/* Survol du logo : on change l'image avec un GIF */
.banner .logo-link:hover img {
    content: url('images/logo_anim.gif'); /* remplace par le GIF */
}

/* ================== */
/* Navigation dans la bannière */
/* ================== */
.banner nav {
    display: flex;
    align-items: flex-end;      /* boutons en bas de la bannière */
}

.banner nav ul {
    list-style: none;
    display: flex;
    gap: 3rem;                  /* espace entre les boutons */
    margin: 0;
    padding: 0;
}

/* ================== */
/* Boutons image uniquement */
/* ================== */
.banner nav a.btn {
    position: relative;
    display: inline-block;
    width: 250px;     
    height: 100px;     
    overflow: hidden;
    border: 2px solid #00ff00;
    box-shadow: 0 0 12px rgba(0,255,0,0.7);
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.3s;
}

.banner nav a.btn img {
    width: 100%;       /* image occupe toute la largeur du bouton */
    height: 100%;      /* image occupe toute la hauteur du bouton */
    object-fit: cover; /* adapte l’image au bouton */
    transition: transform 0.3s;
}

.banner nav a.btn:hover img {
    transform: scale(1.02);
}

.banner nav a.btn:hover {
    transform: scale(1.02);
    box-shadow: 0 0 18px rgba(0,255,0,1); /* glow vert plus fort */
}

/* ================== */
/* Dropdown Menu */
/* ================== */
.dropdown {
    position: relative;
}

.submenu {
    display: block;
    opacity: 0;                 
    transform: translateX(-10px); 
    position: absolute;
    top: 100%;
    left: 0;
    background: #000;
    border: 2px solid #00ff00;
    padding: 0;
    margin: 0;
    list-style: none;
    min-width: 140px;
    z-index: 100;
    pointer-events: none;       
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.submenu li a {
    display: block;
    padding: 10px;
    color: #00ff00;
    text-decoration: none;
    border-bottom: 1px solid #00ff00;
    transition: background 0.3s;
}

.submenu li a:hover {
    background: #111;
}

.dropdown:hover .submenu {
    opacity: 1;                 
    transform: translateY(0);   
    pointer-events: auto;       
}

/* ================== */
/* Contenu principal */
/* ================== */
main {
    padding: 2rem;
}

/* ================== */
/* Pied de page */
/* ================== */
footer {
    text-align: center;
    background-color: #000;
    padding: 1rem;
    color: #00ff00;
}
/* ================== */
/* Boutons archives   */
/* ================== */
.archives-buttons {
    display: flex;
    justify-content: center;
    gap: 3rem; /* espace entre les boutons */
    margin-top: 2rem;
}

.archives-buttons {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.archive-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    /* Le bouton s’adapte au GIF */
}

.archive-btn img {
    width: auto;       /* utilise la largeur originale du GIF */
    height: auto;      /* utilise la hauteur originale du GIF */
    max-width: 100%;   /* limite la taille pour ne pas dépasser le conteneur parent */
    object-fit: contain;
    filter: drop-shadow(0 0 20px #00ff00); /* lueur externe verte */
    transition: transform 0.3s, filter 0.3s;
}

.archive-btn span {
    margin-top: 0.5rem;
    color: #00ff00;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    text-shadow: 0 0 6px rgba(0,255,0,0.7);
}


.archive-btn:hover {
    transform: scale(1.05);
    filter: brightness(1.2) drop-shadow(0 0 25px #00ff00);

}

.archive-btn:hover img {
    transform: scale(1.1);
}
main {
    padding: 2rem;
    background-image: url('images/fond_archives.png'); /* ton image */
    background-size: cover;     /* l’image occupe tout l’espace */
    background-position: center; /* centrée */
    background-repeat: no-repeat; /* pas de répétition */
    min-height: 80vh;           /* hauteur minimum */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* le contenu reste en haut */
}
.wmp-frame {
    position:absolute;
    top:0; left:0; right:0; bottom:0;
    border:4px solid #00ff00;
    border-radius:12px;
    pointer-events:none;
    z-index:5; /* au-dessus du cadre mais sous la vidéo */
    overflow:hidden;
}

.wmp-frame::after {
    content:"";
    position:absolute;
    top:0; left:-50%;
    width:50%; height:100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    filter: blur(4px);
    animation: reflectMove 240s infinite linear;
}

/* ================== */
/* Bouton Compte - en haut à droite */
/* ================== */
.account-btn-top {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 55px;    /* petit carré */
    height: 55px;
    border: 2px solid #00ff00;
    box-shadow: 0 0 10px rgba(0,255,0,0.7);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    transition: transform 0.2s, box-shadow 0.3s;
    z-index: 10;
}

.account-btn-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.account-btn-top:hover img {
    transform: scale(1.1);
}

.account-btn-top:hover {
    transform: scale(1.05);
    box-shadow: 0 0 16px rgba(0,255,0,1);
}
/* --- Masonry / grille responsive --- */
.photo-grid {
  column-count: 4;
  column-gap: 12px;
  width: 90%;
  max-width: 1200px;
  margin: 2rem auto;
}
@media (max-width: 1000px) { .photo-grid { column-count: 3; } }
@media (max-width: 700px) { .photo-grid { column-count: 2; } }
@media (max-width: 420px) { .photo-grid { column-count: 1; } }

.photo-grid img {
  width: 100%;
  display: inline-block;
  margin: 0 0 12px 0;
  border: 2px solid #00ff00;
  border-radius: 10px;
  box-shadow: 0 0 10px #00ff00;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}
.photo-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px #00ff00;
}

/* --- Lightbox --- */
.photo-popup {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

    .photo-popup.active {
        display: flex;
    }

    .photo-popup .popup-img {
        max-width: 90%;
        max-height: 90%;
        border: 3px solid #00ff00;
        border-radius: 10px;
        object-fit: contain;
    }

#closePhotoPopup {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #00ff00;
    background: none;
    border: none;
    cursor: pointer;
}

    #closePhotoPopup:hover {
        transform: scale(1.2);
    }

/* Animations */
@keyframes fadeIn { from {opacity:0} to {opacity:1} }
@keyframes zoomIn { from {transform: scale(.9); opacity:0} to {transform: scale(1); opacity:1} }


/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.photo-popup {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

    .photo-popup.active {
        display: flex;
    }

.popup-img {
    max-width: 80%;
    max-height: 80%;
}

.photo-popup .close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #00ff00;
    font-size: 40px;
    cursor: pointer;
}
.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colonnes fixes */
    gap: 20px;
    padding: 20px;
}

@media (max-width: 900px) {
    .products {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur tablette */
    }
}

@media (max-width: 600px) {
    .products {
        grid-template-columns: 1fr; /* 1 colonne sur mobile */
    }
}

