/* Reset & Styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* 🔹 Barre de navigation */
.navbar {
    position: fixed;
    display: flex;
    width: 100%;
    top: 0;
    left: 0;
    align-items: center;
    justify-content: space-between;
    background-color: #0EB062;
    padding: 15px 30px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 5; 
}

/* 🔹 Logo */
.logo img {
    width: 80px;
    height: 80px;
}

/* 🔹 Menu principal */
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links li a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #3e3c3c;
}

/* 🔹 Bouton d'inscription */
.btn-inscription {
    background-color: #ffd226;
    font-size: clamp(0.8rem, 2vw, 1rem);
    padding: 10px 18px;
    border-radius: 20px;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-inscription:hover {
    background-color: #e7cf6f;
}

/* 🏆 Menu burger */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger div {
    width: 30px;
    height: 3px;
    background-color: #333;
    margin: 5px;
    transition: all 0.3s ease;
}

/* 📱 Mobile : Menu burger visible */
@media screen and (max-width: 1768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: #0EB062;
        position: absolute;
        top: 100px;
        right: 0;
        width: 100%;
        padding: 10px;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    }

    .nav-links.active {
        display: flex;
    }

    .burger {
        display: flex;
    }

    /* Animation du menu burger */
    .burger.toggle div:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger.toggle div:nth-child(2) {
        opacity: 0;
    }

    .burger.toggle div:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Logo plus grand */
    .logo img {
        width: 80px; /* Taille augmentée */
        height: auto; /* Pour garder les proportions */
    }
}

    
    /* Lightbox (fenêtre d'image) */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

/* Image agrandie */
.lightbox-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255,255,255,0.5);
}

/* Bouton fermer (X) */
.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

