/* 
 * Main styles for domain
 * Color palette:
 * - Main background: #A3D2CA (soft turquoise-blue)
 * - Secondary background: gradient from #4B3F72 to #8E7DBE (ultraviolet)
 * - Text: #2C2C2C (rich graphite)
 * - Accent: #FF6B6B (coral-pink)
 * - Buttons: gradient from #FFB88C to #FF6E7F (peach/pink)
 */

/* === RESET & BASE STYLES === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #2C2C2C;
    background-color: #ffffff;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: #4B3F72;
    transition: all 0.3s ease;
}

a:hover {
    color: #FF6B6B;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    margin-bottom: 40px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #FFB88C, #FF6E7F);
    border-radius: 2px;
}

h2.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 20px;
}

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

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(to right, #FFB88C, #FF6E7F);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(255, 107, 107, 0.5);
    color: white;
}

.btn-accent {
    background-color: #FF6B6B;
    color: white;
}

.btn-accent:hover {
    background-color: #ff5252;
    color: white;
}

.btn-outline {
    border: 2px solid #A3D2CA;
    color: #4B3F72;
}

.btn-outline:hover {
    background-color: #A3D2CA;
    color: #2C2C2C;
}

/* === HEADER & NAVIGATION === */
.main-header {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo a {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(to right, #4B3F72, #8E7DBE);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: lowercase;
}

.main-nav ul {
    display: flex;
    gap: 20px;
    align-items: center;
}

.main-nav a {
    padding: 8px 0;
    position: relative;
}

.main-nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FF6B6B;
    transition: width 0.3s ease;
}

.main-nav a:not(.btn):hover::after,
.main-nav .active a::after {
    width: 100%;
}

/* Mobile Menu Toggle (PHP-based) */
.menu-toggle {
    display: none;
}

.menu-icon {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
}

.menu-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #4B3F72;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-checkbox {
    display: none;
}

/* === HERO SECTION === */
.hero {
    background-color: #A3D2CA;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(to bottom right, #FFB88C, #FF6E7F);
    opacity: 0.6;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: linear-gradient(to top left, #4B3F72, #8E7DBE);
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    padding: 20px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* === ABOUT SECTION === */
.about {
    background-color: white;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border-bottom: 4px solid transparent;
    border-image: linear-gradient(to right, #FFB88C, #FF6E7F);
    border-image-slice: 1;
    text-align: center;
}

.about-card:hover {
    transform: translateY(-10px);
}

.about-card h3 {
    color: #4B3F72;
}

.about-img {
    height: 200px;
    width: 100%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === SERVICES SECTION === */
.services {
    background: linear-gradient(to right, #4B3F72, #8E7DBE);
    color: white;
    padding: 80px 0;
}

.services h2::after {
    background: #FF6B6B;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 2.5rem;
}

/* === WHY US SECTION === */
.why-us {
    background-color: #F9F9F9;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FF6B6B;
    margin-bottom: 10px;
}

/* === PRICING SECTION === */
.pricing {
    background-color: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background-color: #F9F9F9;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    background-color: #A3D2CA;
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Populaire';
    position: absolute;
    top: 15px;
    right: -35px;
    background-color: #FF6B6B;
    color: white;
    padding: 5px 40px;
    font-size: 0.8rem;
    transform: rotate(45deg);
    font-weight: 600;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured:hover {
    transform: translateY(-10px) scale(1.05);
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: #4B3F72;
    margin: 20px 0;
}

.price span {
    font-size: 1rem;
    color: #888;
}

.pricing-features {
    margin: 30px 0;
}

.pricing-features li {
    margin-bottom: 15px;
}

/* === FORM SECTION === */
.contact {
    background-color: #A3D2CA;
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: rotate(-2deg);
}

.contact-form {
    transform: rotate(2deg);
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #4B3F72;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #A3D2CA;
    box-shadow: 0 0 0 2px rgba(163, 210, 202, 0.3);
    outline: none;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%234B3F72' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.form-checkbox {
    margin-right: 10px;
    margin-top: 3px;
}

.checkbox-label {
    font-size: 0.9rem;
}

.checkbox-label a {
    color: #FF6B6B;
}

/* === FAQ SECTION === */
.faq {
    background-color: #F9F9F9;
}

.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    background-color: white;
    padding: 20px;
    cursor: pointer;
    position: relative;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #FF6B6B;
    transition: transform 0.3s ease;
}

.faq-answer {
    background-color: white;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

/* PHP-based toggle for FAQ */
.faq-toggle {
    display: none;
}

.faq-toggle:checked + .faq-question::after {
    content: '−';
}

.faq-toggle:checked + .faq-question + .faq-answer {
    max-height: 500px;
    padding: 20px;
}

/* === TESTIMONIALS SECTION === */
.testimonials {
    background-color: white;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: #F9F9F9;
    border-radius: 10px;
    padding: 30px;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(163, 210, 202, 0.3);
    font-family: serif;
    line-height: 0;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-author {
    margin-top: 20px;
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    background-color: #f0f0f0;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.author-details h4 {
    margin-bottom: 0;
}

.author-position {
    font-size: 0.9rem;
    color: #888;
}

/* === FOOTER === */
.main-footer {
    background: linear-gradient(to right, #4B3F72, #8E7DBE);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: white;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #FF6B6B;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
    color: #FF6B6B;
}

.footer-col address p {
    color: white;
}

.footer-col address p a {
    color: white;
}

.footer-col address p a:hover {
    color: #FF6B6B;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* === COOKIE POPUP === */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 400px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    z-index: 1000;
    display: none; /* Initially hidden, shown via JS */
}

.cookie-content p {
    margin-bottom: 15px;
}

/* === LEGAL PAGES === */
.legal-page {
    background-color: white;
    padding: 60px 0;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    border: 2px solid #A3D2CA;
    border-radius: 10px;
}

.legal-container h1 {
    color: #FF6B6B;
    margin-bottom: 30px;
}

.legal-container h2 {
    color: #4B3F72;
    margin: 30px 0 15px;
}

/* === THANK YOU PAGE === */
.thank-you {
    background-color: #A3D2CA;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 0;
}

.thank-you-content {
    background-color: white;
    border-radius: 10px;
    padding: 50px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    margin: 0 auto;
    border: 2px solid rgba(163, 210, 202, 0.5);
}

.thank-you h1 {
    color: #4B3F72;
    margin-bottom: 30px;
}

.thank-you p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.thank-you .btn {
    margin-top: 20px;
}

/* === RESPONSIVE STYLES === */
@media (max-width: 991px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .main-header .container {
        padding: 10px 20px;
    }
    
    /* Mobile menu */
    .menu-toggle {
        display: block;
        z-index: 101;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 100;
        padding: 80px 20px 20px;
    }
    
    .menu-checkbox:checked ~ .main-nav {
        right: 0;
    }
    
    .menu-checkbox:checked ~ .menu-icon span:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }
    
    .menu-checkbox:checked ~ .menu-icon span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-checkbox:checked ~ .menu-icon span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .main-nav li {
        margin-bottom: 15px;
        width: 100%;
    }
    
    .main-nav .btn {
        margin-top: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-form-container {
        transform: none;
        padding: 30px 20px;
    }
    
    .contact-form {
        transform: none;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.8rem;
    }
    
    .logo a {
        font-size: 1.8rem;
    }
    
    .cookie-popup {
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
    }
    
    .section {
        padding: 30px 0;
    }
    
    .legal-container {
        padding: 20px;
    }
} 