/* === Section Title === */
.section-title {
    margin-bottom: 20px;
}

/* === Swiper Gallery Container === */
.gallery-swiper {
    position: relative !important;
    width: 100% !important;
    padding-bottom: 60px !important;
    margin-top: 10px !important;
}

/* === Gallery Pair (2 images per slide) === */
.gallery-pair {
    display: flex !important;
    gap: 20px !important;
}

.gallery-pair img {
    width: 50% !important;
    aspect-ratio: 4 / 3 !important;
    object-fit: cover !important;
    border-radius: 0px !important;
    transition: transform 0.3s ease !important;
    cursor: pointer !important;
}

.gallery-pair img:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
}

/* === Swiper Pagination === */

.swiper .swiper-pagination {
    position: absolute !important;
    bottom: 10px !important;
    left: 0 !important;
    width: 100% !important;
    text-align: center !important;
    z-index: 1 !important;
}

.swiper .swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    background: #999 !important;
    opacity: 0.5 !important;
    margin: 0 4px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
}

.swiper .swiper-pagination-bullet-active {
    background: #ff6600 !important;
    opacity: 1 !important;
}
/* === Responsive Adjustment === */
@media (max-width: 768px) {
    .gallery-pair {
        flex-direction: column !important;
    }

    .gallery-pair img {
        width: 100% !important;
        aspect-ratio: 4 / 3 !important;
    }
}

/* === Lightbox Overlay === */
#lightbox {
    display: none !important;
    position: fixed !important;
    z-index: 999 !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.85) !important;
    justify-content: center !important;
    align-items: center !important;
}

#lightbox img {
    max-width: 95% !important;
    max-height: 90vh !important;
    border-radius: 0px !important;
    animation: zoomIn 0.3s ease !important;
}

#lightbox .close {
    position: absolute !important;
    top: 20px !important;
    right: 30px !important;
    font-size: 40px !important;
    color: white !important;
    cursor: pointer !important;
    font-weight: bold !important;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8) !important;
        opacity: 0;
    }
    to {
        transform: scale(1) !important;
        opacity: 1;
    }
}

/* === Hero Section === */
.video-hero {
    position: relative;
    width: 100%;
    height: 90vh; /* hampir fullscreen */
    overflow: hidden;
}

/* === Video Background === */
.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

/* === Overlay === */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.55); /* warna hitam-biru transparan */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

/* === Hero Content === */
.hero-content {
    text-align: center;
    color: #fff;
    z-index: 3;
    padding: 0 20px;
    animation: fadeInUp 1s ease-in-out;
}

/* === Title Styling === */
.hero-title {
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 3px;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.servo-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #ff6600;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: capitalize;
    color: #e0e0e0;
}

/* === Animasi Masuk === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Responsiveness === */
@media (max-width: 992px) {
    .video-hero {
        height: 70vh;
    }
    .hero-title {
        font-size: 1.9rem;
        margin-bottom: 7px;
    }
    .servo-title {
        font-size: 2.2rem;
        margin-bottom: 7px;
    }
    .hero-subtitle {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .video-hero {
        height: 60vh;
    }
    .hero-title {
        font-size: 1.7rem;
        margin-bottom: 7px;
    }
    .servo-title {
        font-size: 1.6rem;
        margin-bottom: 7px;
    }
    .hero-subtitle {
        font-size: 1.5rem;
    }
}
