/* Import de la police Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
}

/* Barre de navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #FE5555;
    padding: 15px 20px;
    position: relative;
    z-index: 100;
}

/* Logo */
.navbar .logo img {
    max-width: 90px; /* Réduit la taille du logo (ajuste cette valeur selon tes préférences) */
    height: auto;
}

/* Texte de la navbar */
.navbar a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; /* Bold */
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    transition: background 0.3s ease-in-out, transform 0.2s;
    font-size: 1.1rem; /* Augmente la taille du texte ici (ajuste cette valeur selon tes préférences) */
}

.navbar a:hover {
    background-color: #FE8888;
    transform: scale(1.1);
    border-radius: 5px;
}

/* Menu principal */
.menu {
    display: flex;
    gap: 20px;
}

/* Menu burger */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 28px;
    color: white;
    margin-left: auto; /* Aligner le bouton burger à droite */
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden; /* Empêche l'image de dépasser la section */
}

.hero-image {
    position: absolute; /* Permet à l'image de se placer en arrière-plan */
    top: 0;
    left: 0;
    width: 100%; /* L'image prend toute la largeur de la section */
    height: 100%; /* L'image prend toute la hauteur de la section */
    object-fit: cover; /* Cette propriété fait en sorte que l'image couvre toute la section sans se déformer */
    filter: blur(2px); /* Applique un flou à l'image */
    z-index: -1; /* Place l'image derrière le contenu */
}

.hero-content {
    background: rgba(0, 0, 0, 0.5); /* Fond semi-transparent pour améliorer la lisibilité */
    padding: 20px;
    border-radius: 10px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}



/* Bouton */
.btn {
    display: inline-block;
    background: #000;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}

.btn:hover {
    background: #222;
}

/* Section Vidéos */
.videos {
    text-align: center;
    padding: 70px 20px; /* Augmentation du padding pour plus d'espace */
    background: #f8f8f8;
}

.videos h2 {
    font-size: 2rem;
    margin-bottom: 30px; /* Plus d'espace sous le titre */
}

.video-grid {
    display: flex;
    justify-content: center;
    gap: 60px; /* Augmentation de l'espace entre les vidéos */
    flex-wrap: wrap;
}

.video {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    margin-bottom: 30px; /* Espacement supplémentaire entre les vidéos */
}

.video img {
    width: 100%;
    max-width: 300px;
    border-radius: 5px;
}

.video h3 {
    margin-top: 10px;
    font-size: 1.2rem;
}

.video:hover {
    transform: scale(1.05);
}

.video iframe {
    width: 90vw; /* Prend 90% de la largeur de la fenêtre */
    max-width: 960px; /* Plus grande taille sur écran large */
    height: calc(90vw * 9 / 16); /* Garde un ratio 16:9 */
    max-height: 540px;
    border-radius: 10px;
}



/* À Propos */
.about {
    text-align: center;
    padding: 50px;
    background: linear-gradient(0deg, #FE5757, #FE8888);
    color: white;
}

.about h2 {
    font-size: 2rem;
}

.about p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 20px auto;
}

/* ========== FOOTER ========== */

.footer,
footer {
    text-align: center;
    background: #222;
    color: white;
    padding: 20px;
}

.footer .socials,
footer .socials {
    margin-top: 10px;
}

.footer .socials a img,
footer .socials a img {
    width: 30px;
    height: 30px;
    margin: 0 10px;
    transition: transform 0.3s;
    object-fit: contain;
}

.footer .socials a:hover img,
footer .socials a:hover img {
    transform: scale(1.2);
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    /* Menu */
    .menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: -100vh; /* Cache le menu hors de l'écran */
        left: 0;
        width: 100%;
        background-color: #FE8888;
        text-align: center;
        transition: top 0.4s ease-in-out;
        z-index: 99; /* Pour être sous la navbar */
    }

    .menu a {
        padding: 15px;
        display: block;
        width: 100%;
    }

    .menu-toggle {
        display: block;
    }

    /* Affichage du menu au clic */
    .menu-active {
        top: 100%; /* Positionne le menu sous la navbar */
    }

    /* Hero Section */
    .hero {
        height: 60vh; /* Moins de hauteur sur mobile */
    }

    .hero h1 {
        font-size: 2rem; /* Réduit la taille du titre */
    }

    .hero p {
        font-size: 1rem; /* Réduit la taille du texte */
    }

    .btn {
        padding: 8px 16px; /* Bouton plus petit */
        font-size: 0.9rem; /* Réduit la taille du texte du bouton */
    }

    /* Vidéos */
    .video-grid {
        flex-direction: column; /* Affiche les vidéos en colonne sur mobile */
        gap: 10px;
    }

    .video {
        width: 100%;
        padding: 10px;
    }
}

/* ===================== NEWSLETTER ===================== */
.newsletter {
  background: linear-gradient(0deg, #FE5757, #FE8888);
  padding: 60px 20px; /* espace autour du bloc blanc */
  text-align: center;
}

.newsletter-box {
  background: #fff;
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.newsletter-box h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #FE5555;
}

.newsletter-box p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: #333;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 250px;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
}

.newsletter-form button {
  background: #FE5555;
  color: white;
  padding: 12px 20px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.newsletter-form button:hover {
  background: #FE8888;
}


