/* Polices et Couleurs */
:root {
    /*principal*/
    --primary-color: aliceblue;
    --secondary-color: lime;
    --thirdy-color: DARKGREEN;

    /*balises h1 h2 h3*/
    --text-color-h1: lime;
    --text-color-h2: aqua;
    --text-color-h3: DIMGRAY;

    /*text*/
    --text-colorold: #A6A09B;
    --text-color:aliceblue;;
    --background-color2:#292929;
    --background-color:#393939;
    --surface-color: #808080;
}

.display_none{
   display: none;
}

.margin_null{
    margin: 0;
}

.display_block{
    display: block;
}


.dirsname-h1{
    color: aliceblue;
    font-size:large;
    text-align: center;
    font-weight: 300; 
    padding: 0;
    margin: 0;
    width: 100%;
    background-color:darkgreen;
    }

    
 .labelName{
    color: lightslategray;
    padding-right: 2em;
 }

/*logo*/
.logo {
    text-align: center;
}

.logo img {
    height: 66px;
    width: auto;
    margin-left: 2em;
    margin-top: 0.33em;
}


/* En-tête et Navigation */
#header {
    width: 100%;
    padding: 0.33em 0.33em 0.33em 0.33em;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--background-color2);
    box-sizing: border-box;
}

nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 8vh;
    background-color: #333;
    font-family: 'Poppins', sans-serif;
}


.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 1em;
}
.nav-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.11em;
    font-weight: 100;
}

.nav-links a:hover {
    color: aqua;
    font-size: 1.11em;
    text-decoration: underline;
}

#runAlbums:hover {
    color: aqua;
    font-size: 1.11em;
    text-decoration: underline;
    content: url("/assets/images/albums-aqua.png");
    opacity: 0.7;
}

#runVideos2:hover {
    color: aqua;
    font-size: 1.11em;
    text-decoration: underline;
    content: url("/assets/images/video-aqua.png");
    opacity: 0.7;
}


#runPhotos2:hover {
    color: aqua;
    font-size: 1.11em;
    text-decoration: underline;
    content: url("/assets/images/photos-aqua.png");
    opacity: 0.7;
}

#idexit:hover {
    content: url("/assets/images/exit-aqua.png");
    opacity: 0.7;
}   





/*______________HEADER____________*/

/* Responsive (Menu Burger) */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
     color: black;
    background-color: #808080;
    margin: 5px;
    transition: all 0.3s ease;
}

/*______________BODY____________*/

/*body*/
body {

    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-color);
    line-height: 1.6;
    margin: 0;
}

a {
    font-size: 1.22rem;
    text-decoration: underline;
    color: var(--primary-color);
}

a:hover {
    font-size: 1.33em;
    color: aqua;
    text-decoration: underline;
}

h1 {
    font-size: 2em;
    color: var(--primary-color);
    text-align: center;
    font-weight: 700; 
    padding: 0;
    margin: 0;
}

h2 {
    font-size: 1.66em;
    color: var(--text-color-h2);
    text-align: center;
    font-weight: 500;  
    padding: 0;
    margin: 0;
}

h3 { 
    font-size: 1.1em;
    color: var(--text-color-h3);
    text-align: center;
    font-weight: 500;
}

p,
li {
    color: var(--text-color);
    font-size: 1rem;
    text-align: justify;
}

/* Hero Section */
#hero {
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    text-align: center;

}

.hero-container {
    width: 100%;
    box-sizing: border-box;
    height: auto;
    display:block;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;

    /* ← CENTRAGE */
  /*  background-image: url("/assets/images/bg-1.jpg");*/
    background-size: cover;
    /* Remplit tout l’écran */
    background-position: center;
    /* Centre l’image */
    background-repeat: no-repeat;
    /* Pas de répétition */
    background-attachment: fixed;
    /* Effet fond fixe (optionnel) */
}

.hero-text {
    text-align: left;
    text-align: start;
}


  
/*links*/
.home-link {
    display: block;
    text-align: center;
    margin-top: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.home-link:hover {
    text-decoration: underline;
    font-size: larger;
    font-weight: bolder;
}



/*contactForm*/
#contactForm {
max-width: 444px;
color: var(--primary-color);
text-align: left;
margin: 0 auto;
}

.contact-txt {
    width: 100%;
    box-sizing: border-box;
    margin-top: 0%;
}


.contact-label {
    margin-bottom: 0px;
    color: var(--primary-color);
}

.contact-txt {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 1.33em;
}

.contact-link {
    font-weight: bold;
    color: var(--primary-color);
}

.contact-link:hover {
    text-decoration: underline;
    font-size: larger;
    font-weight: bolder;
}

#captchaQuestion {
    color: var(--primary-color);
}

 
.contact-captcha{ 
    margin-top: 1.4em;
    margin-bottom: -0.1em
}


/*Button file upload*/
.file-upload-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.file-upload-btn {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: var(--background-color);
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-right: 10px;
    margin-top: 10px;
}

.file-upload-btn:hover {
    background-color: var(--background-color);
    color: var(--text-color-h1);
    border: 2px solid var(--text-color-h2);
}




/*______________COMMON____________*/
/*____________________MEDIA______________________*/
@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: 0px;
        top: 8vh;
        background-color: var(--surface-color);
        flex-direction: column;
        align-items: center;
        width: 50%;
        height: 92vh;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        display: flex;
        margin: 0;
        padding: 0;
    }

    .nav-links.nav-active {
        transform: translateX(0%);
    }

    .nav-links li {
        opacity: 0;
        margin: 2rem 0;
    }

    .nav-links a {
        color: var(--primary-color);
        text-decoration: none;
        font-size: 1.5rem;
        transition: color 0.3s ease;
    }
    
    .burger {
        display: block;
    }

    @keyframes navLinkFade {
        from {
            opacity: 0;
            transform: translateX(50px);
        }
        to {
            opacity: 1;
            transform: translateX(0px);
        }
    }

    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .toggle .line2 {
        opacity: 0;
    }

    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .nav-active li {
        opacity: 1;
        animation: navLinkFade 0.5s ease forwards;
    }
    
    .nav-active li:nth-child(1) {
        animation-delay: 0.2s;
    }
    .nav-active li:nth-child(2) {
        animation-delay: 0.3s;
    }
    .nav-active li:nth-child(3) {
        animation-delay: 0.4s;
    }
    .nav-active li:nth-child(4) {
        animation-delay: 0.5s;
    }
     .nav-active li:nth-child(5) {
        animation-delay: 0.6s;
    }
}

/* Gallery Thumbs */
#thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 20px;
    max-height: 80vh; /* Or any height */
    overflow-y: auto;
    overflow-x: hidden;
}

.thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive grid for thumbnails */
@media (max-width: 1200px) {
    #thumbs {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    #thumbs {
        grid-template-columns: repeat(2, 1fr);
        padding: 10px;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    #thumbs {
        grid-template-columns: repeat(1, 1fr);
    }
}
 