/* Réinitialisation de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-image: url('assets/paysage-fleuri.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.content-wrapper {
    transition: backdrop-filter 0.5s ease;
}

.content-wrapper.scrolled {
    backdrop-filter: blur(5px);
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.logo-img {
    height: 50px;
    margin-right: 10px;
}

.site-name {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    font-weight: 700;
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav li {
    margin-left: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 700;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #c5a47e;
}

#menu-toggle {
    display: none; /* Caché sur desktop */
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
#hero {
    background-color: transparent;
    color: #fff;
    text-align: center;
    padding: 6rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 4.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-quote {
    font-family: 'Lora', serif; /* Use Lora for a quote-like feel */
    font-size: 1.8rem; /* Increased size */
    font-style: italic;
    margin-bottom: 2rem;
    color: #fff; /* Ensure good contrast against background */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.cta-button {
    background-color: #c5a47e;
    color: #fff;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    background-color: #b3936a;
    transform: translateY(-3px);
}

/* Sections générales */
section {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

.about-content {
    text-align: center;
}

#about, #coaching, #testimonials, #faq .container {
    background-color: rgba(249, 249, 249, 0.8);
}

#about {
    margin-bottom: 3rem;
    background-color: rgba(249, 249, 249, 0.8);
}

.about-content p {
    max-width: 800px;
    margin: 0 auto 1rem;
    font-family: 'Lora', serif;
    font-size: 1.2rem; /* Adjusted for better readability */
    line-height: 1.8;
}

.profile-photo {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Coaching Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-icon {
    font-size: 3rem;
    color: #c5a47e;
    margin-bottom: 1rem;
}

.service-card img {
    max-width: 100px;
    margin-bottom: 1rem;
    border-radius: 50%;
}

/* Modal Styles */
.modal {
    display: none; 
    position: absolute; 
    z-index: 1001; 
    left: 0;
    top: var(--scroll-top, 0);
    width: 100%; 
    height: 100vh; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.6); 
}

.modal-content {
    background-color: #fefefe;
    padding: 2rem;
    border: 1px solid #888;
    width: 80%; 
    max-width: 600px;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}



.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    cursor: pointer;
}

.service-card h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #c5a47e;
}




.testimonial-carousel {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    overflow: hidden; /* Pour cacher les slides non actives */
    padding: 0 50px; /* Add padding to make space for buttons */
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(197, 164, 126, 0.7); /* #c5a47e with transparency */
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.carousel-button:hover {
    background-color: #c5a47e;
}

.carousel-button.prev {
    left: 0; /* Position at the start of the padding */
}

.carousel-button.next {
    right: 0; /* Position at the end of the padding */
}

.testimonial-slide {
    display: none; /* Caché par défaut */
}

.testimonial-slide.active {
    display: block; /* Afficher le slide actif */
}

blockquote {
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #555;
}

.testimonial-author {
    font-weight: 700;
    color: #c5a47e;
}

#faq {
    padding: 5rem 0;
    background-color: transparent;
}

#faq .container {
    width: 100%;
    max-width: none; /* Remove max-width constraint */
    background-color: rgba(249, 249, 249, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.faq-item h3::after {
    content: '+';
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active h3 {
    background-color: #c5a47e;
    color: #fff; /* Add white color for better contrast */
}

.faq-item.active h3::after {
    transform: rotate(45deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
}

.faq-item.active .faq-content {
    max-height: 1000px; /* Large enough for any content */
    padding: 0 1.5rem 1.5rem;
}

.faq-item .faq-content p {
    padding-top: 1rem;
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444;
    margin: 0;
}

/* Contact Section */
#contact {
    background-color: rgba(51, 51, 51, 0.8);
    color: #fff;
}

#contact h2 {
    color: #fff;
}

.contact-content {
    text-align: center;
}

.contact-content p {
    margin-bottom: 1.5rem;
}

.contact-info a {
    color: #fff;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #c5a47e;
}

.contact-addresses {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 2rem;
}

.address {
    text-align: center;
}

.address h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2rem;
    color: #c5a47e;
    margin-bottom: 0.5rem;
}

.contact-form {
    max-width: 600px;
    margin: 2rem auto 0;
    display: grid;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #555;
    border-radius: 5px;
    background-color: #444;
    color: #fff;
}

.contact-form button {
    width: auto;
    justify-self: center;
}

/* Footer */
footer {
    background-color: rgba(34, 34, 34, 0.8);
    color: #ccc;
    text-align: center;
    padding: 3rem 0;
    position: relative;
    z-index: 1;
}

.footer-content .offer {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.social-links a {
    color: #ccc;
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #c5a47e;
}

.copyright {
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInAnimation 0.8s ease-out forwards;
}

@keyframes fadeInAnimation {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }

    .main-nav {
        display: none; /* Caché par défaut sur mobile */
        width: 100%;
        order: 3;
        text-align: center;
        margin-top: 1rem;
    }

    .main-nav.active {
        display: block; /* Affiché quand le menu est ouvert */
    }

    .main-nav ul {
        flex-direction: column;
    }

    .main-nav li {
        margin: 1rem 0;
    }

    #menu-toggle {
        display: block; /* Affiché sur mobile */
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .modal-content {
        width: 90%;
        padding: 1.5rem;
        max-height: 80vh;
        overflow-y: auto;
    }

    .modal-content h2 {
        font-size: 1.8rem;
    }

    .modal-content p {
        font-size: 1rem;
    }
}
