:root {
    --primary: #FFD700;
    --secondary: #b39c19;
    --tertiary: #080808;
    --text: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: var(--tertiary);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden; 
}

/* Navigation */
nav {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5); /* Fond semi-transparent */
    backdrop-filter: blur(10px); /* Effet de flou */
    -webkit-backdrop-filter: blur(10px); /* Compatibilité avec Safari */
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}


.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.casquette{
    display: flex;
    align-items: center;
    gap: 10px;
}

@media(max-width: 768px) {
    .casquette{
        display: none;
    }
}

.logo-image {
    width: 60px;
    height: auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

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

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background: var(--primary);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1000;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        gap: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }
}

/* Contenu des sections */
section {
    opacity: 0;
    transition: opacity 0.6s ease;
    display: none;
}

section.active {
    opacity: 1;
    display: block;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
    text-align: center;

}

.hero-content h1 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}


/* Hero section responsive */
.hero-content {
    padding: 2rem;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
}

/* About section responsive */
.about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        margin-top: 2rem;
    }

    .about-text {
        font-size: 1rem;
    }

    .livre-container img {
        max-width: 250px;
    }
}

/* Stats grid responsive */
.stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Container général responsive */
.container {
    padding: 4rem 1rem 2rem;
}

h2 {
    margin: 40px 0 20px;
    color: var(--primary);
    font-size: 2.2rem;
    text-align: center;
  }

@media (max-width: 800px) {
    .container {
        padding: 3rem 1rem 1rem;
    }

    h2 {
        font-size: 2rem;
    }

    
}

/* Conteneur principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem 2rem;
    min-height: 100vh;
}

/* Transitions de page */
.transition-group {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.transition-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--secondary);
    transform: translateX(-100%);
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes slideOut {
    from { transform: translateX(0); }
    to { transform: translateX(100%); }
}

.slide-in {
    animation: slideIn 0.6s cubic-bezier(0.86, 0, 0.07, 1) forwards;
}

.slide-out {
    animation: slideOut 0.6s cubic-bezier(0.86, 0, 0.07, 1) forwards;
}

.en-savoir-plus-button {
    font-size: 1rem;
    padding: 1rem 2.5rem;
    background: var(--primary);
    color: var(--tertiary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.en-savoir-plus-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: var(--secondary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content p {
        font-size: 1.5rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .en-savoir-plus-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

.gallery {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Colonne fluide */
    gap: 15px; /* Espace entre les images */
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

/* Pour que les images aient la même hauteur sans être coupées */
.gallery-item {
    width: 100%;
    height: 300px; /* Hauteur fixe pour toutes les images */
    object-fit: contain; /* Garde l'image entière */
    border-radius: 10px;
    overflow: hidden;
}





/*---------------------------------*/

.section {
    margin-top: 50px;
}

.image-container{
    width: 100%;
    display: flex;
    justify-content: center;
}

.image {
    width: 100%;
    max-width: 800px; /* Limite la largeur pour éviter des images trop grandes */
    max-height: 400px; /* Réduit la hauteur max */
    object-fit: cover; /* Garde une bonne proportion sans déformation */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

/* Centrer les images */
.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.text-signature {
    font-style: italic;
    margin: 2rem 0;
    text-align: center;
}

.about-text a, p a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.about-text a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.livre-container {
    text-align: center;
    margin: 2rem 0;
}

.livre-container img {
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}





#yakatchouker .groupe {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

#yakatchouker .image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

#yakatchouker .photo2 {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

#yakatchouker .centered-text {
    margin-top: 10px;
    background: none;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    width: 100%;
    text-align: center;
}

@media (max-width: 768px) {
    #yakatchouker .groupe {
        flex-direction: column;
        align-items: center;
    }

    #yakatchouker .image-container {
        max-width: 90%;
    }

    #yakatchouker .centered-text {
        font-size: 12px;
    }
}

@media (min-width: 930px) {
    .bugrelou{
        transform:translateY(23px) ;
    }
}








/* Style de base pour la galerie */
#presse .groupe {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
  }
  
  /* Style pour les conteneurs d'images */
  #presse .groupe .image-container {
    position: relative;
    height: 300px; /* Hauteur fixe pour tous les conteneurs */
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
  }
  
  /* Style pour les images */
  #presse .groupe .photo2 {
    width: auto; /* Largeur automatique */
    height: 250px; /* Hauteur fixe pour l'image */
    max-width: 100%; /* Empêcher le débordement horizontal */
    object-fit: scale-down; /* Garde l'image entière visible sans distorsion */
    margin: 0 auto; /* Centre l'image horizontalement */
    transition: transform 0.5s ease;
  }
  
  /* Style pour le texte centré */
  #presse .groupe .centered-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
  }

  
  #presse .groupe .image-container:hover {
    transform: translateY(-5px) scale(1.1);
    z-index: 100;
  }
  
  /* Ajustements pour les écrans plus petits */
  @media (max-width: 768px) {
    #presse .groupe {
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 15px;
    }
    
    #presse .groupe .image-container {
      height: 270px; /* Légèrement réduit pour mobile */
    }
    
    #presse .groupe .photo2 {
      height: 220px;
    }
    
    #presse .groupe .centered-text {
      font-size: 12px;
      padding: 8px;
    }
  }
  
  /* Ajustements pour les très petits écrans */
  @media (max-width: 480px) {
    #presse .groupe {
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
      gap: 10px;
    }
    
    #presse .groupe .image-container {
      height: 230px; /* Encore plus réduit pour très petits écrans */
    }
    
    #presse .groupe .photo2 {
      height: 180px;
    }
  }

























#video .section {
    margin-bottom: 40px;
}
#video .texte2 {
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Nouveaux styles pour la galerie vidéo */
#video .video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

#video .video-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: black;
}

#video .video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

#video .video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
}

#video .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

#video .video-info {
    padding: 15px;
}

#video .video-title {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #ddd;
}

#video .video-description {
    font-size: 0.9rem;
    color: #bbb;
    line-height: 1.4;
}

#video .video-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
}

#video .video-tag {
    background-color: #101010;
    padding: 3px 8px;
    border-radius: 15px;
    font-size: 0.8rem;
    color: #555;
}

#video .video-category {
    color: #fff;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 20px;
}

#video .category-competition {
    background-color: #d32f2f;
}

#video .category-club {
    background-color: #1976d2;
}

#video .category-formation {
    background-color: #388e3c;
}

#video .category-evenement {
    background-color: #f57c00;
}

/* Filtres de catégorie */
#video .video-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

#video .filter-button {
    background-color: #f5f5f5;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.2s;
    font-weight: 500;
}

#video .filter-button:hover {
    background-color: #e0e0e0;
}

#video .filter-button.active {
    background-color: #333;
    color: white;
}

/* Responsive design */
@media (max-width: 768px) {
    #video .video-gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    #video .video-gallery {
        grid-template-columns: 1fr;
    }
}














.intro-text {
    margin-bottom: 30px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.intro-text p {
    margin-bottom: 15px;
}

.yaka-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.yaka-card {
    background: black;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.yaka-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.yaka-image-container {
    overflow: hidden;
    padding-top: 20px;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
}

.yaka-image {
    width: auto;
    height: 400px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.yaka-card:hover .yaka-image {
    transform: scale(1.03);
}

.yaka-info {
    padding: 20px;
    background-color: black;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.yaka-year {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #f0F0F0;
}

.yaka-description {
    font-size: 0.95rem;
    color: #ddd;
    flex-grow: 1;
}

@media (max-width: 768px) {
    .yaka-gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .yaka-image {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .yaka-gallery {
        grid-template-columns: 1fr;
    }
}

.responsive-video-container {
    position: relative;
    padding-bottom: 56.25%;
    margin: 50px auto;
    height: 0;
    overflow: hidden;
    max-width: 100%;
  }
  
  .responsive-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }



  footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
}