/* Voormolen Interactive Gallery Styles */

.voormolen-gallery-wrapper {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #fff;
    background: #000;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Tabs */
.voormolen-gallery-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
    justify-content: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
    z-index: 10;
}

.gallery-tab {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.6);
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.gallery-tab:hover {
    border-color: #f0b849;
    color: #f0b849;
}

.gallery-tab.active {
    background: #f0b849;
    border-color: #f0b849;
    color: #000;
}

/* Container & Sections */
.voormolen-gallery-container {
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.gallery-section {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-section.active {
    display: block;
    opacity: 1;
}

/* Swiper Customization */
.voormolen-swiper {
    width: 100%;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
}

.swiper-slide {
    position: relative;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    width: 100%;
    height: 75vh;
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease;
}

.swiper-slide:hover img {
    transform: scale(1.02);
}

/* Info Overlay */
.slide-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 5;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none; /* Let clicks through to slider if needed */
}

.info-content {
    padding: 60px 40px 40px;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.5) 40%,
        rgba(0, 0, 0, 0.5) 100%
    );
    display: flex;
    flex-direction: column;
    pointer-events: auto;
}

.slide-title {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.slide-bijschrift {
    display: block;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
    font-weight: 400;
}

.slide-description {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Hover Effects */
.swiper-slide:hover .slide-description {
    max-height: 200px;
    opacity: 1;
    margin-top: 20px;
}

/* Alignment Classes */
.align-left .info-content {
    text-align: left;
}

.align-center .info-content {
    text-align: center;
}

.align-right .info-content {
    text-align: right;
}

/* Specific Gradient requirement: 0 to 50% dark at title, rest 50% */
/* Adjusted the padding and gradient points to match the visual request */
.slide-info-overlay .info-content {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.5) 30%,
        rgba(0, 0, 10, 0.5) 100%
    );
}

/* Swiper Controls */
.swiper-button-next,
.swiper-button-prev {
    color: #f0b849 !important;
}

.swiper-pagination-bullet {
    background: #fff !important;
}

.swiper-pagination-bullet-active {
    background: #f0b849 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .swiper-slide img {
        height: 400px;
    }
    .voormolen-gallery-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    .gallery-tab {
        white-space: nowrap;
    }
}
