.hobby-slideshow {
    position: relative;
    width: 100%;
    max-width: 1300px;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: auto;
    overflow: hidden;
    background: var(--color-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    font-family: var(--font-base);
}

.hobby-slideshow .slides-wrapper {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.hobby-slideshow .slide {
    min-width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    height: auto;
}

.slide-content {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 1rem;
}

.slide-content img {
    max-width: 600px;
    max-height: 600px;
    width: auto;
    height: auto;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    border-radius: var(--border-radius);
}

.slide-content img:hover {
    transform: scale(1.03);
}

.slide-text {
    color: var(--color-body-text);
    flex: 1;
    padding: 1rem;
    box-sizing: border-box;
}

.slide-text h2 {
    margin: 0 0 0.5em 0;
    font-size: 2em;
    line-height: 1.2;
    font-family: var(--font-sec);
    color: var(--color-secondary);
}

.slide-text p {
    font-size: 1.15em;
    line-height: 1.5;
    color: #d1d5db;
}

.hobby-slider-title {
    text-align: center;
    font-family: var(--font-sec);
    font-weight: 800;
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 2rem;
}

.hobby-slider-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-secondary);
    margin: 0.5rem auto 0 auto;
    border-radius: calc(var(--border-radius)/2);
}

/* Pijltjes */
.hobby-slideshow .prev,
.hobby-slideshow .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(15,23,42,0.8);
    color: #fff;
    border: none;
    padding: 18px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 26px;
    z-index: 10;
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
    transition: background-color 0.3s, transform 0.3s;
}

.hobby-slideshow .prev:hover,
.hobby-slideshow .next:hover {
    background-color: var(--color-secondary);
    transform: translateY(-50%) scale(1.15);
}

.hobby-slideshow .prev { left: 20px; }
.hobby-slideshow .next { right: 20px; }

/* Animatie bij klikken */
.slide-animate-next {
    animation: slideInRight 0.5s ease forwards;
}
.slide-animate-prev {
    animation: slideInLeft 0.5s ease forwards;
}
.sparkle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #fff, var(--color-secondary));
    border-radius: 50%;
    pointer-events: none;
}


@keyframes slideInRight {
    0% { transform: translateX(100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}
@keyframes slideInLeft {
    0% { transform: translateX(-100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

/* Responsive aanpassingen */
@media (max-width: 1024px) {
    .slide-content { gap: 25px; }
    .slide-content img { max-width: 450px; max-height: 400px; }
    .slide-text h2 { font-size: 1.8em; }
    .slide-text p { font-size: 1.05em; }
}

@media (max-width: 768px) {
    .slide-content { flex-direction: column; align-items: center; gap: 20px; text-align: center; padding: 0.5rem; }
    .slide-content img { max-width: 80%; max-height: 250px; }
    .slide-text h2 { font-size: 1.5em; }
    .slide-text p { font-size: 1em; line-height: 1.4; }
    .hobby-slideshow .prev, .hobby-slideshow .next { padding: 12px; font-size: 22px; }
}

@media (max-width: 480px) {
    .slide-content img { max-width: 90%; max-height: 200px; }
    .slide-text h2 { font-size: 1.3em; }
    .slide-text p { font-size: 0.95em; }
    .hobby-slideshow .prev, .hobby-slideshow .next { padding: 10px; font-size: 18px; }
}
