/* Importation des polices */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif !important; /* Police par défaut */
}

body {
    background: #f9f9f9;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Styles pour le header et la navigation */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 100;
    background: transparent; /* Transparence */
}

.logo {
    font-size: 1.5em;
    height: 40px;
    text-transform: uppercase;
}

.navigation a {
    text-decoration: none;
    color: #359381; /* Couleur de texte originale */
    padding: 8px 15px;
    border-radius: 20px;
    margin: 0 10px;
    font-weight: 600;
}

.navigation a:hover,
.navigation a.active {
    background: #359381;
    color: #ffffff;
}

/* Styles pour la section des effets */
.effet {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    background: url('./RES_IMG/your-background-image.jpg') no-repeat center center fixed; /* Fixe le background */
    background-size: cover;
}

#text {
    position: absolute;
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: contain;
}

.effet img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
    height: 100%;
}

#plante, #palmier, #arbre {
    position: absolute;
    top: 0;
    left: 0;
}

#plante, #palmier {
    z-index: 2;
}

#arbre {
    z-index: 0;
}

/* Styles pour les cartes */
.ateliers {
    display: flex;
    justify-content: center; /* Centrer les cartes */
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 50px;
    text-align: center;
    background: #003329; /* Couleur de fond de la section */
}

.card {
    position: relative; /* Nécessaire pour l'effet néon */
    background: #1a1a1a00; /* Fond sombre pour l'effet néon */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 300px; /* Taille maximale de la carte */
    margin: 20px;
}





.card-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%; /* Rend l'image ronde */
    margin: 20px auto; /* Centre l'image dans la carte */
}

.card-content {
    padding: 20px;
}

.card-content h2 {
    font-size: 1.5em;
    color: #ccff00; /* Couleur du texte */
    margin-bottom: 10px;
}

.card-text {
    font-size: 1em;
    color: #ffffff; /* Couleur du texte */
    font-family: 'Playfair Display', serif; /* Police élégante */
    font-style: italic; /* Texte en italique */
}

/* Section d'introduction */
.intro {
    background: #003329;
    color: #fff;
    padding: 100px 20px 50px;
    text-align: center;
}

.intro h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.intro p {
    font-size: 1.2em;
}

/* Section principale */
.sec {
    background: #003329;
    padding: 50px 20px;
    text-align: center;
    color: white;
}

.sec h2 {
    font-size: 36px;
    color: #ccff00;
    margin-bottom: 20px;
}

.sec p {
    font-size: 1em;
    color: #fff;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
}

/* Styles pour le footer */
.footer-dark {
    background: #003329;
    color: #f0f9ff;
    padding: 50px 0;
    text-align: center;
}

.footer-dark h3 {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 12px;
}

.footer-dark p {
    opacity: 0.6;
    max-width: 800px;
    margin: 0 auto 12px;
}

.footer-dark .social a {
    font-size: 20px;
    width: 36px;
    height: 36px;
    line-height: 36px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4);
    margin: 0 8px;
    color: #fff;
    opacity: 0.75;
}

.footer-dark .social a:hover {
    opacity: 0.9;
}

.footer-dark .copyright {
    opacity: 0.3;
    font-size: 13px;
    padding-top: 24px;
}

/* Animations des oiseaux */
.bird {
    background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/174479/bird-cells-new.svg'); /* Remplacez par le chemin correct si nécessaire */
    background-size: auto 100%;
    width: 88px;
    height: 125px;
    will-change: background-position;
    animation-name: fly-cycle;
    animation-timing-function: steps(10);
    animation-iteration-count: infinite;
}

.bird--one {
    animation-duration: 1s;
    animation-delay: -0.5s;
}

.bird--two {
    animation-duration: 0.9s;
    animation-delay: -0.75s;
}

.bird--three {
    animation-duration: 1.25s;
    animation-delay: -0.25s;
}

.bird--four {
    animation-duration: 1.1s;
    animation-delay: -0.5s;
}

.bird-container {
    position: absolute;
    top: 20%;
    left: -10%;
    transform: scale(0.5) translateX(-10vw);
    will-change: transform;
    animation-name: fly-right-one;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.bird-container--one {
    animation-duration: 15s;
    animation-delay: 0;
}

.bird-container--two {
    animation-duration: 16s;
    animation-delay: 1s;
}

.bird-container--three {
    animation-duration: 14.6s;
    animation-delay: 9.5s;
}

.bird-container--four {
    animation-duration: 16s;
    animation-delay: 10.25s;
}

@keyframes fly-cycle {
    100% {
        background-position: -880px 0;
    }
}

@keyframes fly-right-one {
    0% {
        transform: scale(0.3) translateX(-10vw);
    }
    10% {
        transform: translateY(2vh) translateX(10vw) scale(0.4);
    }
    20% {
        transform: translateY(0vh) translateX(30vw) scale(0.5);
    }
    30% {
        transform: translateY(4vh) translateX(50vw) scale(0.6);
    }
    40% {
        transform: translateY(2vh) translateX(70vw) scale(0.6);
    }
    50% {
        transform: translateY(0vh) translateX(90vw) scale(0.6);
    }
    60% {
        transform: translateY(0vh) translateX(110vw) scale(0.6);
    }
    100% {
        transform: translateY(0vh) translateX(130vw) scale(0.6);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .logo {
        margin-bottom: 10px;
    }

    .navigation {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .intro {
        padding: 50px 20px;
    }

    .portfolio {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }

    .footer-dark p {
        margin: 0 20px;
    }
}

/* Styles pour la section de contact */
.contact-section {
    background: #f9f9f9;
    padding: 50px 20px;
    text-align: center;
}

.contact-section h1 {
    font-size: 2.5em;
    color: #003329;
    margin-bottom: 20px;
}

.contact-section form {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #003329;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 1em;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #359381;
}

button[type="submit"] {
    background: #359381;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button[type="submit"]:hover {
    background: #2a735d;
}

/* Importation des polices */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif !important; /* Police par défaut */
}

body {
    background: #f9f9f9;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Styles pour le header et la navigation */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 100;
    background: transparent; /* Transparence */
}

.logo {
    font-size: 1.5em;
    height: 40px;
    text-transform: uppercase;
}

.navigation a {
    text-decoration: none;
    color: #359381; /* Couleur de texte originale */
    padding: 8px 15px;
    border-radius: 20px;
    margin: 0 10px;
    font-weight: 600;
}

.navigation a:hover,
.navigation a.active {
    background: #359381;
    color: #ffffff;
}

/* Styles pour la section contact */
.contact-section {
    background: #f9f9f9;
    padding: 50px 20px;
    text-align: center;
}

.contact-section h1 {
    font-size: 2.5em;
    color: #003329;
    margin-bottom: 20px;
}

.contact-section form {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #000000;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #00fffc;
    font-size: 1em;
    background: transparent;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #359381;
}

button[type="submit"] {
    background: #359381;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button[type="submit"]:hover {
    background: #2a735d;
}

/* Styles pour le footer */
.footer-dark {
    background: #003329;
    color: #f0f9ff;
    padding: 50px 0;
    text-align: center;
}

.footer-dark h3 {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 12px;
}

.footer-dark p {
    opacity: 0.6;
    max-width: 800px;
    margin: 0 auto 12px;
}

.footer-dark .social a {
    font-size: 20px;
    width: 36px;
    height: 36px;
    line-height: 36px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4);
    margin: 0 8px;
    color: #fff;
    opacity: 0.75;
}

.footer-dark .social a:hover {
    opacity: 0.9;
}

.footer-dark .copyright {
    opacity: 0.3;
    font-size: 13px;
    padding-top: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .logo {
        margin-bottom: 10px;
    }

    .navigation {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-section {
        padding: 20px;
    }

    .footer-dark p {
        margin: 0 20px;
    }
}