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

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

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

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

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


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

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 2em;
}

.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;
}


/*______________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 {
    width: 100%;
    height: auto;
    box-sizing: border-box;
    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;
}



/*______________FOOTER____________*/

/* Pied de page */
footer {
    width: 100%;
    box-sizing: border-box;
    bottom: 0;
    position: sticky;
    z-index: 999;
    bottom: 0;
    text-align: center;
    background: var(--background-color2);
}

.footer-content {
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    flex-direction: column;
    align-items: center;
}

.footer-content p {
    text-align: center; 
}



/*Social links*/
.social-links a {
    color: var(--primary-color);
    text-decoration: none;
    margin: 0 0.5rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}


.social-links a:hover {
    color: aqua;
    text-decoration: underline;
}



/*Social tables*/
#social-table1 {
    margin-left: auto;
    margin-right: auto;
    padding-top: 1em;
}

#social-table2 {
    margin-left: auto;
    margin-right: auto
}


#social-table2 {
    margin-left: auto;
    margin-right: auto;
}

#social-table3 {
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color);
    padding-bottom: 1em;
}

.iconposition {
    vertical-align: middle;
    margin-right: -0.333em;
    margin-left: 0.333em;
}

.iconposition2 {
    vertical-align: middle;
    margin-left: 0.333em;
}
 

/*______________COMMON____________*/

/*Button*/
.btn-center {
    text-align: center;
    margin-top: 2rem;
}

.cta-button {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--background-color);
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bolder;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover,
.cta-button.active {
    background-color: var(--text-color-h1);
    color: var(--background-color);
    /* Or plus brillant */
    color: var(--primary-color);
    font-size: larger;
    font-weight: bolder;
}



/*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;
}

.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);
    }
}
 