:root {
    --pink: #fe6fb3;
    --pink-dark: #e55ea0;
    --green: #90EE90;
    --green-dark: #81DF81;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, 
        rgba(254, 111, 179, 0.3) 0%,    /* Verhoogd van 0.1 naar 0.2 */
        rgba(255, 255, 255, 0.5) 50%,   /* Verlaagd van 0.8 naar 0.7 */
        rgba(254, 111, 179, 0.3) 100%); /* Verhoogd van 0.1 naar 0.2 */
    color: #333;
    position: relative;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

.home-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* Verander naar space-between */
    gap: 3rem; /* Consistente gap tussen elementen */
    padding-top: 2rem; /* Verkleind van 4rem naar 2rem */
    position: relative;
    z-index: 1;
    padding-bottom: 100px; /* Vaste padding onderaan voor contact info */
}

/* Logo sectie */
.logo-section {
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    flex: 0 0 180px; /* Reduced from 200px */
    margin: 0 1rem 1rem; /* Voeg margin-bottom toe */
}

.logo-container {
    width: min(350px, 60vw); /* Gebruik min() voor responsive scaling */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem;
}

.logo-container:hover {
    transform: translateY(-15px) scale(1.05);
}

.main-logo {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 15px 25px rgba(254, 111, 179, 0.4));
}

.logo-container:hover .main-logo {
    filter: drop-shadow(0 20px 35px rgba(254, 111, 179, 0.6));
}

/* Interactieve blokken container aanpassing */
.blocks-container {
    display: flex;
    justify-content: center; /* Changed from space-between to center */
    width: 100%;
    max-width: 1600px;
    padding: 0 2rem; /* Reduced from 4rem */
    gap: 4rem; /* Verminder van 8rem naar 4rem */
    margin-top: 0; /* Verwijder negatieve margin */
    margin-bottom: 2rem; /* Kleinere marge onderaan */
}

/* Verbeterde block styling zonder wit randje */
.block {
    background: linear-gradient(
        135deg,
        var(--pink) 0%,
        var(--pink-dark) 100%
    );
    clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
    width: min(230px, 40vw); /* Responsive breedte */
    height: min(230px, 40vw); /* Responsive hoogte */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #333;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                background 1s ease;
    box-shadow: 
        0 20px 40px rgba(254, 111, 179, 0.5),
        0 8px 20px rgba(0, 0, 0, 0.15),
        0 0 50px rgba(254, 111, 179, 0.2);
    will-change: transform;
    backface-visibility: hidden;
}

/* Kleinere hexagon in het midden */
.block::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 60%;
    background: linear-gradient(
        135deg,
        #ff85c0 0%,
        #ff4da6 100%
    );
    clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
    transition: background 1s ease;
}

/* Glow effect */
.block::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
    transform: rotate(45deg) translateY(-100%);
    transition: transform 0.8s ease;
    z-index: 0;
}

.block:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 
        0 30px 70px rgba(254, 111, 179, 0.7),
        0 15px 40px rgba(0, 0, 0, 0.2),
        0 0 90px rgba(254, 111, 179, 0.4),
        0 0 120px rgba(254, 111, 179, 0.2);
    background: linear-gradient(
        135deg,
        #ff85c0 0%,
        #ff4da6 100%
    );
}

.block:hover::before {
    background: linear-gradient(
        135deg,
        #ffb3d9 0%,
        #ff66b2 100%
    );
}

.block:hover::after {
    transform: rotate(45deg) translateY(100%);
}

.block-content {
    position: relative;
    text-align: center;
    z-index: 2;
    padding: 1rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.block h2 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
}

.block-description {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    transform: translate(-50%, calc(-50% + 20px));
    opacity: 0;
    font-size: 1rem;
    line-height: 1.4;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Verbeterde hover effecten voor tekst */
.block:hover .block-content h2 {
    transform: translateY(-30px) scale(0.9);
    opacity: 0;
}

.block:hover .block-description {
    opacity: 1;
    transform: translate(-50%, -50%);
}

/* Animatie voor de blokken bij het laden van de pagina */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.block {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards,
               pulse 3s infinite ease-in-out;
    animation-play-state: paused;
}

.block.visible {
    animation-play-state: running;
}

.block:nth-child(1) { animation-delay: 0.2s; }
.block:nth-child(2) { animation-delay: 0.4s; }
.block:nth-child(3) { animation-delay: 0.6s; }

/* Pulserende schaduw effect */
@keyframes pulse {
    0% {
        box-shadow: 
            0 20px 40px rgba(254, 111, 179, 0.5),
            0 8px 20px rgba(0, 0, 0, 0.15),
            0 0 50px rgba(254, 111, 179, 0.2);
    }
    50% {
        box-shadow: 
            0 25px 55px rgba(254, 111, 179, 0.6),
            0 12px 30px rgba(0, 0, 0, 0.2),
            0 0 70px rgba(254, 111, 179, 0.3);
    }
    100% {
        box-shadow: 
            0 20px 40px rgba(254, 111, 179, 0.5),
            0 8px 20px rgba(0, 0, 0, 0.15),
            0 0 50px rgba(254, 111, 179, 0.2);
    }
}

/* Mobile styling */
@media (max-width: 768px) {
    .home-container {
        padding: 0.5rem; /* Reduced from 1rem */
        gap: 2rem; /* Reduced from 2rem */
        padding-top: 0.5rem; /* Reduced from 1rem */
        padding-bottom: 80px; /* Iets kleinere padding op mobiel */
    }

    .logo-section {
        width: 100%;
        margin-top: 1rem; /* Reduced from 2rem */
    }

    .logo-container {
        width: 85vw !important; /* Increased from 65vw */
        max-width: none !important;
        height: auto;
        margin: 0 auto;
        padding: 0;
    }

    .main-logo {
        width: 85% !important; /* Increased from 75% */
        height: auto;
        display: block;
    }

    .blocks-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem; /* Reduced gap on mobile */
        margin-top: 1rem; /* Reduced from 2rem */
        margin-bottom: 2rem;
        padding-bottom: 6rem; /* Reduced from 8rem */
    }

    .block {
        width: min(180px, 45vw);
        height: min(180px, 45vw);
    }

    /* Contact footer */
    .contact-footer {
        padding: 0.5rem;
        margin-top: 3rem; /* Adjusted for better mobile spacing */
    }

    /* Specific styling for homepage contact footer */
    .home-container + .contact-footer {
        margin-top: -4rem; /* Keep negative margin only for homepage */
        padding: 1.5rem 0.5rem;
    }
}

/* Extra kleine schermen */
@media (max-width: 480px) {
    .logo-container {
        width: min(280px, 70vw);
    }

    .main-logo {
        width: 75% !important; /* Increased from 75% */
        height: auto;
        display: block;
    }

    .block {
        width: min(160px, 50vw);
        height: min(160px, 50vw);
    }

    .blocks-container {
        margin-bottom: 80px;
        padding-bottom: 8rem; /* Reduced from 10rem */
    }

    .contact-footer {
        margin-top: 2rem; /* Adjusted for better mobile spacing */
    }

    .home-container {
        padding-bottom: 60px;
    }

    .home-container + .contact-footer {
        margin-top: -3rem; /* Keep negative margin only for homepage */
    }
}

/* Contact Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    position: relative;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.form-group {
    margin-bottom: 1rem;
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
}

textarea {
    min-height: 150px;
}

button {
    background-color: var(--pink);
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: var(--pink-dark);
}

.block.compass, .block.moving {
    background-color: var(--pink);
}

.block.compass:hover, .block.moving:hover {
    background-color: var(--pink-dark);
}

/* Bewegende achtergrond elementen */
.moving-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.bg-icon {
    position: absolute;
    opacity: 0.1;
    animation: float 20s infinite linear;
}

.bg-icon:nth-child(1) { 
    top: 10%;
    left: 10%;
    animation-duration: 15s;
}
.bg-icon:nth-child(2) { 
    top: 20%;
    right: 15%;
    animation-duration: 25s;
    animation-delay: -5s;
}
.bg-icon:nth-child(3) { 
    bottom: 15%;
    left: 20%;
    animation-duration: 20s;
    animation-delay: -10s;
}
.bg-icon:nth-child(4) { 
    bottom: 25%;
    right: 10%;
    animation-duration: 18s;
    animation-delay: -7s;
}

@keyframes float {
    0% { 
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(50px, -30px) rotate(90deg);
    }
    50% { 
        transform: translate(100px, 0px) rotate(180deg);
    }
    75% {
        transform: translate(50px, 30px) rotate(270deg);
    }
    100% { 
        transform: translate(0, 0) rotate(360deg);
    }
}

canvas {
    position: fixed !important;
    top: 0;
    left: 0;
    z-index: 1000;
    pointer-events: none;
}

/* Gemeenschappelijke header styling voor alle pagina's */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    font-size: 15rem;
    opacity: 0.1;
    animation: float 20s infinite linear;
}

/* Beperk de animatie tot binnen de header */
header .floating-element:nth-child(1) {
    top: 10%;
    left: 50px;
    animation-delay: -5s;
}

header .floating-element:nth-child(2) {
    top: 30%;
    right: 50px;
    animation-delay: -10s;
}

header .floating-element:nth-child(3) {
    bottom: 50px;
    left: 30%;
    animation-delay: -15s;
}

/* Contact Footer Styling */
.contact-footer {
    background: none; /* Verwijder de gradient achtergrond */
    padding: 2rem 0.5rem;
    margin-top: 6rem; /* Default margin for all pages except homepage */
    text-align: center;
    position: relative;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(255, 255, 255, 0.95) 30%
    );
}

/* Specific styling for homepage contact footer only */
.home-container + .contact-footer {
    margin-top: 0; /* Reset negatieve margin */
    padding: 2rem 0.5rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .contact-footer {
        padding: 2rem 0.5rem;
        margin-top: 4rem;
    }

    .home-container + .contact-footer {
        margin-top: -4rem;
        padding: 1.5rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .contact-footer {
        padding: 1.5rem 0.5rem;
        margin-top: 3rem;
    }

    .home-container + .contact-footer {
        margin-top: -3rem;
        padding: 0.5rem;
    }
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info h3 {
    color: var(--pink);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--pink);
    opacity: 0.5;
}

/* Update contact details styling voor horizontale layout */
.contact-details {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

/* Voeg media query toe voor mobiele weergave */
@media (max-width: 768px) {
    .contact-details {
        flex-direction: column;
        gap: 1rem;
    }
}

.contact-details p {
    color: var(--pink);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 400;
}

.contact-details p:hover {
    color: var(--pink-dark);
    transform: translateY(-2px);
}

.contact-details a {
    color: var(--pink);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-details a:hover {
    color: var(--pink-dark);
    transform: translateY(-2px);
}

/* Integreer de back-home link in de footer */
.back-home {
    display: inline-block;
    background-color: var(--pink);
    color: white;
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(254, 111, 179, 0.2);
}

.back-home:hover {
    background-color: var(--pink-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 111, 179, 0.3);
}

/* Algemene tekst styling */
h2 {
    font-size: 2.5rem; /* Iets kleinere titel */
    color: var(--pink);
    margin-bottom: 2.5rem; /* Meer ruimte onder de titel */
    position: relative;
}

/* Meer ruimte tussen content blokken */
.content-block {
    margin: 8rem 0; /* Meer ruimte tussen de blokken */
    gap: 5rem; /* Meer ruimte tussen kolommen */
}

/* Normale tekst iets kleiner */
p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
}

/* Responsive aanpassingen */
@media (max-width: 768px) {
    h2 {
        font-size: 2rem;
    }
    
    .content-block {
        margin: 6rem 0;
        gap: 3rem;
    }
    
    p {
        font-size: 1rem;
    }
}

/* Algemene responsive styling */
@media (max-width: 768px) {
    /* Header aanpassingen */
    header {
        height: 300px;
    }

    header h1 {
        font-size: 2.5rem;
    }

    header p {
        font-size: 1.2rem;
    }

    /* Container padding */
    .container, 
    .about-container,
    .project-container,
    .kompas-container,
    .verhuizen-container {
        padding: 1rem;
    }

    /* Tekst groottes */
    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    p {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Grid layouts */
    .grid-container,
    .cards-container,
    .services-grid,
    .info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Contact footer */
    .contact-footer {
        padding: 3rem 1rem;
        margin-top: 4rem; /* Keep consistent spacing on mobile */
    }

    .contact-details {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Extra kleine schermen */
@media (max-width: 480px) {
    header h1 {
        font-size: 2rem;
    }

    .floating-element {
        font-size: 10rem;
    }

    .block {
        width: 180px; /* Increased from 150px */
        height: 180px; /* Increased from 150px */
    }

    .logo-container {
        width: 100%;
        padding: 0;
    }
}

.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.96) 0%,
        rgba(254, 111, 179, 0.05) 100%
    );
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: fadeIn 0.6s ease-out;
}

.intro-content-wrapper {
    display: flex;
    max-width: 900px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 
        0 15px 40px rgba(254, 111, 179, 0.12),
        0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    animation: slideUp 0.8s ease-out;
}

.intro-block {
    flex: 1;
    padding: 40px;
    position: relative;
}

.intro-block.welcome {
    background: linear-gradient(135deg,
        rgba(254, 111, 179, 0.08) 0%,
        rgba(255, 255, 255, 0.95) 100%);
    border-right: 1px solid rgba(254, 111, 179, 0.1);
}

.intro-block.story {
    background: white;
}

.intro-block h2 {
    color: var(--pink);
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.intro-block h3 {
    color: var(--pink);
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.intro-main {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.intro-secondary {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.decorative-line {
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--pink), var(--pink-dark));
    border-radius: 3px;
    margin-top: 30px;
    opacity: 0.7;
}

.story-decoration {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    opacity: 0.5;
    pointer-events: none;
}

.close-intro {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(254, 111, 179, 0.08);
    color: var(--pink);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-intro:hover {
    background: rgba(254, 111, 179, 0.15);
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .intro-content-wrapper {
        flex-direction: column;
        max-width: 500px;
        margin: 20px;
    }

    .intro-block {
        padding: 30px;
    }

    .intro-block.welcome {
        border-right: none;
        border-bottom: 1px solid rgba(254, 111, 179, 0.1);
    }

    .intro-block h2 {
        font-size: 1.6rem;
    }

    .intro-block h3 {
        font-size: 1.3rem;
    }

    .intro-main {
        font-size: 1rem;
    }

    .intro-secondary {
        font-size: 0.9rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive styling for the overlay */
@media (max-width: 768px) {
    .intro-content {
        padding: 40px 30px;
        margin: 20px;
    }

    .intro-content h2 {
        font-size: 2rem;
    }

    .intro-content .intro-main {
        font-size: 1.15rem;
    }

    .intro-content .intro-secondary {
        font-size: 1rem;
    }
}

/* Welcome Section Styling */
.welcome-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 0 2rem; /* Verkleind van 4rem naar 2rem */
    padding: 1rem;
}

.left-text, .right-text {
    flex: 1;
    max-width: 300px;
    opacity: 0;
    animation: fadeInSlide 0.8s ease-out forwards;
}

.left-text {
    text-align: center;
    animation-delay: 0.2s;
    padding-right: 2rem;
}

.right-text {
    text-align: center;
    animation-delay: 0.4s;
    padding-left: 2rem;
}

.left-text h2,
.right-text h3 {
    color: var(--pink);
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.left-text p,
.right-text p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
}

@media (max-width: 1024px) {
    .welcome-section {
        flex-direction: column;
        text-align: center;
    }

    .left-text, .right-text {
        max-width: 500px;
        text-align: center;
        padding: 1rem 0;
    }
}

@keyframes fadeInSlide {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .welcome-section {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .welcome-text {
        max-width: 500px;
        text-align: center !important;
        padding: 0 !important;
    }

    .welcome-text.left, 
    .welcome-text.right {
        padding: 1rem 0 !important;
    }

    .welcome-section .logo-section {
        order: -1;
        width: 250px;
        margin: 0 auto 2rem;
    }
}

.welcome-blocks {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    width: 100%;
    padding: 0 2rem;
}

.welcome-block {
    flex: 1;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.97);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 
        0 10px 30px rgba(254, 111, 179, 0.12),
        0 4px 8px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(254, 111, 179, 0.08);
    position: relative;
    overflow: hidden;
    animation: fadeInSlide 0.8s ease-out forwards;
    opacity: 0;
}

.welcome-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(254, 111, 179, 0.05) 0%,
        rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.welcome-block.intro {
    animation-delay: 0.2s;
}

.welcome-block.story {
    animation-delay: 0.4s;
}

.welcome-block h2,
.welcome-block h3 {
    color: var(--pink);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.welcome-block p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

@media (max-width: 768px) {
    .welcome-blocks {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .welcome-block {
        width: 100%;
        max-width: 500px;
    }
}

.welcome-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 0 2rem; /* Verkleind van 4rem naar 2rem */
    padding: 1rem;
}

.text-content {
    flex: 1;
    max-width: 350px; /* Vergroot van 250px voor meer ruimte */
    animation: fadeInSlide 0.8s ease-out forwards;
    opacity: 0;
    padding: 1rem;
    /* Verwijderd: background, border-radius en box-shadow */
}

.text-content.left {
    text-align: center;
    animation-delay: 0.2s;
    padding-right: 3rem; /* Vergroot van 2rem voor meer ruimte */
    margin-right: 2rem; /* Vergroot van 1rem voor meer ruimte */
}

.text-content.right {
    text-align: center;
    animation-delay: 0.4s;
    padding-left: 3rem; /* Vergroot van 2rem voor meer ruimte */
    margin-left: 2rem; /* Vergroot van 1rem voor meer ruimte */
}

.text-content h2 {
    color: var(--pink);
    font-size: 1.4rem; /* Verkleind van 1.8rem */
    margin-bottom: 1rem; /* Verkleind van 1.5rem */
    text-align: center;
    /* Verwijderd: position: relative */
}

/* Verwijderd: .text-content h2::after */

.text-content p {
    font-size: 0.9rem; /* Verkleind van 1rem */
    line-height: 1.6;
    color: #666;
}

@media (max-width: 1024px) {
    .welcome-section {
        flex-direction: column;
        text-align: center;
    }

    .text-content {
        max-width: 600px; /* Vergroot van 500px voor meer ruimte op tablet/mobiel */
        text-align: center !important;
        padding: 1rem 2rem; /* Voeg horizontale padding toe */
    }

    .text-content.left, 
    .text-content.right {
        padding: 1rem 0 !important;
    }
}

@keyframes fadeInSlide {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.text-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 1rem;
    animation: fadeInSlide 0.8s ease-out forwards;
    opacity: 0;
}

.text-content:first-of-type {
    animation-delay: 0.2s;
}

.text-content:last-of-type {
    animation-delay: 0.4s;
}

.text-content h2,
.text-content h3 {
    color: var(--pink);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.text-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

.home-button {
    position: fixed;
    top: 20px;
    left: 20px;
    background-color: var(--pink);
    color: white;
    padding: 1rem;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(254, 111, 179, 0.3);
    transition: all 0.3s ease;
    z-index: 100;
    width: 55px;  /* Increased from 45px */
    height: 55px; /* Increased from 45px */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem; /* Increased from 1.2rem */
}

.home-button:hover {
    background-color: var(--pink-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 111, 179, 0.4);
}

.text-content {
    flex: 1;
    max-width: 350px; /* Vergroot van 250px voor meer ruimte */
    animation: fadeInSlide 0.8s ease-out forwards;
    opacity: 0;
    padding: 1rem;
    /* Verwijderd: background, border-radius en box-shadow */
}

.text-content h2 {
    color: var(--pink);
    font-size: 1.4rem; /* Verkleind van 1.8rem */
    margin-bottom: 1rem; /* Verkleind van 1.5rem */
    text-align: center;
    /* Verwijderd: position: relative */
}

/* Verwijderd: .text-content h2::after */

.text-content p {
    font-size: 0.9rem; /* Verkleind van 1rem */
    line-height: 1.6;
    color: #666;
}

.text-content.left {
    text-align: center;
    animation-delay: 0.2s;
    padding-right: 3rem; /* Vergroot van 2rem voor meer ruimte */
    margin-right: 2rem; /* Vergroot van 1rem voor meer ruimte */
}

.text-content.right {
    text-align: center;
    animation-delay: 0.4s;
    padding-left: 3rem; /* Vergroot van 2rem voor meer ruimte */
    margin-left: 2rem; /* Vergroot van 1rem voor meer ruimte */
}

@media (max-width: 1024px) {
    .welcome-section {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .text-content {
        max-width: 600px; /* Vergroot van 500px voor meer ruimte op tablet/mobiel */
        text-align: center;
        margin: 0 auto;
        padding: 1rem 2rem; /* Voeg horizontale padding toe */
    }

    .text-content.left, 
    .text-content.right {
        padding: 2rem;
        margin: 0 1rem;
    }
}

@media (max-width: 1024px) {
    .blocks-container {
        gap: 4rem; /* Verminder gap op medium schermen */
    }
    
    .block {
        width: min(200px, 35vw);
        height: min(200px, 35vw);
    }
}
