html, body {
    overflow-x: hidden;
    scroll-behavior: auto; /* Je had scroll-behavior alleen op html, nu op beide voor consistentie */
}
body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #000000;
    margin: 0;
    padding: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
    padding: 20px;
}
.title {
    font-size: 3rem;
    font-weight: bold;
}
.subtitle {
    font-size: 1.5rem;
    font-weight: normal;
    margin-bottom: 20px;
}
.buttons {
    display: flex;
    gap: 20px;
}
.animated-button {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    padding: 12px 24px;
    border: 2px solid #000;
    background-color: transparent;
    color: #000;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 12px;
}
.animated-button:hover {
    transform: translateY(-3px);
    box-shadow: 5px 5px 0px #000;
    background-color: #000;
    color: #fff;
}
.timeline {
    width: 80%;
    margin: 50px auto;
    position: relative;
}
.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #000;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px;
    box-sizing: border-box;
}
.timeline-item:nth-child(odd) {
    left: 0;
}
.timeline-item:nth-child(even) {
    left: 50%;
}
.timeline-content {
    padding: 20px;
    background: #000;
    color: #fff;
    border-radius: 12px;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.toggle-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 1.5rem;
    color: #fff;
    transition: transform 0.3s ease;
}
.rotate-180 {
    transform: rotate(180deg);
}
.expandable-content {
    display: block; 
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
    margin-top: 10px;
    padding: 0 10px;
    background-color: #333;
    color: #fff;
    border-radius: 8px;
}

.expandable-content.open {
    max-height: 200px; 
    padding: 5px;
}

/* Dark Mode Styles */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #ffffff;
    }
    .animated-button {
        border: 2px solid #fff;
        color: #fff;
    }
    .animated-button:hover {
        background-color: #fff;
        color: #000;
        box-shadow: 5px 5px 0px #fff;
    }
    .timeline::before {
        background-color: #fff;
    }
    .timeline-content {
        background-color: #fff;
        color: #000;
    }
    .toggle-btn {
        color: #1a1a1a; 
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .timeline {
        width: 100%;
        margin: 20px auto;
        position: relative;
    }
    
    .scroll-down {
        position: absolute;
        bottom: 20px;
    }

    .timeline::before {
        visibility: hidden;
        width: 0px;
    }

    .timeline-item {
        width: 100%;
        padding: 10px;
        box-sizing: border-box;
        margin-bottom: 20px;
    }

    .timeline-item:nth-child(odd), .timeline-item:nth-child(even) {
        left: 0;
        width: 100%;
        position: relative;
    }

    .timeline-content {
        padding: 20px;
        background: #000;
        color: #fff;
        border-radius: 12px;
        position: relative;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    .expandable-content.open {
        max-height: 200px; /* Adjusted for mobile view */
        padding: 10px;
    }

    /* Dark Mode Mobile */
    @media (prefers-color-scheme: dark) and (max-width: 768px) {
        .timeline::before {
            background-color: #fff;
        }

        .timeline-content {
            background-color: #fff;
            color: #000;
        }
    }
}


@keyframes bounce {
    0%, 100% {
        transform: translate(-50%, 0); 
    }
    50% {
        transform: translate(-50%, 10px); 
    }
}


@media (prefers-color-scheme: dark) {
    .scroll-down svg {
        color: #fff;
    }
    .scroll-down:hover svg {
        color: #ccc;
    }
}


