:root {
    --primary: #e10600;
    --dark: #000000;
    --light: #ffffff;
    --gray: #f2f2f2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rajdhani', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark);
    color: var(--light);
}


header {
    text-align: center;
    color: #fff; 
    /*Couleur sous le logo */
    background: #000000;  
    /* Fond sous logo en forme de glace*/ 
    /*background-image:url(../img/bg1.jpg);    
    background-repeat: no-repeat;
    background-position: center; 
    margin-left:auto;
    margin-right:auto;               */
}

.img-responsive, .thumbnail > img, .thumbnail a > img, .carousel-inner > .item > img, .carousel-inner > .item > a > img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* === Menu burger pour écran étroit === */
@media (max-width: 768px) {
  .burger {
    display: block;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 1001;
  }

  #nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    text-align: center;
    padding: 1rem 0;
    z-index: 1000;
  }

  #nav-links.active {
    display: flex;
  }
}

/* === Menu horizontal sur grand écran === */
@media (min-width: 769px) {
  .burger {
    display: none;
  }

  #nav-links {
    display: flex;
    flex-direction: row;
    position: static;
    background: none;
    padding: 0;
  }
}




nav {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.95);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    transition: 0.3s;
}

nav.scrolled {
    padding: 1rem 2rem;
    background: var(--primary);
}

nav .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
}

nav.scrolled .logo {
    color: white;
}


nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}



nav ul li a {
    position: relative;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.5rem;
    transition: color 0.3s;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: -4px;
    background-color: white;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}


nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    transition: 0.3s;
}



nav .social-icons {
    display: flex;
    gap: 1.2rem;
    font-size: 1.6rem;
    transition: transform 0.3s, color 0.3s;
}

nav .social-icons a:hover,
footer .footer-socials a:hover {
    transform: scale(1.2);
}

nav .social-icons a,
footer .footer-socials a {
    transition: transform 0.3s, color 0.3s;
}

nav .social-icons a i {
    font-size: 1.5rem;
    /* Tu peux essayer 2rem ou plus selon ton goût */
    transition: transform 0.3s, color 0.3s;
}

nav .social-icons a i:hover {
    transform: scale(1.2);

}

section {
    padding: 3rem 1rem 4rem;
    max-width: 1000px;
    margin: auto;
}

section .manifestation{
    background-color: #111;
    border-radius: 10px;
}


section h2 {
    text-align: center;
    color: var(--primary);
    font-size: 2.6rem;
    /* Avant : 2.2rem */
    margin-bottom: 1.5rem;
    position: relative;
}


section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0.5rem auto 0;
    border-radius: 3px;
}

section p {
    text-align: center;
    line-height: 1.6;
}






/* Assure une bonne lisibilité des titres dans ces sections */
#equipe h2,
#soutenir h2,
#soutenir h3 {
    color: var(--dark);
}

/* Les liens sponsor restent visibles malgré le fond rouge */
#soutenir .sponsors img {
    filter: none; /* pour voir les logos en couleur sur fond rouge */
}


.separator {
    height: 30px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
    margin: 3rem 0;
}


.event-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  max-width: 1000px;
  margin: auto;
}

.event-card .btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  background: var(--primary);
  color: white;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s;
}

.event-card .btn:hover {
  background: #a00000;
}


header .container {
    padding-top: 100px;
    padding-bottom: 50px;
}

header img {
    display: block;
    margin: 0 auto 20px;
}

header .intro-text .name {
    display: block;
    text-transform: uppercase;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 2em;
    font-weight: 700;
}

header .intro-text .skills {
    font-size: 1.25em;
    font-weight: 300;
}

@media(min-width:768px) {
    header .container {
        padding-top: 200px;
        padding-bottom: 100px;
    }

    header .intro-text .name {
        font-size: 4.75em;
    }

    header .intro-text .skills {
        font-size: 1.75em;
    }
}
hr.star-light,
hr.star-primary {
    margin: 25px auto 30px;
    padding: 0;
    max-width: 250px;
    border: 0;
    border-top: solid 5px;
    text-align: center;
}



hr.star-light {
    border-color: #fff;
}

hr.star-light:after {
    color: #fff;
    background-color: #BA090C;
}

hr.star-primary {
    border-color: #2c3e50;
}

hr.star-primary:after {
    color: #2c3e50;
    background-color: #fff;
}



.photo-equipe img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 2rem;
}

.formulaire-contact form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.formulaire-contact input,
.formulaire-contact textarea {
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.formulaire-contact button {
    padding: 1rem;
    background: var(--primary);
    color: var(--light);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.formulaire-contact button:hover {
    background: #a00000;
}

.sponsor-tier {
    margin-bottom: 2rem;
}

.sponsor-tier h3 {
    margin-bottom: 1rem;
    text-align: center;
}

.sponsors {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.sponsors img {
    max-height: 80px;
    filter: grayscale(100%);
    transition: 0.3s;
}

.sponsors img:hover {
    filter: none;
}

.sponsor-tier h3.sponsor-gold {
    font-size: 2rem;
    color: gold !important;
    text-shadow: 1px 1px 2px black;
}

.sponsor-tier h3.sponsor-silver {
    font-size: 1.6rem;
    color: silver !important;
    text-shadow: 1px 1px 2px black;
}

.sponsor-tier h3.sponsor-bronze {
    font-size: 1.4rem;
    color: #cd7f32 !important;
    /* bronze */
    text-shadow: 1px 1px 2px black;
}

/* Fond rouge + texte noir pour la section Équipe */
#equipe, #soutenir {
    background-color: var(--primary);

    padding: 3rem 1rem 4rem;
    border-radius: 10px;
}


#equipe h2::after, #soutenir h2::after {
    background: var(--dark)
}

footer {
    background-color: #111;
    color: white;
    padding: 3rem 1rem 1rem;
    font-size: 0.95rem;
    margin-top: 3rem;
}

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.footer-column {
    flex: 1;
    min-width: 220px;
}

.footer-left {
    text-align: left;
}

.footer-center {
    text-align: center;
}

.footer-right {
    text-align: right;
}

.footer-column h4 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
}

.footer-column p,
.footer-column a {
    margin: 0.4rem 0;
    color: white;
    text-decoration: none;
}

.footer-column a:hover {
    text-decoration: underline;
    color: var(--primary);
}

.footer-icons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    margin-top: 0.5rem;
}

.footer-icons a {
    font-size: 1.6rem;
    color: white;
    transition: transform 0.3s, color 0.3s;
}

.footer-icons a:hover {
    color: var(--primary);
    transform: scale(1.2);
}

.footer-right .sponsors {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-right img {
    max-height: 60px;
    filter: grayscale(100%);
    transition: 0.3s;
}

.footer-right img:hover {
    filter: none;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.footer-right .sponsor-gold {
    width: 100%;
    text-align: right;
}



.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: #aaa;
}

.footer-icons a i {
    font-size: 40px;
    margin: 0 10px;
}


.sponsor-gold {
    color: gold;
    text-shadow: 1px 1px 2px black;
    font-weight: bold;
}

.align-right {
    text-align: right;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        text-align: center !important;
    }

    .footer-right .sponsors {
        justify-content: center;
    }

    .footer-column {
        margin-bottom: 2rem;
    }
}