/* Galeri Index — Hero */
.galeri-hero {
    padding-top: 8rem;
    padding-bottom: 4rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.galeri-hero-content {
    padding-top: 2rem;
}
.batik-overlay {
    background-image: url('../../images/batik-pattern.png');
    background-size: 500px 500px;
    background-repeat: repeat;
    opacity: 0.12;
    mix-blend-mode: overlay;
}

/* Galeri Index — Section Pattern */
.galeri-index-section {
    position: relative;
}
.galeri-index-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 30L0 0M30 30l30-30M30 30L0 60M30 30l30 30' stroke='%23003995' stroke-width='0.8' fill='none'/%3E%3C/svg%3E");
    background-size: 60px 60px;
    background-repeat: repeat;
}

/* Custom Pagination Buttons */
.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 700;
    color: #475569;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    text-decoration: none;
    cursor: pointer;
}
.pagination-btn:hover:not(.disabled):not(.active) {
    color: #003995;
    border-color: #003995;
    background-color: #f0f5ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 57, 149, 0.08);
}
.pagination-btn.active {
    color: #ffffff;
    background-color: #003995;
    border-color: #003995;
    box-shadow: 0 4px 12px rgba(0, 57, 149, 0.25);
    cursor: default;
}
.pagination-btn.disabled {
    color: #cbd5e1;
    background-color: #f8fafc;
    border-color: #e2e8f0;
    cursor: not-allowed;
    box-shadow: none;
}
.pagination-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.95);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 1.5rem;
}
.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}
.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}
.lightbox-close svg {
    width: 1.5rem;
    height: 1.5rem;
}
.lightbox-content {
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: zoomIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.lightbox-content img {
    max-height: 70vh;
    max-width: 100%;
    object-fit: contain;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.lightbox-caption {
    width: 100%;
    margin-top: 1.5rem;
    text-align: center;
}
.lightbox-cat-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.375rem;
}
.lightbox-title {
    font-family: 'Outfit', sans-serif;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
}

/* Responsive adjustments */
@media (max-width: 639px) {
    .galeri-hero {
        padding-top: 5.5rem;
        padding-bottom: 2.5rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .galeri-hero h1 {
        font-size: 1.75rem !important;
    }
    .galeri-hero p {
        font-size: 0.9375rem;
    }
    .pagination-btn {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 0.8125rem;
    }
    .pagination-btn svg {
        width: 1rem;
        height: 1rem;
    }
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 2.5rem;
        height: 2.5rem;
    }
    .lightbox-title {
        font-size: 1rem;
    }
}
