.projects-header {
    height: 300px;
    background-color: var(--pink);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 4rem;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    width: 100%;
    overflow: hidden;
}

.projects-header .header-content {
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    z-index: 2;
}

.projects-header .header-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.projects-header .header-content p {
    font-size: 1.2rem;
}

.projects-header .floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.subtitle {
    font-size: 1.5rem;
    font-family: 'Montserrat', sans-serif;
}

.project-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.project-description {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 6rem;
    text-align: center;
    position: relative;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(254, 111, 179, 0.1);
}

.project-description p {
    margin-bottom: 2rem;
    color: #666;
}

.project-description p:last-child {
    margin-bottom: 0;
}

/* Gallery/Slider sectie */
.gallery-slider {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin: 3rem 0;
    background: white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.slide {
    display: none;
    padding: 3rem;
    text-align: center;
    background: linear-gradient(135deg, 
        rgba(254, 111, 179, 0.05) 0%,
        rgba(255, 255, 255, 0.95) 50%,
        rgba(254, 111, 179, 0.05) 100%);
}

.slide.active {
    display: block;
    animation: fadeSlide 0.8s ease-out;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-content h3 {
    color: var(--pink);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.slide-content h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--pink), transparent);
}

.slide-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.slider-nav {
    text-align: center;
    margin-top: 2rem;
}

.slider-nav button {
    background: var(--pink);
    color: white;
    border: none;
    padding: 1rem 2rem;
    margin: 0 0.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(254, 111, 179, 0.3);
}

.slider-nav button:hover {
    background: var(--pink-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(254, 111, 179, 0.4);
}

/* Timeline sectie */
.project-timeline {
    padding: 6rem 0;
    position: relative;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0) 0%,
        rgba(254, 111, 179, 0.03) 50%,
        rgba(255, 255, 255, 0) 100%);
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Centrale lijn */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(254, 111, 179, 0.2),
        var(--pink) 30%,
        var(--pink-dark));
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Timeline items */
.timeline-item {
    position: relative;
    margin: 0rem 0;
    width: 100%;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Pulserende dots */
.timeline-dot {
    position: absolute;
    left: 50%;
    width: 24px;
    height: 24px;
    background: var(--pink);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 0 4px rgba(254, 111, 179, 0.15),
                0 0 0 8px rgba(254, 111, 179, 0.1);
}

.dot-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--pink);
    border-radius: 50%;
    opacity: 0.5;
    animation: pulse 3s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

/* Timeline content */
.timeline-content {
    position: relative;
    width: 45%;
    padding: 2.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(254, 111, 179, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

/* Timeline details */
.timeline-date {
    color: var(--pink);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.timeline-content h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
}

.timeline-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

.timeline-details {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(254, 111, 179, 0.98) 0%,
        rgba(254, 111, 179, 0.95) 100%);
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.timeline-content:hover .timeline-details {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.details-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-right: 1rem;
}

.details-content h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
    transition-delay: 0.1s;
}

.details-content p {
    color: white;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
    transition-delay: 0.2s;
}

.details-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.details-content li {
    color: white;
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
    padding-left: 1.5rem;
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.details-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.8);
}

/* Animatie voor content bij hover */
.timeline-content:hover .details-content h4,
.timeline-content:hover .details-content p,
.timeline-content:hover .details-content li {
    transform: translateY(0);
    opacity: 1;
}

/* Vertraagde animatie voor lijst items */
.timeline-content:hover .details-content li:nth-child(1) { transition-delay: 0.3s; }
.timeline-content:hover .details-content li:nth-child(2) { transition-delay: 0.35s; }
.timeline-content:hover .details-content li:nth-child(3) { transition-delay: 0.4s; }
.timeline-content:hover .details-content li:nth-child(4) { transition-delay: 0.45s; }
.timeline-content:hover .details-content li:nth-child(5) { transition-delay: 0.5s; }
.timeline-content:hover .details-content li:nth-child(6) { transition-delay: 0.55s; }
.timeline-content:hover .details-content li:nth-child(7) { transition-delay: 0.6s; }

/* Scrollbar styling */
.timeline-details::-webkit-scrollbar {
    width: 6px;
}

.timeline-details::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.timeline-details::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.timeline-details::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Testimonials */
.testimonials {
    text-align: center;
    margin: 4rem 0;
}

.testimonial {
    background-color: #f5f5f5;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.testimonial blockquote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.back-home {
    display: inline-block;
    background-color: var(--pink);
    color: #333;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    margin: 2rem;
    transition: background-color 0.3s ease;
}

.back-home:hover {
    background-color: var(--pink-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .projects-header {
        height: 300px;
    }

    .projects-header .header-content h1 {
        font-size: 2.5rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-dot {
        left: 20px;
        width: 20px;
        height: 20px;
    }

    .timeline-content {
        background-color: white !important;
        box-shadow: 0 5px 15px rgba(254, 111, 179, 0.2) !important;
        width: calc(100% - 50px);
        margin-left: 40px !important;
        padding: 1.5rem;
        text-align: center;
    }

    .timeline-details {
        background-color: var(--pink) !important;
        opacity: 0;
    }

    .timeline-content:hover .timeline-details {
        opacity: 1;
        background-color: var(--pink) !important;
    }

    .timeline-date {
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .timeline-content h3 {
        font-size: 1.4rem;
        text-align: center;
    }

    .timeline-item {
        margin: 2.5rem 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 40px !important;
    }

    .details-content h4 {
        font-size: 1.1rem;
    }

    .details-content p,
    .details-content li {
        font-size: 0.95rem;
    }

    /* Gallery slider */
    .slide {
        padding: 2rem 1rem;
    }

    .slide-content h3 {
        font-size: 1.6rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .slider-nav button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

.block-content {
    position: relative;
    overflow: hidden;
}

.block-content .extra-info {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px;
    box-sizing: border-box;
    transition: top 0.3s ease;
    opacity: 0;
}

.block-content:hover .extra-info {
    top: 0;
    opacity: 1;
}

.timeline-content .extra-info {
    position: absolute;
    bottom: -100%;  /* Start vanaf onderkant */
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(255, 192, 203, 0.95) 0%,
        rgba(255, 182, 193, 0.98) 100%);
    color: #333;
    padding: 2rem;
    box-sizing: border-box;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.timeline-content:hover .extra-info {
    bottom: 0;
    opacity: 1;
}

.timeline-content .extra-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.2s;
}

.timeline-content:hover .extra-info p {
    transform: translateY(0);
    opacity: 1;
}

.personal-development {
    max-width: 800px;
    margin: 6rem auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(254, 111, 179, 0.12);
}

.personal-development h2 {
    color: var(--pink);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.development-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.development-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
}

@media (max-width: 768px) {
    .personal-development {
        margin: 4rem 1rem;
        padding: 1.5rem;
    }
    
    .personal-development h2 {
        font-size: 1.8rem;
    }
}

.contact-footer {
    background: none;  /* Verwijder de gradient achtergrond */
    padding: 3rem 0.5rem;
    margin-top: 6rem;
    text-align: center;
    position: relative;
}

.examples-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 2rem;
}

.examples-section h2 {
    text-align: center;
    color: var(--pink);
    font-size: 2.2rem;
    margin-bottom: 3rem;
    position: relative;
}

.examples-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--pink) 0%, transparent 100%);
    border-radius: 2px;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.example-card {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(254, 111, 179, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.example-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--pink) 0%, var(--pink-dark) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.example-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(254, 111, 179, 0.15);
}

.example-card:hover::before {
    opacity: 1;
}

.example-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.example-card h3 {
    color: var(--pink);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.example-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .examples-section {
        padding: 1rem;
        margin: 3rem auto;
    }
    
    .examples-grid {
        grid-template-columns: 1fr;
    }
    
    .example-card {
        padding: 1.5rem;
    }
}

.description-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
}

.description-text {
    flex: 2;
    min-width: 0;
}

.description-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.projecten-foto {
    max-width: 220px;
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(254, 111, 179, 0.13);
}

@media (max-width: 900px) {
    .description-flex {
        flex-direction: column;
        gap: 1.5rem;
    }
    .description-image {
        justify-content: center;
        margin-bottom: 1rem;
    }
    .projecten-foto {
        max-width: 320px;
    }
}