@import url('https://fonts.cdnfonts.com/css/aller');
@import url('https://fonts.cdnfonts.com/css/impact');
/* Variables */
:root {
    --primary-color: #000000;
    --accent-color: #FFE600;
    --text-color: #ffffff;
    --background-color: #000000;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Impact;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    background-image: url('../assets/MOTIF1_BON.png');
    background-repeat: repeat;
    background-size: 600%;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
}

/* Landing Page */
.landing-page {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.landing-page h1 {
    font-size: 3rem;
    color: var(--text-color);
}

.logo-container {
    max-width: 400px;
    margin: auto auto;
}

.logo-container img {
    width: 100%;
    height: auto;
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    color: var(--accent-color);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

/* Header et Navigation */
header {
    background-color: var(--background-color);
    padding: 0;
    position: static;
    width: 100%;
    transition: none;
}

nav {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1001;
    width: 100%;
}

.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 0.7rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5em;
    background-color: var(--background-color);
    width: 100%;
}

.logo {
    height: 90px;
    display: flex;
    position: relative;
    margin-right: auto;
}

.logo img {
    height: 100%;
    width: auto;
}

/* Menu toggle button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    background-color: #000000;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

/* Navigation links */
.nav-links {
    display: flex;
    align-items: center;
    letter-spacing: 1px; font-family: Impact, Haettenschweiler, 'Arial Narrow', sans-serif;
    gap: 3rem;
    margin-right: 50px;
    font-size: 1em;
}

.nav-links li {
    list-style: none;
    position: relative;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a.active {
    color: #FFE600;
}

/* Styles pour les dropdowns */
.dropdown {
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Dropdowns déroulent TOUJOURS vers le bas */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    min-width: 200px;
    width: 100%;
    background-color: var(--background-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    z-index: 1000;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.5s, all transform 0.5s ease, visibility 0.5s;
}
.dropdown:hover .dropdown-content,
.dropdown.active .dropdown-content {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: flex;
    padding: 0.8rem 1rem;
}

.dropdown-content a:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.dropdown-content a.active {
    color: #FFE600;
}

/* Styles mobile */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        
    }

    .nav-header {
        justify-content: space-between;
        height: 30px;
        margin-top: 20px;
    }
    .logo {
        margin: 0;
        padding: 0;
    }
    .menu-toggle {
        margin-left: auto;
        margin-bottom: 30px;
        z-index: 1001;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        background-color: var(--background-color);
        flex-direction: column;
        padding: 0;
        margin: 0;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
    }

    .nav-links.active {
        text-align: center;
        display: flex;
        opacity: 1;
        visibility: visible;
        margin-right: 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        border-radius: 0 0 8px 8px;
    }

    .nav-links li {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        justify-content: center;
    }

    .nav-links a {
        padding: 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        color: var(--text-color);
    }

    .dropdown-content {
        position: relative !important;
        
        width: 100% !important;
       
        display: none;
        flex-direction: column !important;
        padding: 0;
        margin: 0;
        background: var(--background-color);
        z-index: 1002;
        transition: opacity 0.02s, transform 0.02s, visibility 0.02s !important;
    }
    .dropdown.active .dropdown-content {
        display: block !important;
    }
    .dropdown-content a {
        display: block !important;
        width: 100% !important;
        text-align: left !important;
        padding-left: 5rem !important;
        box-sizing: border-box !important;
    }
}

.nav-links.active {
    transform: translateX(0%);
    opacity: 1;
    pointer-events: all;
}

/* Animation pour les liens du menu mobile */
@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Welcome Section */
.welcome-section {
    max-width: 100%;
    margin: 0;
    text-align: left;
    padding: 2rem;
    position: relative;
    min-height: 90vh;
    width: 100%;
    font-family: 'Aller', sans-serif, !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.welcome-section .content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/MOTIF_PAGE_BON.png');
    background-repeat: repeat;
    background-size: 600%;
    background-position: center;
    opacity: 0.07;
    z-index: 0;
}

@media (max-width: 768px) {
    .welcome-section::before{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url('../assets/MOTIF_PAGE_BON.png');
        background-repeat: repeat;
        background-size: 1800%;
        background-position: center;
        opacity: 0.07;
        z-index: 0;
    }  
    .welcome-section {
        height: auto;
        margin-top: auto;
        padding-top: 1rem;
    }
}

.welcome-section h1,
.welcome-section p,
.welcome-section a {
    position: relative;
    z-index: 1;
}

.welcome-section h1 {
    font-family: 'Aller', sans-serif;
    font-weight: bold;
    font-size: 2em;
    text-align: left;
    margin-bottom: 2rem;
}

.welcome-section p {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.811);
    margin-bottom: 1rem;
}

.welcome-section .urban-link {
    color: bisque;
    text-decoration: underline;
}

/* Gallery Section */
.gallery-section {
    padding: 4rem 2rem;
    min-height: 100vh;
    background-color: #E4E4E4 !important;
}

.gallery-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    text-align: center;
}

.gallery-item img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
    background-color: white;
}

.gallery-item h3 {
    color: var(--text-color);
}

/* Team Section */
.team-section {
    padding: 4rem 2rem;
    color: white;
    position: relative;
    width: 100%;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-section .content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    width: 100%;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/MOTIF_PAGE_BON.png');
    background-repeat: repeat;
    background-size: 600%;
    background-position: center;
    opacity: 0.07;
    z-index: 0;
}


.cartographie-section::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/MOTIF_PAGE_BON.png');
    background-repeat: repeat;
    background-size: 600%;
    background-position: center;
    opacity: 0.07;
    z-index: 0;
}



@media (max-width: 768px) {
    .team-section::before{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url('../assets/MOTIF_PAGE_BON.png');
        background-repeat: repeat;
        background-size: 1800%;
        background-position: center;
        opacity: 0.07;
        z-index: 0;
    }  
}

.team-section h2,
.team-section h3,
.team-section .team-grid,
.team-section .team-member {
    position: relative;
    z-index: 1;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.team-section h3 {
    text-align: center;
    font-weight: bold;
    font-family: 'Aller', sans-serif;
    font-size: 2em;
    margin-bottom: 1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 20px;
    margin-top: 2rem;
}

.team-member {
    text-align: center;
}

.team-member h1,
.team-member h2 {
    font-weight: bold;
    font-family: 'Aller', sans-serif;
    margin-bottom: 0.5rem;
}

.team-member h3 {
    color: rgba(255, 255, 255, 0.614);
    background-color: transparent;
    font-size: 1em;
    margin-top: 0.5rem;
}

.team-member p {
    color: var(--text-color);
    font-size: 0.9rem;
}

/* Footer */
footer {
    background-color: var(--background-color);
    padding: 20px 40px;
    color: var(--text-color);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-family:'Aller', sans-serif
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 20px;
    margin-left: 60px;
}

.social-links a {
    color: var(--accent-color);
    font-size: 1.5rem;
    text-decoration: none;
    pointer-events: auto;
}

.social-links-i {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 10px;
}

.social-links-i a {
    color: var(--accent-color);
    font-size: 1.5rem;
    text-decoration: none;
    pointer-events: auto;
}

.separator {
    flex-grow: 1;
    height: 1px;
    background: transparent;
    margin: 0 20px;
}

.credits {
    color: var(--text-color);
    font-size: 0.9rem;
    text-align: center;
}

.footer-logos {
    display: flex;
    justify-content: flex-end;
    align-items: right;
    gap: 20px;
    width: auto;
}

.footer-logo {
    height: 40px;
    width: auto;
}

#footer-je-manque-d-idee {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
}

#footer-je-manque-d-idee .designedby {
    font-family: 'Aller', sans-serif;
    color: rgba(255, 255, 255, 0.614);
    text-align: center;
    margin-left: 15%;
    flex: 1;
}

#footer-je-manque-d-idee .copy {
    font-family: 'Aller', sans-serif;
    color: rgba(255, 255, 255, 0.614);
    text-align: right;
}

/* Forcer le logo à l'extrême gauche sur desktop uniquement */
@media (min-width: 769px) {
  .nav-header {
    justify-content: flex-start !important;
  }
  .logo {
    margin-left: 0 !important;
  }
}

/* Media Queries */
@media screen and (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .welcome-section {
        height: auto;
        margin: 0.5rem auto;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    #footer-je-manque-d-idee{
        position: relative;
        padding-left: auto;
        padding-right: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #footer-je-manque-d-idee .designedby{
        position: relative;
        padding-left: 0;
        padding-right: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-left: 0;
    }

    #footer-je-manque-d-idee .copy {
        position: relative;
        padding-left: 0;
        padding-right: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-right: 0;
    }

    .separator {
        display: none;
    }

    .social-links {
        justify-content: center;
        margin-left: 0;
    }

    .footer-logos {
        display: flex;
        flex-direction: column;
        justify-content: center;

    }
    
    .footer-logo {
        height: 40px;
        width: auto;
    }

    /* Navigation mobile */
    nav {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 1rem;
        align-items: center;
    }

    /* Section galerie responsive */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }

    .gallery-item img {
        width: 150px;
        height: 150px;
    }

    /* Section partenaires responsive */
    .partners {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1rem;
    }

    .partners img {
        height: 80px;
        width: auto;
        max-width: 30vw;
        margin: 0.5rem;
        object-fit: contain;
        background: #0000;
        border-radius: 8px;
    }

    /* Ajustements texte */
    .welcome-section h1 {
        font-size: 1.5em;
        text-align: center;
    }

    .welcome-section p {
        font-size: 1em;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        border-radius: 100%;
    }

    /* Section équipe version mobile */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-member h1,
    .team-member h2 {
        font-size: 1.2em;
    }

    .team-member h3 {
        font-size: 0.9em;
    }

    /* Ajustements header mobile */
    .logo img {
        height: 40px;
    }

    /* Ajustements footer mobile */
    .footer-logos {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-logo {
        height: 30px;
    }
}

/* Ajuster le main pour éviter le chevauchement avec le header fixe */
main {
    padding-top: 0;
}

/* About Section */
.about-section {
    position: relative;
    min-height: 67vh;
    background-color: var(--background-color);
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('../assets/MOTIF_PAGE_BON.png') !important;
    background-repeat: repeat;
    background-size: 800%;
    min-height: 67vh;
    background-position: center;
    opacity: 0.07;
    z-index: 0;
}

@media (max-width: 768px) {
    .about-section::before{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url('../assets/MOTIF_PAGE_BON.png');
        background-repeat: repeat;
        background-size: 1800%;
        background-position: center;
        opacity: 0.07;
        z-index: 0;
    }  
    
}

.about-content {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-top: 2rem;
    position: relative;
    
}

.about-image {
    flex: 0 0 300px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.about-text {
    flex: 1;
    max-width: 800px;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--text-color);
}

/* Harmonisation des tailles de police entre artiste.html et urban-faso-page.html */
.artist-section h1, .about-section h1 {
   
    letter-spacing: 1px; font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1.2rem;
}

.artist-section h2, .about-section h2 {
    
    font-family: 'Aller', sans-serif;
    font-weight: bold;
    text-align: center;
    font-size: 1.8em;
    margin-bottom: 1rem;
}

.artist-bio p, .about-text p {
    
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}


@media (max-width: 480px) {
  .artist-section h1, .about-section h1 {
    font-size: 1.5em;
    padding-left: 15px;
  }
  .artist-section h2, .about-section h2 {
    font-size: 1.5em;
  }
  .artist-bio p, .about-text p {
    font-size: 0.95em;
  }

  .about-content {
    display: flex;
    align-items:center;
    justify-content: center;
    margin-top: 2rem;
    position: relative;
    
}
}

/* Styles responsifs pour la section Artist */
.artist-section {
    padding: 4rem 2rem;
    min-height: 83vh;
    background-color: var(--background-color);
    position: relative;
}

.artist-section::before{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url('../assets/MOTIF_PAGE_BON.png');
        background-repeat: repeat;
        background-size: 600%;
        background-position: center;
        opacity: 0.07;
        z-index: 0;
}

@media (max-width: 768px) {
    .artist-section::before{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url('../assets/MOTIF_PAGE_BON.png');
        background-repeat: repeat;
        background-size: 1800%;
        background-position: center;
        opacity: 0.07;
        z-index: 0;
    }  
}

.artist-profile {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.artist-image {
    flex: 0 0 40%;
    max-width: 400px;
}

.artist-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.artist-bio {
    flex: 1;
}

.artist-bio p {
    margin-bottom: 1.5rem;
    font-family: Aller, ;
    line-height: 1.6;
    color: var(--text-color);
    font-size: 1em;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.portfolio-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

/* Media Queries */
@media screen and (max-width: 1024px) {
    .about-content,
    .artist-profile {
        flex-direction: column;
        align-items: center;

    }

    .about-image,
    .artist-image {
        flex: 0 0 100%;
        max-width: 500px;
        margin-bottom: 1rem;
    }

    .about-text,
    .artist-bio {
        text-align: center;
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .about-section,
    .artist-section {
        padding: 1rem 1rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    .about-image,
    .artist-image {
        max-width: 100%;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.8em;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .partners {
        flex-direction: column;
        gap: 2rem;
    }

    .partners img {
        height: auto !important;
        max-width: 200px;
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .about-section,
    .artist-section {
        padding: 1rem 1rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .social-links {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-logos {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Ajustements pour la section équipe */
.team-section {
    padding: 4rem 2rem;
    background-color: var(--background-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    text-align: center;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member h1,
.team-member h2 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.team-member h3 {
    color: var(--text-color);
    font-size: 0.9em;
    opacity: 0.8;
}

.about-osat-section {
    position: relative; 
    padding: 4rem 2rem;
    color: white;
    
}

.about-osat-section::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/MOTIF_PAGE_BON.png');
    background-size: 600%;
    background-position: center;
    background-repeat: repeat;
    opacity: 0.07;
    z-index: 0;
}

@media (max-width: 768px) {
    .about-osat-section::before{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url('../assets/MOTIF_PAGE_BON.png');
        background-repeat: repeat;
        background-size: 1800%;
        background-position: center;
        opacity: 0.07;
        z-index: 0;
    }  
    
}


.about-osat-section .content {
    max-width: 1200px;
    margin: 0 auto;

}

.quartiers-section {
    margin-top: 4rem;
    text-align: center;
    
}

.quartiers-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.quartier {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.quartier:hover {
    background-color: yellow;
    transform: translateY(-5px);
    color: black;
    opacity: 0.6;
}

.en-savoir-plus {
    margin-top: 4rem;
    text-align: left;
}

.partners-section {
    padding: 2rem 0;
    overflow: hidden;
}

.partners-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.partners-container {
    display: flex;
    gap: 2rem;
    align-items: center;
    overflow: hidden;
}

.partner-item {
    flex: 0 0 auto;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-item img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 2;
    padding: 10px;
}

.slider-btn.prev {
    left: 0;
}

.slider-btn.next {
    right: 0;
}

.slider-btn:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .partners-slider {
        padding: 0 30px;
    }

    .partner-item {
        width: 150px;
    }
}

@media (max-width: 900px) {
    .partners img {
        height: 110px;
        max-width: 40vw;
    }
   .partenaires-content {
        padding: 2rem 1rem;
    }
}
@media (max-width: 600px) {
   
    .partners .UE {
        height: 400px;
    }
    
    
}

/* Artist Section */
.artist-section {
    background-color: var(--background-color);
    color: white;
    padding: 4rem 2rem;
}

.artist-section .content {
    max-width: 1200px;
    margin: 0 auto;
}

.artist-section h1 {
    text-align: center;
    letter-spacing: 1px; font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 1.5em;
    margin-bottom: 1rem;
}

.yellow-divider {
    border: 1px solid yellow;
    max-width: 100px;
    margin: 30px auto;
}

/* Styles pour artist-profile déjà définis plus haut */

.portfolio-section {
    position: relative;
    background-color: var(--background-color);
    padding: 4rem 2rem;
}

.portfolio-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/MOTIF_PAGE_BON.png');
    background-repeat: repeat;
    background-size: 600%;
    background-position: center;
    opacity: 0.07;
    z-index: 0;
}

@media (max-width: 768px) {
    .portfolio-section::before{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url('../assets/MOTIF_PAGE_BON.png');
        background-repeat: repeat;
        background-size: 1800%;
        background-position: center;
        opacity: 0.07;
        z-index: 0;
    }  
}

.portfolio-section .content {
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-section h2 {
    text-align: center;
    color: white;
    font-family:Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 1.5em;
    margin-bottom: 1rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    aspect-ratio: 1;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

@media screen and (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .artist-profile {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .artist-image {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .artist-bio {
        width: 100%;
        text-align: center;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .virtual-gallery h2 {
        text-align: center;
        color: black;
        letter-spacing: 1px; font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
        margin-bottom: 2rem;
        font-size: 1.5rem;
    }
}



/* Styles pour la galerie virtuelle */
.virtual-gallery {
    background-color: black;
    padding: 4rem 0;
}

.virtual-gallery h2 {
    text-align: center;
    color: black;
    letter-spacing: 1px; font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.gallery-title,
.gallery-label {
    letter-spacing: 1px; font-family: Impact, Haettenschweiler, 'Arial Narrow', sans-serif;
    font-weight: normal !important;
    
}

.gallery-title {
    font-weight: bold !important;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 2rem;
    color: #000000;
}

.fresques-slider {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    gap: 2rem;
    padding: 2rem 0;
}

.fresque-item {
    flex: 0 0 auto;
    width: 200px;
    text-align: center;
    transition: transform 0.3s ease;
}

.fresque-item:hover {
    transform: scale(1.05);
}

.fresque-item img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.fresque-info {
    padding: 0.5rem;
    color: white;
    text-align: center;
}

.fresque-info h3 {
    font-family:Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: normal;
    text-transform: uppercase;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.slider-btn.prev {
    left: 1rem;
}

.slider-btn.next {
    right: 1rem;
}

/* Styles responsifs pour la galerie virtuelle */
@media (max-width: 768px) {
    .fresque-item {
        width: 150px;
    }

    .fresque-item img {
        width: 150px;
        height: 150px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .virtual-gallery {
        padding: 2rem 0;
    }

    .fresque-item {
        width: 120px;
    }

    .fresque-item img {
        width: 120px;
        height: 120px;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}

/* Styles responsifs globaux */
@media screen and (max-width: 1200px) {
    .content {
        width: 90%;
        padding: 0 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .partners {
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }

    .partners img {
        height: 100px !important;
    }

    .quartiers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media screen and (max-width: 900px) {
    /* Header et Navigation */
    .nav-header {
        padding: 1rem;
    }

    .logo img {
        height: 50px;
    }

    .welcome-section h1 {
        font-size: 1.8em;
        padding: 0 1rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-member {
        padding: 1rem;
    }

    .team-member h1, .team-member h2 {
        font-size: 1.2em;
    }

    .team-member h3 {
        font-size: 1em;
    }

    /* Page Artiste */
    .artist-profile {
        flex-direction: column;
    }

    .artist-image {
        width: 100%;
        margin-bottom: 2rem;
    }

    .artist-bio {
        width: 100%;
        padding: 0 1rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Page Contact */
    .contact-section .content {
        padding: 2rem 1rem;
    }

    .email-container {
        width: 90%;
    }

    /* Page Urban Faso */
    .about-content {
        flex-direction: column;
    }

    .about-image {
        width: 100%;
        margin-bottom: 2rem;
    }

    .about-text {
        width: 100%;
        padding: 0 1rem;
    }

    /* Page Cartographie */
    .map-frame {
        height: 400px;
    }

    .cartographie-title {
        font-size: 2em;
        padding: 0 1rem;
    }

    .description {
        font-size: 1em;
        padding: 0 1rem;
    }

    /* Galerie virtuelle */
    .fresques-slider {
        gap: 1rem;
    }

    .fresque-item {
        min-width: 150px;
    }

    .slider-btn {
        width: 30px;
        height: 30px;
    }

    .quartiers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media screen and (max-width: 480px) {
    /* Header et Navigation */
    .nav-header {
        padding: 0.5rem;
    }

    .logo img {
        height: 40px;
    }

    /* Sections principales */
    .welcome-section h1 {
        font-size: 1.5em;
    }

    .about-image img {
        width: 100%; 
        width: 240px; 
        height: auto;
        align-items: center;
        padding-left: 25px;
    }

    .about-section h1 {
        text-align: center;
        margin-left: 20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Partners section */
    .partners img {
        height: 80px !important;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-logos {
        flex-direction: column;
        align-items: center;
    }

    .footer-logo {
        height: 40px;
    }

    /* Quartiers grid */
    .quartiers-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .about-osat-section h1,
    .about-osat-section h2 {
        font-size: 1.5em;
    }

    .quartier {
        font-size: 0.9em;
        padding: 0.5rem;
    }
}

/** Ajustement des marges/paddings pour la page ouaga-street-art-tour.html uniquement */
.about-osat-section {
    padding: 2rem 0.5rem !important;
    margin: 0 !important;
}
.about-osat-section .content {
    margin: 0 auto !important;
    padding: 0 !important;
    max-width: 1100px;
}
.about-osat-section .about-content {
    gap: 1rem !important;
    margin-top: 1rem !important;
}

.about-osat-section .about-text {
    max-width: 700px !important;
    padding: 0 !important;
}
.about-osat-section h1,
.about-osat-section h2 {
    margin-bottom: 0.7rem !important;
    margin-top: 0 !important;
}
.about-osat-section hr {
    margin: 18px auto !important;
}
.about-osat-section .en-savoir-plus {
    margin-top: 2rem !important;
    padding: 0 !important;
}
@media (max-width: 768px) {
  .about-osat-section {
    padding: 1rem 0.2rem !important;
  }
  .about-osat-section .content {
    padding: 0 !important;
  }
  .about-osat-section .about-content {
    flex-direction: column;
    gap: 0.5rem !important;
  }
 
}
@media (max-width: 480px) {
  .about-osat-section {
    padding: 0.5rem 0 !important;
  }
  .about-osat-section .content {
    padding: 0 !important;
  }
}

/* Animations responsives */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Optimisations pour les écrans tactiles */
@media (hover: none) {
    .gallery-item:hover,
    .portfolio-item:hover,
    .team-member:hover {
        transform: none !important;
    }

    .nav-links a:hover {
        color: inherit;
    }
}

.dropdown .fa-chevron-down {
    transition: transform 0.3s ease;
    margin-left: 5px;
}

.dropdown:hover .fa-chevron-down {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .dropdown.active .fa-chevron-down {
        transform: rotate(180deg);
    }
}

.en-savoir-plus a {
    pointer-events: auto !important;
    position: relative;
    z-index: 2;
    color: yellow;
    text-decoration: none;
    cursor: pointer;
}
.en-savoir-plus hr {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 30px;
    margin-bottom: 30px;
    max-width: 100px;
    border: 1px solid yellow;
}

@media (max-width: 768px) {

    
    .welcome-section {
        padding: 1rem 0.5rem;
        margin: 1rem 0;
    }
    .gallery-section {
        padding: 1.5rem 0.5rem;
    }
    .team-section {
        padding: 1.5rem 0.5rem;
    }
    
    .portfolio-section {
        padding: 1.5rem 0.5rem;
    }
    .content {
        padding: 0 0.5rem;
    }
    .gallery-grid {
        gap: 0.5rem;
        padding: 0 0.5rem;
    }
    .team-grid {
        gap: 0.5rem;
    }
    .portfolio-grid {
        gap: 0.5rem;
    }
    .partners {
        gap: 0.5rem;
        padding: 0.5rem;
    }
    .partners img {
        height: 60px !important;
    }
    .fresques-slider {
        gap: 0.5rem;
        padding: 1rem 0;
    }
}

@media (max-width: 480px) {
    .welcome-section {
        padding: 0.5rem 0.2rem;
        margin: 0.5rem 0;
    }
    .gallery-section {
        padding: 1rem 0.2rem;
    }
    .team-section {
        padding: 1rem 0.2rem;
    }
    .about-section,
    .artist-section {
        padding: 1rem 0.2rem;
    }
    .portfolio-section {
        padding: 1rem 0.2rem;
    }
    .content {
        padding: 0 0.2rem;
    }
    .gallery-grid {
        gap: 0.2rem;
        padding: 0 0.2rem;
    }
    .team-grid {
        gap: 0.2rem;
    }
    .portfolio-grid {
        gap: 0.2rem;
    }
    .partners {
        gap: 0.2rem;
        padding: 0.2rem;
    }
    .partners img {
        height: 40px !important;
    }
    .fresques-slider {
        gap: 0.2rem;
        padding: 0.5rem 0;
    }
}

/* Footer responsive */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    text-align: center;
  }
  .footer-logos {
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }
  .footer-logo {
    height: 32px !important;
    width: auto !important;
    margin: 0 4px !important;
  }
  .social-links {
    justify-content: center !important;
    margin: 0 !important;
    gap: 12px !important;
  }
  #footer-je-manque-d-idee {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    margin-top: 1rem;
  }
  #footer-je-manque-d-idee .designedby,
  #footer-je-manque-d-idee .copy {
    margin: 0 !important;
    text-align: center !important;
    font-size: 0.95em;
  }
}
@media (max-width: 480px) {
  .footer-logo {
    height: 24px !important;
  }
  .footer-content {
    gap: 0.7rem;
  }
  .social-links a {
    font-size: 1.1rem;
  }
  
}

@media (min-width: 769px) {
    .dropdown:hover > .dropdown-content {
        max-height: 500px !important;
        opacity: 1 !important;
        pointer-events: auto;
        transition: max-height 0.5s cubic-bezier(0.77,0,0.175,1), opacity 0.5s cubic-bezier(0.77,0,0.175,1);
    }
    .dropdown-content {
        max-height: 0;
        opacity: 0;
        pointer-events: none;
        transition: max-height 0.5s cubic-bezier(0.77,0,0.175,1), opacity 0.5s cubic-bezier(0.77,0,0.175,1);
    }
}

.gallery-title,
.gallery-label {
    color: #000 !important;
}

@media (max-width: 900px) {
  .social-links-i {
    justify-content: center !important;
    align-items: center !important;
    display: flex !important;
  }
}

@media (max-width: 900px) {
  .about-image img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-left: auto;
    padding-right: auto;
  }
}

.partner-section, .partners-section {
  background-color: white !important;
}

