/* --- LIGHT PREMIUM THEME --- */
body.light-theme {
    background-color: #ffffff;
    color: #111;
    margin: 0;
    overflow-x: hidden;
}

/* NAVIGASI TRANSPARAN */
.nav-transparent {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 5%;
    background: transparent; /* Awalnya transparan */
    transition: 0.3s;
}

.nav-menu a {
    color: #111;
    text-decoration: none;
    font-size: 13px;
    margin-left: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
}

.active-link { border-bottom: 2px solid #000; opacity: 1 !important; font-weight: bold; }

/* HEADER */
.archive-header {
    padding: 180px 5% 40px; /* Padding atas lebih besar karena nav melayang */
    text-align: center;
}

.subtitle { letter-spacing: 4px; font-size: 11px; color: #888; margin-bottom: 10px; }
.archive-header h1 { font-size: 52px; font-weight: 700; color: #000; margin-bottom: 40px; }

/* FILTER MENU */
.filter-menu {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    position: sticky;
    top: 100px;
    z-index: 100;
}

.filter-btn {
    background: #f5f5f5;
    border: none;
    color: #555;
    padding: 12px 28px;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 20px;
}

.filter-btn:hover, .filter-btn.active {
    background: #430202;
    color: #fff;
}

/* MASONRY GRID */
.gallery-container { padding: 20px 5% 100px; }

.masonry-grid {
    column-count: 3;
    column-gap: 20px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #f9f9f9;
    transition: 0.4s ease;
    border: 1px solid #eee; /* Garis halus di sekeliling gambar */
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: 0.6s ease;
}

.hover-info {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: 0.3s;
}

.hover-info span {
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: #00000075;
    color: #fff;
    padding: 6px 15px;
    border-radius: 4px;
}

.gallery-item:hover { transform: scale(1.02); box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
.gallery-item:hover .hover-info { opacity: 1; }

/* LIGHTBOX MODAL (Gelap agar foto terlihat dramatis) */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.lightbox-content {
    max-width: 1200px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    background: #111;
    color: #fff;
    border-radius: 20px;
    overflow: hidden;
}

.lightbox-left img { width: 100%; height: 75vh; object-fit: cover; }
.lightbox-right { padding: 45px; overflow-y: auto; }
.lightbox-right h2 { font-size: 32px; margin-bottom: 20px; }
.lightbox-right p { line-height: 1.7; opacity: 0.7; font-weight: 300; }

.map-section { margin-top: 40px; border-top: 1px solid #333; padding-top: 25px; }
.map-section img { width: 100%; border-radius: 12px; margin-top: 15px; }

.close-btn {
    position: absolute;
    top: 30px; right: 50px;
    font-size: 50px; color: #fff; cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .masonry-grid { column-count: 2; }
    .lightbox-content { grid-template-columns: 1fr; margin: 0; }
    .nav-transparent { padding: 15px 5%; }
}
@media (max-width: 600px) {
    .archive-header h1 { font-size: 36px; }
    .archive-header { padding: 120px 5% 30px; }

    /* Filter menu horizontal scroll */
    .filter-menu {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        gap: 8px;
        scrollbar-width: none;
        padding: 0 5%;
    }
    .filter-menu::-webkit-scrollbar { display: none; }
    .filter-btn { font-size: 12px; padding: 8px 18px; white-space: nowrap; }

    /* Masonry ke horizontal scroll */
    .masonry-grid {
        column-count: unset;
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 12px;
        scrollbar-width: none;
    }
    .masonry-grid::-webkit-scrollbar { display: none; }

    .gallery-item {
        flex: 0 0 220px;
        scroll-snap-align: start;
        margin-bottom: 0;
    }
    .gallery-item img { height: 160px; object-fit: cover; }

    /* Lightbox mobile fix */
    .lightbox { padding: 10px; }
    .lightbox-content { margin: 10px auto; }
    .lightbox-right { padding: 20px; }
    .lightbox-right h2 { font-size: 22px; }
    .close-btn { top: 10px; right: 15px; font-size: 35px; }
}