/* Modern Gallery Page Styles - Matching Katalog Theme */

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f8fbff 0%, #e8f4ff 100%);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Section */
#galeri-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #0066cc 0%, #00baff 100%);
    color: white;
    overflow: hidden;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.hero-floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-circle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: floatCircle 20s ease-in-out infinite;
}

.circle-1 {
    width: 150px;
    height: 150px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 15%;
    animation-delay: -7s;
}

.circle-3 {
    width: 80px;
    height: 80px;
    top: 30%;
    right: 10%;
    animation-delay: -14s;
}

@keyframes floatCircle {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1); 
        opacity: 0.3;
    }
    25% { 
        transform: translateY(-30px) rotate(90deg) scale(1.1); 
        opacity: 0.5;
    }
    50% { 
        transform: translateY(-60px) rotate(180deg) scale(0.9); 
        opacity: 0.7;
    }
    75% { 
        transform: translateY(-30px) rotate(270deg) scale(1.1); 
        opacity: 0.5;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 0.8rem 2rem;
    margin-bottom: 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    font-size: 1.2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Hero Stats */
.hero-stats {
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Main Gallery Section */
#galeri-main {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.galeri-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.galeri-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(0, 186, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 186, 255, 0.05) 0%, transparent 50%);
}

.galeri-floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    background: linear-gradient(135deg, rgba(0, 186, 255, 0.1), rgba(0, 230, 255, 0.05));
    border-radius: 50%;
    animation: floatShape 25s ease-in-out infinite;
}

.shape-1 {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 80px;
    height: 80px;
    top: 70%;
    right: 10%;
    animation-delay: -8s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 40%;
    right: 5%;
    animation-delay: -16s;
}

.shape-4 {
    width: 60px;
    height: 60px;
    top: 85%;
    left: 20%;
    animation-delay: -24s;
}

@keyframes floatShape {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1); 
        opacity: 0.4;
    }
    25% { 
        transform: translateY(-25px) rotate(90deg) scale(1.1); 
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-50px) rotate(180deg) scale(0.9); 
        opacity: 0.8;
    }
    75% { 
        transform: translateY(-25px) rotate(270deg) scale(1.1); 
        opacity: 0.6;
    }
}

.container {
    position: relative;
    z-index: 1;
}

/* Gallery Sections */
.galeri-section {
    margin-bottom: 6rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 186, 255, 0.1);
    transition: all 0.3s ease;
    scroll-margin-top: 100px;
}

@media (hover: hover) {
    .galeri-section:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 50px rgba(0, 186, 255, 0.15);
    }
}

/* Section Header */
.section-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.section-icon-wrapper {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00baff, #0066cc);
    color: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 8px 25px rgba(0, 186, 255, 0.3);
    transition: all 0.3s ease;
}

.galeri-section:hover .section-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(0, 186, 255, 0.4);
}

.section-info {
    flex: 1;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0066cc;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #0066cc 0%, #00baff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.section-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    max-width: 700px;
}

.features-list {
    display: block;
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.features-list .feature-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #555;
    background: rgba(0, 186, 255, 0.05);
    padding: 0.4rem 0.8rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 186, 255, 0.1);
}

.features-list .feature-item i {
    color: #00baff;
}

.section-action {
    margin-left: auto;
    flex-shrink: 0;
}

.section-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #00baff, #0066cc);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 186, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.section-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.5s ease;
}

.section-btn:hover::before {
    left: 100%;
}

.section-btn:hover {
    background: linear-gradient(135deg, #0066cc, #00baff);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 186, 255, 0.4);
    color: white;
    text-decoration: none;
}

.section-btn i {
    transition: transform 0.3s ease;
}

.section-btn:hover i {
    transform: translateX(3px);
}

/* Gallery Content */
.galeri-content {
    margin-top: 2rem;
}

/* Featured Image */
.featured-image-wrapper {
    margin-top: 20px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.featured-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-image-wrapper:hover .featured-image {
    transform: scale(1.05);
}

.featured-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 102, 204, 0.8) 0%, 
        rgba(0, 186, 255, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-image-wrapper:hover .featured-image-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
}

.overlay-content h5 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.overlay-content p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Gallery Carousel */
.gallery-carousel-wrapper {
    position: relative;
}

.gallery-carousel {
    padding: 1rem 0;
}

.gallery-carousel .owl-stage-outer {
    padding: 1rem 0;
}

.gallery-carousel .owl-stage {
    display: flex;
    align-items: stretch; /* Ensure all items have same height */
}

.gallery-carousel .owl-item {
    display: flex;
    align-items: stretch;
    padding: 0 8px; /* Add consistent padding to each item */
    height: auto; /* Allow natural height calculation */
}

.gallery-carousel .item {
    display: flex;
    width: 100%;
    height: 100%; /* Fill parent height */
}

.gallery-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin: 0; /* Remove margin since we're using padding on owl-item */
    box-shadow: 0 5px 20px rgba(0, 186, 255, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    min-height: 280px; /* Consistent minimum height */
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 186, 255, 0.2);
    border-color: rgba(0, 186, 255, 0.3);
}

.gallery-image-wrapper {
    position: relative;
    height: 200px; /* Fixed height for all image containers */
    overflow: hidden;
    flex-shrink: 0; /* Prevent shrinking */
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures consistent image display */
    object-position: center; /* Centers the image */
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 102, 204, 0.8) 0%, 
        rgba(0, 186, 255, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-actions {
    display: flex;
    gap: 1rem;
}

.gallery-action-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.gallery-action-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
    color: white;
}

.gallery-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #00baff, #0066cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 186, 255, 0.3);
    z-index: 3;
}

.gallery-info {
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center; /* Center content vertically */
    min-height: 60px; /* Consistent minimum height for text area */
}

.gallery-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0;
    background: linear-gradient(135deg, #0066cc 0%, #00baff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Video Section */
#video-section {
    background: #f8f9fa;
}

.video-carousel-wrapper {
    position: relative;
}

.video-carousel .owl-item {
    display: flex;
    align-items: stretch;
    padding: 0 10px; /* Consistent padding for video items */
    height: auto; /* Allow natural height calculation */
}

.video-carousel .item {
    display: flex;
    width: 100%;
    height: 100%; /* Fill parent height */
}

.video-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 186, 255, 0.1);
    transition: all 0.3s ease;
    margin: 0; /* Remove margin since we're using padding on owl-item */
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 320px; /* Consistent minimum height for video cards */
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 186, 255, 0.2);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    flex-shrink: 0; /* Prevent shrinking */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center; /* Center content vertically */
    min-height: 80px; /* Consistent minimum height for video text area */
}

.video-info h6 {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.video-info p {
    color: #6c757d;
    margin-bottom: 0;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

/* Gallery CTA */
.galeri-cta {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    padding: 4rem 2rem;
    margin-top: 4rem;
    box-shadow: 0 10px 40px rgba(0, 186, 255, 0.1);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 186, 255, 0.1);
    border: 1px solid rgba(0, 186, 255, 0.2);
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #0066cc;
    backdrop-filter: blur(10px);
}

.cta-badge i {
    color: #00baff;
    font-size: 1rem;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #0066cc 0%, #00baff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-btn.primary {
    background: linear-gradient(135deg, #00baff, #0066cc);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 186, 255, 0.3);
}

.cta-btn.secondary {
    background: transparent;
    color: #0066cc;
    border: 2px solid #0066cc;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.5s ease;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn.primary:hover {
    background: linear-gradient(135deg, #0066cc, #00baff);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 186, 255, 0.4);
    color: white;
}

.cta-btn.secondary:hover {
    background: #0066cc;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
}

.cta-btn i {
    transition: transform 0.3s ease;
}

.cta-btn:hover i {
    transform: translateX(3px);
}

/* Enhanced Lightbox */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-info {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
    text-align: center;
    min-width: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.lightbox-info h5 {
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.lightbox-info p {
    color: #6c757d;
    margin-bottom: 0;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Owl Carousel Custom Styles */
.owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.owl-carousel .owl-nav button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(0, 186, 255, 0.3);
    color: #0066cc;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 16px rgba(0, 102, 204, 0.18);
    pointer-events: all;
    opacity: 0;
    transform: scale(0.85);
}

/* Show on desktop hover */
.gallery-carousel-wrapper:hover .owl-nav button,
.video-carousel-wrapper:hover .owl-nav button {
    opacity: 1;
    transform: scale(1);
}

/* Always show on touch devices */
@media (hover: none) and (pointer: coarse) {
    .owl-carousel .owl-nav button {
        opacity: 1 !important;
        transform: scale(1) !important;
    }
}

.owl-carousel .owl-nav button:hover {
    background: linear-gradient(135deg, #00baff, #0066cc);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.3);
    transform: scale(1.1) !important;
    color: white;
    border-color: transparent;
}

.owl-carousel .owl-nav .owl-prev {
    margin-left: -22px;
}

.owl-carousel .owl-nav .owl-next {
    margin-right: -22px;
}

/* Owl Carousel Dot Indicators */
.owl-carousel .owl-dots {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    padding: 4px 0;
}

/* Button wrapper — transparent tap target */
.owl-carousel .owl-dots .owl-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    margin: 0;
    flex-shrink: 0;
    background: transparent;
    border: none;
    cursor: pointer;
}

/* The visible dot is the span */
.owl-carousel .owl-dots .owl-dot span {
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(0, 186, 255, 0.3);
    border: 1.5px solid rgba(0, 186, 255, 0.5);
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin: 0;
}

.owl-carousel .owl-dots .owl-dot:hover span {
    background: rgba(0, 186, 255, 0.6);
    border-color: #00baff;
}

/* Active dot — pill shape */
.owl-carousel .owl-dots .owl-dot.active span {
    width: 24px;
    height: 7px;
    border-radius: 4px;
    background: linear-gradient(90deg, #00baff, #0066cc);
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(0, 186, 255, 0.4);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .galeri-section {
        padding: 2.5rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .section-action {
        margin-left: 0;
        width: 100%;
    }

    .section-btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .featured-image-wrapper {
        height: 250px;
        margin-bottom: 2rem;
    }

    .galeri-section {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    #galeri-hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .stat-item {
        padding: 0.8rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .featured-image-wrapper {
        height: 220px;
    }

    .gallery-image-wrapper {
        height: 175px;
    }

    .gallery-card {
        min-height: 250px;
    }

    .video-card {
        min-height: 290px;
    }

    .galeri-section {
        padding: 1.5rem;
        margin-bottom: 3rem;
        border-radius: 20px;
    }

    .galeri-cta {
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-subtitle {
        font-size: 1rem;
    }

    .cta-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }

    /* Owl nav smaller on mobile */
    .owl-carousel .owl-nav button {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .owl-carousel .owl-nav .owl-prev {
        margin-left: -19px;
    }

    .owl-carousel .owl-nav .owl-next {
        margin-right: -19px;
    }
}

@media (max-width: 576px) {
    .hero-badge {
        font-size: 0.9rem;
        padding: 0.6rem 1.5rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .featured-image-wrapper {
        height: 180px;
    }
    
    .gallery-image-wrapper {
        height: 160px; /* Smaller on mobile */
    }
    
    .gallery-card {
        min-height: 240px; /* Adjust minimum height for mobile */
    }
    
    .video-card {
        min-height: 280px; /* Adjust minimum height for mobile */
    }
    
    .gallery-info {
        padding: 0.8rem;
        min-height: 50px; /* Smaller text area on mobile */
    }
    
    .video-info {
        padding: 1rem;
        min-height: 60px; /* Smaller text area on mobile */
    }
    
    .lightbox-info {
        min-width: 250px;
        padding: 1rem;
    }
    
    .lightbox-close {
        top: 10px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 30px;
    }
    
    /* Nav already visible on touch — shrink further */
    .owl-carousel .owl-nav button {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }

    .owl-carousel .owl-nav .owl-prev {
        margin-left: -17px;
    }

    .owl-carousel .owl-nav .owl-next {
        margin-right: -17px;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .section-icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
}

/* Smooth Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Accessibility */
.gallery-action-btn:focus,
.section-btn:focus,
.cta-btn:focus {
    outline: 2px solid #00baff;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .lightbox-modal,
    .floating-circle,
    .floating-shape {
        display: none !important;
    }
    
    .galeri-section {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* Empty State Messages */
.empty-gallery-message,
.empty-video-message {
    background: rgba(255, 255, 255, 0.8);
    border: 2px dashed rgba(0, 186, 255, 0.3);
    border-radius: 15px;
    margin: 4rem 0;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.empty-gallery-message i,
.empty-video-message i {
    color: rgba(0, 186, 255, 0.4) !important;
    margin-bottom: 1rem;
}

.empty-gallery-message p,
.empty-video-message p {
    font-size: 1.1rem;
    color: #6c757d !important;
    margin: 0;
    font-weight: 500;
}

/* Carousel Debug Info */
.carousel-debug {
    font-size: 0.8rem;
    color: #6c757d;
    text-align: center;
    margin-top: 0.5rem;
    display: none; /* Hidden by default, can be shown for debugging */
}

/* ===== SIMPLE MODERN VIDEO GALLERY SECTION ===== */

/* Video Section */
#video-section {
    padding: 80px 0;
    background: #fafbfc;
}

/* Video Header */
.video-header {
    max-width: 700px;
    margin: 0 auto;
}

.video-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #0066cc, #00baff);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
}

.video-badge i {
    font-size: 1rem;
}

.video-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.video-subtitle {
    font-size: 1.15rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Video Filter */
.video-filter {
    margin-bottom: 3rem;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.7rem 1.5rem;
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 25px;
    color: #555;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.filter-btn:hover {
    border-color: #0066cc;
    color: #0066cc;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
}

.filter-btn.active {
    background: #0066cc;
    color: white;
    border-color: #0066cc;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.filter-count {
    background: rgba(0, 0, 0, 0.1);
    color: #666;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.filter-btn.active .filter-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Video Cards */
.video-grid {
    margin-bottom: 3rem;
}

.video-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 2rem;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .thumbnail-image {
    transform: scale(1.02);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.video-card:hover .video-overlay {
    opacity: 1;
}

.play-button {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0066cc;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.video-card:hover .play-button {
    transform: scale(1.1);
    background: white;
}

.play-button i {
    margin-left: 3px;
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.video-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 102, 204, 0.9);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.video-category.activity {
    background: rgba(34, 197, 94, 0.9);
}

.video-category.profile {
    background: rgba(168, 85, 247, 0.9);
}

.video-info {
    padding: 1.5rem;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 0.8rem;
    color: #888;
}

.video-date {
    color: #666;
}

.video-views {
    color: #888;
}

.video-info .video-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
}

.video-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* YouTube CTA */
.youtube-cta {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    border-radius: 20px;
    color: white;
    box-shadow: 0 8px 30px rgba(255, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.youtube-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.youtube-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
}

.youtube-icon i {
    font-size: 2.5rem;
    color: white;
}

.youtube-cta h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.youtube-cta p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.youtube-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.youtube-stats .stat {
    text-align: center;
    opacity: 0.9;
}

.youtube-stats .stat strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.youtube-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.youtube-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}

.youtube-btn i {
    font-size: 1.2rem;
}

/* Video Modal - Simple Version */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal-content {
    background: white;
    border-radius: 12px;
	max-width: 96%;
	max-height: 95vh;
	width: min(96vw, 1400px);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.video-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e1e5e9;
    background: #f8f9fa;
}

.video-modal-header h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.modal-close {
    width: 32px;
    height: 32px;
    background: #f1f3f4;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #666;
}

.modal-close:hover {
    background: #e1e5e9;
}

.video-modal-body {
    padding: 0;
}

.video-iframe-wrapper {
	position: relative;
	width: 100%;
	max-width: 1400px;
	aspect-ratio: 16 / 9;
	height: auto;
	max-height: 85vh;
}

.video-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-modal-info {
    padding: 1rem 1.5rem;
    background: #f8f9fa;
}

.video-modal-info p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design for Video Gallery */
@media (max-width: 992px) {
    .video-title {
        font-size: 2.2rem;
    }
    
    .video-subtitle {
        font-size: 1rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .video-thumbnail {
        height: 180px;
    }
    
    .youtube-cta h3 {
        font-size: 1.8rem;
    }
    
	.video-iframe-wrapper {
		height: auto;
	}
}

@media (max-width: 768px) {
    .video-title {
        font-size: 2.2rem;
    }
    
    .video-subtitle {
        font-size: 1rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        min-width: 100px;
    }
    
    .filter-buttons {
        gap: 0.3rem;
    }
    
    .video-thumbnail {
        height: 160px;
    }
    
    .video-info {
        padding: 1.2rem;
    }
    
    .video-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
    
    .video-info .video-title {
        font-size: 1.1rem;
    }
    
    .video-description {
        font-size: 0.9rem;
    }
    
    .youtube-cta {
        padding: 2.5rem 1.5rem;
    }
    
    .youtube-icon {
        width: 60px;
        height: 60px;
    }
    
    .youtube-icon i {
        font-size: 2rem;
    }
    
    .youtube-cta h3 {
        font-size: 1.8rem;
    }
    
    .youtube-cta p {
        font-size: 0.95rem;
    }
    
    .youtube-stats {
        gap: 1.5rem;
    }
    
    .youtube-stats .stat strong {
        font-size: 1.1rem;
    }
    
	.video-iframe-wrapper {
		height: auto;
	}
}

@media (max-width: 576px) {
    .video-title {
        font-size: 1.8rem;
    }
    
    .filter-buttons {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .filter-btn {
        min-width: 90px;
        padding: 0.5rem 0.8rem;
    }
    
    .filter-count {
        font-size: 0.75rem;
    }
    
    .youtube-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .youtube-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
}

