/* ========== GLOBAL ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    overflow-x: hidden;
}

h2 {
    color: #ff6f6f;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 2em;
    font-stretch: expanded;
    font-family: 'Pacifico', cursive, sans-serif;
}

h3 {
    color: #8d6a5d;
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 1.5em;
    font-stretch: expanded;
}

p {
    color: #9c6653;
    font-size: 1.2em;
    line-height: 1.5em;
    text-align: justify;
    font-family: 'Baskerville', serif;
}

section {
    padding: 60px 20px;
    background-color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* ========== NAVIGATION ========== */
nav {
    padding: 15px 0;
    height: auto; /* hauteur automatique pour s'adapter au contenu */
    width: 100%;
    z-index: 1000;
    margin: 0;
    position: fixed;
    top: 0;
    left: 0;
background: linear-gradient(
        90deg, 
        rgba(255,245,245,0.75), 
        rgba(255,240,245,0.75)
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 4px 15px rgba(255,150,150,0.1);
}

nav ul {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 0 auto;
}

nav ul li a {
    text-decoration: none;
    color: rgb(70, 187, 187); /* doux bleu marine pour lisibilité */
    font-weight: 700;
    transition: color 0.3s, transform 0.2s, background 0.3s;
    padding: 8px 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    /* dégradé pastel rose → bleu, adapté petite enfance */
   
}

nav ul li a i {
    font-size: 1em;
}

nav li {
    list-style-type: none;
}

nav ul li a:hover {
    color: #ff6f6f;
    transform: scale(1.05);
    background-color: rgba(255, 111, 111, 0.1);
}
.initiales{
    position:fixed;
    top:10px;
    left:20px;
    font-size:1em;
    font-weight:bold;
    color:rgb(89, 219, 219);
    font-family: 'Pacifico', cursive;
    z-index: 1001;
    display:none;



}
#initial{    
    color:#ff6f6f;
    z-index: 1001;
    font-size: 1.5em;
}
#burger {
    position: fixed;
    top: 15px;
    right: 20px;
    display: none;
    cursor: pointer;
    z-index: 1001;
    border-style:dashed;
    border-width: 2px;
    border-color: #ff6f6f;
    transition: all 0.3s ease;
    border-radius: 50%;
    background-color: white;
}

#burger:hover {
    background-color: #ff6f6f;
    transform: scale(1.05);
}

#burger span {
    font-size: 1.5em;
    color: #ff6f6f;
    transition: color 0.3s ease;
    padding: 10px;
}

#burger:hover i {
    color: white;
}

#close {
    font-weight: bold;
    color: #ff6f6f;
    font-size: 1.8em;
    display: none;
    cursor: pointer;
    text-align: right;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

#close:hover {
    color: #ff4c4c;
    transform: scale(1.1);
}

#close i {
    font-size: 1.2em;
}

#nav_mobile {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    width: 280px;
    height: 100vh;
    z-index: 1002;
    padding: 20px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

#nav_mobile ul {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 10px;
    margin-top: 20px;
}

#nav_mobile ul li a {
    color: #8d6a5d;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#nav_mobile ul li a:hover {
    background-color: #ffefef;
    color: #ff6f6f;
    transform: translateX(5px);
}

#nav_mobile ul li a i {
    font-size: 1.2em;
    width: 25px;
    text-align: center;
    backdrop-filter: blur(5px);

}

/* ========== HERO SECTION ========== */
.hero {
    background-image: url('../images/image_hero.png');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    font-family: 'Pacifico', cursive;
    position: relative;
    
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.hero-text {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 3em;
    margin-bottom: 30px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.hero-text h3 {
    font-size: 2em;
    margin-bottom: 50px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
@media (min-width: 1200px) {
    .hero h2 {
        font-size: 4.5em;
        line-height: 1.05;
    }
}

.hero .btn {
    background-color: #ff6f6f;
    color: white;
    
    padding: 15px 30px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 111, 111, 0.4);
}

    
.hero .btn:hover {
    background-color: #ff4c4c;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 111, 111, 0.6);
}

/* ========== PRÉSENTATION ========== */
#profil {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    gap: 40px;
    margin: 0 auto;
}

#profil_text {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 20px;
}

#profil img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(196, 125, 154, 0.3);
    transition: transform 0.3s ease;
}

#profil img:hover {
    transform: scale(1.05);
}

/* ========== DIPLÔMES ========== */
#diplomes ul {
    list-style-type: none;
    padding-left: 0;
}

#diplomes ul li {
    background-color: #fff;
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    width: fit-content;
    font-size: 1em;
    font-weight: lighter;
    color: #8d6a5d;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#diplomes ul li:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

#diplomes {
    background-color: #ffefef;
}

#diplomes_ensemble {
    padding-top: 30px;
    display: flex;
    justify-content: space-around;
    width: 80%;
    margin: 0 auto;
    gap: 40px;
}

/* ========== TÉMOIGNAGES ========== */
#testimonials {
    background-color: #f8f8f8;
}

.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    max-width: 1200px;
    margin: 40px auto;
}

.testimonial {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4em;
    color: #fcc2c2;
    font-family: Georgia, serif;
}

.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-text {
    font-style: italic;
    color: #9c6653;
    margin-bottom: 15px;
    text-align: left;
}

.testimonial-author {
    color: #ff6f6f;
    font-weight: bold;
    text-align: right;
    font-size: 1em;
}

/* ========== EXPÉRIENCES ========== */
#gallerie {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 20px;
}

.experience_item img {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.experience_item img:hover {
    transform: scale(1.05);
}

#experiences h3 {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 50px;
}

.experience_item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ffefef;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience_item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* ========== ACTIVITÉS ========== */
#activites {
    background-color: #ffefef;
}

#activites h3 {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 50px;
}

.activities-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.activity {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    padding: 30px;
    border: none;
    border-radius: 15px;
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.activity h3 {
    color: #ff6f6f;
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.activity p {
    text-align: center;
    font-size: 1em;
}

/* ========== LOGEMENT ========== */
#logement h3 {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 50px;
}

.slider-container {
    position: relative;
    max-width: 700px;
    margin: 40px auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    border-radius: 15px;
}

.slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

figcaption {
    text-align: center;
    color: #8d6a5d;
    font-weight: bold;
    font-size: 1.3em;
    margin-top: 15px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.9);
}

.prev,
.next {
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    background-color: rgba(141, 106, 93, 0.7);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transform: translateY(-50%);
    font-size: 1.5em;
    transition: all 0.3s ease;
}

.prev:hover,
.next:hover {
    background-color: rgba(255, 111, 111, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* ========== HORAIRES ========== */
#horaires {
    background-color: #ffefef;
}

table {
    width: 60%;
    max-width: 700px;
    border-collapse: collapse;
    margin: 40px auto;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

table th,
table td {
    padding: 15px 20px;
    border: 1px solid #f0d0d0;
}

table th {
    background-color: #ff6f6f;
    color: white;
    font-weight: bold;
    font-size: 1.1em;
}

table td {
    text-align: center;
    color: #8d6a5d;
    font-weight: 500;
}

table tr:nth-child(odd) {
    background-color: #fff;
}

table tr:nth-child(even) {
    background-color: #ffefef;
}

table tr:hover {
    background-color: #fce4de;
}

/* ========== CONTACT ========== */
#contact {
    background-color: #f8f8f8;
}

#contact h3 {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 50px;
}

#rdvForm {
    max-width: 500px;
    margin: 40px auto;
    color: #8d6a5d;
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

#rdvForm div {
    margin-bottom: 20px;
}

#rdvForm label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #8d6a5d;
}

#rdvForm input,
#rdvForm textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #f0d0d0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

#rdvForm input:focus,
#rdvForm textarea:focus {
    outline: none;
    border-color: #ff6f6f;
}

#contact button {
    font-family: 'Pacifico', cursive, sans-serif;
    padding: 15px 30px;
    color: #fff;
    background-color: #ff6f6f;
    border-radius: 30px;
    border: none;
    text-decoration: none;
    cursor: pointer;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 111, 111, 0.3);
    width: 100%;
}

#contact button:hover {
    background-color: #ff4c4c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 111, 111, 0.5);
}

#confirmationMessage {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    background-color: #d4edda;
    border: 2px solid #6cb4af;
    border-radius: 10px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#map {
    max-width: 800px;
    margin: 60px auto;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

#adresse-texte {
    font-size: 1.2em;
    color: #8d6a5d;
    margin: 20px 0;
    font-weight: bold;
}

iframe {
    width: 100%;
    max-width: 700px;
    height: 400px;
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

/* ========== FOOTER ========== */
footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background-color: #fce4de;
    padding: 30px 20px;
    margin-bottom: 0;
    text-align: center;
}
.footer-content{

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:20px;
}

footer p {
    color: #8d6a5d;
    font-size: 1em;
    margin: 5px 0;
}

footer a {
    color: #ff6f6f;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #962626;
}
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}
.social-links a {
    color: #ff6f6f;
    font-size: 1.5em;
    transition: color 0.3s ease;
}
.social-links a:hover {
    color: #962626;
}
/* ========== CV PAGE ========== */
.cv_page {
    font-family: 'Arial', sans-serif;
    background-color: #fff;
    color: #ff6f6f;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.cv_page h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #ff6f6f;
    font-family: 'Pacifico', cursive, sans-serif;
}

.cv-container {
    display: flex;
    max-width: 900px;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.left-column {
    background-color: #ffefef;
    width: 35%;
    padding: 20px;
    border-radius: 10px 0 0 10px;
}

.left-column .profile {
    text-align: center;
    margin-bottom: 20px;
}

.left-column img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.left-column h1 {
    font-size: 1.5em;
    margin-bottom: 5px;
}

.left-column h2 {
    font-size: 1em;
    color: #ff6f6f;
    margin-bottom: 20px;
}

.left-column .section {
    margin-bottom: 20px;
}

.cv_page h3 {
    background-color: #6cb4af;
    color: #fff;
    padding: 8px;
    border-radius: 5px;
    text-align: center;
    font-size: 1em;
}

.left-column ul {
    list-style: none;
    padding: 0;
}

.left-column li {
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
    color: #9c6653;
}

.right-column {
    width: 65%;
    padding: 20px;
    border-radius: 0 10px 10px 0;
    background-color: #fafafa;
}

.right-column .section {
    margin-bottom: 40px;
    margin-top: 20px;
}

.right-column h4 {
    color: #ff6f6f;
    font-size: 1em;
    margin-top: 40px;
}

.right-column p {
    line-height: 1.6;
    color: #807783;
}

.right-column ul {
    list-style: disc;
    padding-left: 20px;
}

/* ========== MEDIA QUERIES ========== */
@media screen and (max-width: 768px) {
   
    nav ul {
        display: none;
    }
  nav{

        height: 100px;
  }
    #burger {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .initiales{
        display: flex;
    }

    #profil {
        flex-direction: column;
        width: 95%;
    }

    .hero h2 {
        font-size: 2em;
    }

    #diplomes_ensemble {
        flex-direction: column;
        width: 95%;
    }

    .testimonials-container {
        flex-direction: column;
        align-items: center;
    }

    table {
        width: 95%;
    }

    .slider-container {
        max-width: 95%;
    }

    .slide img {
        height: 250px;
    }

    #rdvForm {
        width: 95%;
        padding: 20px;
    }

    .cv-container {
        flex-direction: column;
    }

    .left-column,
    .right-column {
        width: 100%;
        border-radius: 10px;
    }
}

@media screen and (min-width: 768px) {
    #nav_mobile ul {
        display: none;
    }

    #close {
        display: none;
    }
    #burger {
        display: none;
    }
}

@media screen and (max-width: 980px) {
    #profil_text {
        flex-direction: column;
        gap: 10px;
    }

    #diplomes ul li {
        width: 90%;
        margin: 10px auto;
    }
}

@media screen and (max-width: 1224px) {
    #diplomes_ensemble {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    #diplomes ul li {
        width: 80%;
        margin: 10px auto;
    }
}
