/* Reset des styles */
body, h1, h2, h3, p, ul, li, a, button {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Corps principal */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.8;
    background: linear-gradient(to bottom, #e0f7fa, #ffffff);
    background-repeat: no-repeat;
    background-size: cover;
    color: #333;
    margin: 0;
}

/* Conteneur général */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}
header {
            position: relative;
            height: 100vh; /* S'assure que le header occupe toute la hauteur de l'écran */
             background: linear-gradient(to right, #0077c8, #005f99);
            color: white;
            text-align: center;
            padding: 50px;
            overflow: hidden;
        }

@keyframes floating {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

.bubbles-container {
    position: relative;
    width: 100%;
    height: 100vh;
}

.bubble {
    position: absolute;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.2);
    animation: floating 4s ease-in-out infinite;
    transition: transform 0.2s ease; /* Transition pour étirement fluide */
}

/* Retirer l'effet d'étirement au survol */
.bubble:hover {
    animation: none; /* Désactive l'animation de flottement */
}




        .overlay-title {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 3rem;
            font-weight: bold;
            z-index: 1;
            animation: fadeIn 2s ease-out;
        }

        @keyframes fadeIn {
            0% {
                opacity: 0;
            }
            100% {
                opacity: 1;
            }
        }
.mobile-header {
    position: relative;
    width: 100%;
    height: 60vh; /* Hauteur ajustée pour mobile */
    overflow: hidden;
    background-color: #f5f5f5; /* Fond léger */
}

/* Conteneur des bulles pour mobile */
.mobile-bubbles-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* Bulles avec une taille adaptative */
.mobile-bubble {
    position: absolute;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    opacity: 0.8;
}

/* Chaque bulle avec des tailles et positions adaptées */
.mobile-bubble-1 {
    top: 5%;
    left: 2%;
    width: 35vw;
    height: 35vw;
    background-image: url('assets/images/IMG_20250206_104911.jpg');
}

.mobile-bubble-2 {
    top: 10%;
    right: 10%;
    width: 25vw;
    height: 25vw;
    background-image: url('assets/images/IMG_20250206_104913.jpg');
}

.mobile-bubble-3 {
    top: 40%;
    left: 5%;
    width: 40vw;
    height: 40vw;
    background-image: url('assets/images/IMG_20250206_104920.jpg');
}

.mobile-bubble-4 {
    top: 50%;
    right: 5%;
    width: 22vw;
    height: 22vw;
    background-image: url('assets/images/IMG_20250206_104926.jpg');
}

.mobile-bubble-5 {
    bottom: 5%;
    left: 5%;
    width: 18vw;
    height: 18vw;
    background-image: url('assets/images/IMG_20250206_104919.jpg');
}

/* Titre centré au-dessus des bulles */
.mobile-overlay-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5vw;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    padding: 10px 20px;
    border-radius: 10px;
}
/* Navigation */
nav {
    margin-top: -20px;
}

.navbar-nav .nav-link {
  transition: color 0.3s ease-in-out;
}
.navbar-nav .nav-link:hover {
  color: #f39c12; /* Couleur accent */
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    background: #005f99;
    padding: 15px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-bottom: 3px solid #ffcc00;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: #ffcc00;
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Section principale */
main {
    background: #ffffff;
    padding: 40px;
    margin: 30px auto;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

main h2 {
    font-size: 2.5rem;
    color: #0077c8;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 2px solid #ffcc00;
    display: inline-block;
    padding-bottom: 5px;
}

main p {
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Boutons */
button, .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    background: linear-gradient(to right, #0077c8, #005f99);
    color: #ffffff;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

button:hover, .btn:hover {
    background: #ffcc00;
    color: #005f99;
    transform: translateY(-3px);
}

/* Pied de page */
footer {
    background: #333333;
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
    border-top: 5px solid #ffcc00;
    position: relative;
}

footer p {
    font-size: 1rem;
}

/* Animation d'ondes en bas */
footer::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: url('wave-footer.png') repeat-x;
    z-index: 1;
    animation: wave 5s linear infinite;
}

/* Animation de vagues */
@keyframes wave {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 100% 0;
    }
}
