/* [PENYESUAIAN 2] PALET WARNA HITAM & PUTIH */
:root {
    --black: #000000;
    --white: #FFFFFF;
    --text-primary: var(--white);
    --text-secondary: rgba(255, 255, 255, 0.75);
    --card-bg: rgba(0, 0, 0, 0.4); /* Background kartu semi-transparan hitam */
    --border-color: rgba(255, 255, 255, 0.2);
    /* [PENYESUAIAN 1] Tingkat transparansi header & footer */
    --header-footer-bg: rgba(0, 0, 0, 0.3); 
    --sticky-header-height: 130px; 
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

body {
    background-image: url('images/background_v2.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-body);
    margin: 0;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 15, 15, 0.7);
    z-index: -1;
}

/* --- HEADER & NAV STICKY --- */
.sticky-container {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--header-footer-bg);
    backdrop-filter: blur(15px); /* Efek blur ditingkatkan */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.page-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0.75rem 2rem;
    border-bottom: 1px solid var(--border-color);
}
.back-icon { justify-self: start; display: inline-flex; padding: 0.5rem; border-radius: 50%; transition: background-color 0.2s ease; }
.back-icon svg { stroke: var(--text-secondary); }
.back-icon:hover { background-color: rgba(255, 255, 255, 0.1); }
.header-title { font-family: var(--font-heading); color: var(--white); font-size: 1.5rem; margin: 0; } /* Warna jadi putih */
.sub-nav { display: flex; justify-content: center; gap: 2rem; padding: 0.75rem 0; }
.nav-link { font-family: var(--font-heading); text-decoration: none; color: var(--text-secondary); font-size: 1.1rem; padding-bottom: 0.5rem; border-bottom: 2px solid transparent; transition: color 0.3s ease, border-color 0.3s ease; cursor: pointer; }
.nav-link:hover { color: var(--text-primary); }
.nav-link.active { color: var(--white); border-bottom-color: var(--white); } /* Warna aktif jadi putih */

/* --- KONTEN UTAMA & GALERI --- */
.content-wrapper { max-width: 1400px; margin: 0 auto; padding: 0 2rem 2rem 2rem; }
.gallery-section { scroll-margin-top: var(--sticky-header-height); }
.gallery-section h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-align: center; /* Ditambahkan untuk rata tengah */
    padding-left: 0;   /* Dihapus padding kirinya */
    border-left: none;  /* Dihapus garis di kirinya */
}
.swiper { 
    width: 100%;
    padding-bottom: 40px; 
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.swiper.swiper-initialized {
    /* Tampilkan slider HANYA SETELAH Swiper.js selesai dan siap */
    visibility: visible;
    opacity: 1;
}

.swiper-slide {
    height: auto;
    display: flex;
}

/* --- CARD STYLE BARU --- */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, background-color 0.3s ease;
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.card:hover {
    transform: translateY(-8px);
    background-color: rgba(0, 0, 0, 0.6); /* Jadi lebih pekat saat hover */
}
.card img { width: 100%; height: 180px; object-fit: cover; opacity: 0.9; transition: opacity 0.3s; }
.card:hover img { opacity: 1; }
.card-content { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; align-items: center; text-align: center;}
.card-content h3 { margin: 0 0 0.5rem 0; font-family: var(--font-heading); font-size: 1.2rem; color: var(--text-primary); }
.card-content p { font-size: 0.9rem; line-height: 1.5; color: var(--text-secondary); flex-grow: 1; margin-bottom: 1.5rem;}

/* --- BUTTON STYLE BARU --- */
.card-button {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: var(--white);
    color: var(--black);
    border: none;
}
.card-button:hover {
    background-color: #dcdcdc; /* Warna hover jadi abu-abu terang */
    transform: scale(1.03);
}

/* Style untuk tombol tidak aktif */
.card-button-inactive {
 display: inline-block;
 padding: 0.75rem 1rem;
 border-radius: 8px;
 font-weight: 700;
 text-align: center;
 text-decoration: none;
 border: none;
 background-color: #444; /* Warna abu-abu lebih gelap */
 color: #888; /* Teks abu-abu lebih terang */
 cursor: not-allowed; /* Mengubah kursor jadi tanda "tidak boleh" */
 opacity: 0.7; /* Sedikit lebih redup */
}

.card-button-inactive:hover {
 background-color: #444; /* Tetap abu-abu saat dihover */
 color: #888;
 box-shadow: none; /* Hilangkan efek shadow hover jika ada */
 transform: none; /* Hilangkan efek scale atau translate hover jika ada */
}

/* --- NAVIGASI SWIPER --- */
.swiper-button-next, .swiper-button-prev { color: var(--white); }

/* --- FOOTER BARU --- */
.site-footer {
    background-color: var(--header-footer-bg);
    border-top: 1px solid var(--border-color);
    padding: 2rem;
    margin-top: 4rem;
    backdrop-filter: blur(15px);
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* Mengubah arah jadi vertikal */
    align-items: center;   /* Rata tengah secara horizontal */
    text-align: center;    /* Teks di dalamnya juga rata tengah */
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.footer-info h3 { margin: 0 0 0.5rem 0; color: var(--white); font-family: var(--font-heading); }
.footer-info p, .footer-info a { color: var(--text-secondary); text-decoration: none; transition: color 0.2s; }
.footer-info a:hover { color: var(--white); }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { color: var(--text-secondary); transition: color 0.2s; }
.footer-social a:hover { color: var(--white); }
.footer-social svg { width: 24px; height: 24px; }
.footer-copyright { text-align: center; color: var(--text-secondary); font-size: 0.8rem; border-top: 1px solid var(--border-color); padding-top: 1.5rem; max-width: 1200px; margin: 0 auto; }