:root {
    --primary-color: #DAA520;
    --background-color: #121212;
    --text-color: #fffAfa;
    --nav-height: 80px;
    --h2-color: #DAA520;
}

.darkmode {
    --background-color: #FFFAFA;
    --text-color: #050505;
}








@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');



body {
    font-family: "Poppins", system-ui, sans-serif;
    background-color: #121212;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 2.3em;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0; 
    background: url('../images/hero.JPG') no-repeat center center/cover;
    opacity: 0.5;
    z-index: 0;
}

body.darkmode .hero::before {
    background: url('../images/hero.JPG') no-repeat center center/cover;
    opacity: 1;
    z-index: 0;
}

.titre{
  font-family: 'Anton', sans-serif;
    color: #ffffff;
    font-size: 4.45rem;
    max-width: 800px;
    z-index: 1;
    font-weight: 1000;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(218, 165, 32, 0.3);
    line-height: 1.3;
    animation: fadeIn 1.5s ease;
}

button {
  background-color: #fcb900;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  padding: 15px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
}

button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 204, 0, 0.4);
}

.button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #DAA520;
  border: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 20px rgba(218, 165, 32, 0.164);
  cursor: pointer;
  transition-duration: .3s;
  overflow: hidden;
  position: relative;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.button svg {
  width: 20px;
  height: 20px;
  transition: width .3s ease, height .3s ease, transform .3s ease;
  color: #ffffff;
}

.button:hover {
  width: 190px;
  border-radius: 50px;
  transition-duration: .3s;
  background-color: #DAA520;
  align-items: center;
}

.button:hover .svgIcon {
  width: 50px;
  transition-duration: .3s;
  transform: translateY(60%);
}

.button::before {
  position: absolute;
  left: -20px;
  content: "Nous rejoindre";
  color: white;
  transition-duration: .3s;
  font-size: 2px;
}

.button:hover::before {
  font-size: 13px;
  opacity: 1;
  transform: translateX(60px);
  transition-duration: .3s;
}

.button:hover .bi.bi-arrow-right-circle {
  transform: translateX(70px);
  transition-duration: .3s
}

h2 {
  margin-left: 80px;
    font-family: "Poppins", system-ui, sans-serif;
    font-size: 4rem;
    color: #DAA520;
    padding-bottom: 0px;
    padding-left: 20px;
    background: url(../images/ligne.png);
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    animation: fadeIn 1.5s ease;

}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

body.darkmode h2{
  background: url(../images/ligne_light.png);
  background-position: bottom center;
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
}


h1{
    color: #DAA520;
}

.histoire {
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1em 2em;
    position: relative;
    z-index: 1;
}

.histoire .histoire-content {
    flex: 1;
    color: var(--text-color);
    text-align: left;
    order: 1;
}

.histoire p{
    font-size: 1em;
}

.geuna {
    width: 100%;
    max-width: 350px;
    flex-shrink: 0;
    order: 2;
    border-radius: 10px;
}

#categories {
  padding: 80px 20px;
  text-align: center;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.categories-grid1 {
  padding-top: 30px;
  padding-left: 20px;
  padding-right: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.categorie{
    position: relative;
    overflow: hidden;
    border: 3px solid #FCB900;
    border-radius: 10px;
    transition: border-color 0.3s ease;
}

.categorie img {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
  filter: brightness(30%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.categorie p{
    font-size: 20px;
    color: #FCB900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: color 0.3s ease, font-size 0.3s ease;
}

.categorie:hover img {
  filter: brightness(80%);
  transform: scale(1.05);
}

.categorie:hover {
  border-color: #FFFAFA;
}

.categorie:hover p {
  color: #FFFAFA;
  font-size: 22px;
}

.logo_ap {
  display: block;
  position: absolute;   
  left: 50%;
  top: 170%;
  transform: translate(-50%, -50%);
  width: 60%;
  max-width: 700px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.1;
  mix-blend-mode: normal;
}


.palmares {
  background: #121212;
  color: white;
  text-align: center;
  padding: 5rem 2rem;
  font-family: "Poppins", sans-serif;
}

body.darkmode .palmares {
  background: #FFFAFA;
  color: white;
  text-align: center;
  padding: 5rem 2rem;
  font-family: "Poppins", sans-serif;
}

.palmares h2 {
  color: #DAA520;
  font-size: 3rem;
  margin-bottom: 3rem;
}

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

.palmares-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(218, 165, 32, 0.3);
  border-radius: 20px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.darkmode .palmares-card{
  background: rgba(218, 165, 32, 0.3);
  border: 1px solid rgba(218, 165, 32, 0.3);
  border-radius: 20px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.palmares-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(218, 165, 32, 0.4);
}

.palmares-card h3 {
  color: #DAA520;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.palmares-card ul {
  list-style: none;
  padding: 0;
}

.palmares-card li {
  margin: 0.5rem 0;
  line-height: 1.6;
}


.coaches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 80px 20px;
  text-align: center;
}

.coaches img {
  width: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.coaches img.eric {
  width: 180px;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
}

.coaches h3 {
  color: #DAA520;
  margin-top: 1rem;
}

.or {
  color: #DAA520;
}

.argent {
  color: #C0C0C0;
}

.bronze {
    color: #CD7F32;
}

#theme-switcher-container {
    color: #ffffff;
}

@media screen and (max-width: 768px) {

    .button {
        z-index: 0;
        width: 190px;       
        border-radius: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: none;
    }

    .button::before {
        font-size: 13px;
        opacity: 1;
        transform: translateX(60px);
    }

    .button svg {
        transform: translateX(70px);
    }

        .histoire {
        flex-direction: column;
        text-align: center;
        padding: 2rem 4%;
    }

    .histoire .histoire-content {
        order: 1;
        width: 100%;
    }

    .geuna {
        order: 2;
        width: 60%;
        margin-top: 1.5rem;
        align-self: center;
    }

    .logo_ap { display: none; }
}

