/* ============================================================
   Mindfulness met Sophie — Style Sheet
   Purpose: Calm, child-friendly, premium design
   ============================================================ */

/* ---- Smooth Scroll ---- */
html {
    scroll-behavior: smooth;
}

/* ---- CSS Variables ---- */
:root {
    --primary-color: #88C0D0;
    --primary-dark: #5E81AC;
    --secondary-color: #EBCB8B;
    --accent-color: #D08770;
    --bg-color: #FFFDF5;
    --surface-color: #FFFFFF;
    --text-color: #4C566A;
    --text-light: #ECEFF4;

    --font-heading: 'Quicksand', sans-serif;
    --font-body: 'Outfit', sans-serif;

    --container-width: 1200px;
    --header-height: 80px;
    --border-radius-sm: 8px;
    --border-radius-lg: 24px;
    --border-radius-pill: 50px;

    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-soft: 0 20px 40px rgba(136, 192, 208, 0.15);
}

/* ---- Reset ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1.1rem;
    overflow-x: hidden;
    /* Prevent horizontal scroll globally */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    color: var(--primary-dark);
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* ---- Utilities ---- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.highlight {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: var(--secondary-color);
    opacity: 0.3;
    z-index: -1;
    border-radius: 4px;
}

.rounded-image {
    border-radius: var(--border-radius-lg);
}

.shadow-soft {
    box-shadow: var(--shadow-soft);
}

.full-width {
    width: 100%;
}

/* ---- Fade-In Animation ---- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Buttons ---- */
.btn-primary,
.btn-secondary,
.btn-primary-nav {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius-pill);
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--surface-color);
    box-shadow: 0 4px 15px rgba(136, 192, 208, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(94, 129, 172, 0.3);
}

.btn-secondary {
    background-color: var(--surface-color);
    color: var(--primary-dark);
    border: 2px solid var(--primary-color);
    margin-left: 1rem;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--surface-color);
    transform: translateY(-2px);
}

/* ---- Navigation ---- */
.navbar {
    height: var(--header-height);
    background-color: var(--surface-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

.nav-links a:not(.btn-primary-nav):hover {
    color: var(--primary-dark);
}

/* Active nav indicator — subtle underline */
.nav-links a.active {
    font-weight: 700;
    color: var(--primary-dark);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.btn-primary-nav {
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
}

.btn-primary-nav:hover {
    background-color: #E2B86D;
    transform: translateY(-1px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ---- Hero Section ---- */
.hero {
    padding: 4rem 2rem;
    display: flex;
    flex-direction: row;
    /* Desktop: text left, image right */
    align-items: center;
    justify-content: center;
    gap: 4rem;
    min-height: calc(100vh - var(--header-height));
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
}

.hero-content {
    flex: 1;
    display: block;
    /* Simple block, not grid */
}

.hero-image {
    flex: 1;
}

.hero p.subtitle {
    font-size: 1.25rem;
    color: var(--text-color);
    max-width: 500px;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.hero-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    transform: rotate(2deg);
    transition: transform 0.5s ease;
    width: 100%;
}

.hero-image img:hover {
    transform: rotate(0deg) scale(1.02);
}

/* ---- Intro Section ---- */
.intro {
    padding: 6rem 0;
    background-color: var(--surface-color);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-text h2 {
    margin-bottom: 1.5rem;
}

.intro-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
}

.benefits-list {
    margin: 2rem 0;
}

.benefits-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.benefits-list .icon {
    margin-right: 1rem;
    font-size: 1.5rem;
}

.text-link {
    color: var(--primary-dark);
    font-weight: 600;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 2px;
}

.text-link:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* ---- Quote Section ---- */
.quote-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--surface-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Decorative large quote marks */
.quote-section::before {
    content: '\201C';
    /* Opening curly quote */
    position: absolute;
    top: 10px;
    left: 5%;
    font-size: 15rem;
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
    color: var(--surface-color);
}

.quote-section::after {
    content: '\201D';
    /* Closing curly quote */
    position: absolute;
    bottom: -40px;
    right: 5%;
    font-size: 15rem;
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
    color: var(--surface-color);
}

.quote-section blockquote {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

/* ---- CTA Section (Call-to-Action before footer) ---- */
.cta-section {
    padding: 5rem 0;
    text-align: center;
    background-color: var(--surface-color);
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    color: var(--text-color);
}

.cta-section .btn-primary {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

/* ---- Footer — HIDDEN ---- */
footer {
    display: none !important;
}

/* ============================================================
   Responsive — Tablet (≤992px)
   ============================================================ */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 3rem 2rem;
        min-height: auto;
    }

    .intro-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .offer-card,
    .offer-card.reverse {
        flex-direction: column;
        border-left: 5px solid var(--primary-color);
        border-right: none;
    }

    .offer-image {
        width: 100%;
        flex: none;
        /* Don't let flex shrink it */
    }

    .offer-image img {
        max-height: none;
        /* Remove desktop height cap */
        width: 100%;
    }

    .intro {
        padding: 3rem 0;
    }

    /* Mobile Navigation */
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: 0;
        background-color: var(--surface-color);
        flex-direction: column;
        justify-content: center;
        overflow: hidden;
        transition: height 0.3s ease;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
        gap: 2rem;
    }

    .nav-links.active {
        height: calc(100vh - var(--header-height));
    }

    /* Hamburger → X animation */
    .mobile-menu-btn.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .mobile-menu-btn.open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    /* Active link indicator off on mobile menu */
    .nav-links a.active::after {
        display: none;
    }
}

/* ============================================================
   Responsive — Mobile (≤576px)
   ============================================================ */
@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }

    /* Hero: image as banner on top */
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
        min-height: auto;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding-bottom: 0;
    }

    .hero-image {
        width: 100%;
        order: -1;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
        /* Page edges visible */
    }

    .hero-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
        border-radius: var(--border-radius-lg);
        transform: none !important;
    }

    .hero p.subtitle {
        max-width: 100%;
    }

    .hero-buttons {
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
        width: 100%;
        justify-content: center;
    }

    .btn-primary,
    .btn-secondary {
        width: auto;
        flex: 1;
        margin: 0;
        padding: 0.8rem 0.5rem;
        font-size: 0.9rem;
        white-space: nowrap;
        text-align: center;
    }

    /* Contact form: single column */
    .contact-grid {
        display: block !important;
    }

    .contact-info,
    .contact-form-container {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        margin-bottom: 2rem;
    }

    .contact-form-container {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Intro section image */
    .intro-grid {
        text-align: center;
    }

    .intro-image {
        padding: 0 1rem;
    }

    /* Offer cards on mobile */
    .offer-card {
        padding: 1.5rem;
    }

    /* Quote section */
    .quote-section blockquote {
        font-size: 1.3rem;
        padding: 0 1rem;
    }

    .quote-section::before,
    .quote-section::after {
        font-size: 8rem;
    }

    .container {
        padding: 0 1rem;
    }
}

/* ============================================================
   Page Headers (Offerings, Contact)
   ============================================================ */
.page-header {
    background: linear-gradient(135deg, #F0F6F8, #E8F0FE);
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 4rem;
}

.page-header h1 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.page-header .subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================================
   Offerings Section
   ============================================================ */
.offer-card {
    display: flex;
    gap: 4rem;
    align-items: center;
    background-color: var(--surface-color);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    margin-bottom: 4rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid var(--primary-color);
    /* Color accent */
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.offer-card.reverse {
    flex-direction: row-reverse;
    border-left: none;
    border-right: 5px solid var(--secondary-color);
    /* Alternate accent */
}

.offer-image {
    flex: 1;
}

.offer-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

.offer-content {
    flex: 1;
}

.offer-content h3 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.offer-content ul {
    margin: 1.5rem 0;
}

.offer-content ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.offer-content ul li::before {
    content: '✦';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* ============================================================
   Contact Section
   ============================================================ */
.contact-section {
    padding-bottom: 6rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-top: 2rem;
}

.info-item .icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    background-color: #F0F6F8;
    padding: 0.5rem;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-image-wrapper {
    margin-top: 3rem;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

/* ---- Forms ---- */
.contact-form-container {
    background-color: var(--surface-color);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    font-family: var(--font-heading);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #E5E9F0;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #F9FAFB;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(136, 192, 208, 0.15);
}

.form-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #9CA3AF;
    font-style: italic;
}