@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ========================================= */
/* --- RESET & DASAR --- */
/* ========================================= */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0a0a0a; /* Hitam pekat */
    color: #e5e5e5; 
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

/* ========================================= */
/* --- ANIMASI GLOBAL --- */
/* ========================================= */
@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes glowPink {
    0% { box-shadow: 0 0 5px #ff007f, 0 0 10px #ff007f; }
    50% { box-shadow: 0 0 15px #ff007f, 0 0 25px #ff007f; }
    100% { box-shadow: 0 0 5px #ff007f, 0 0 10px #ff007f; }
}

/* ========================================= */
/* --- NAVBAR HITAM PINK --- */
/* ========================================= */
.navbar {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #ff007f;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    animation: fadeUp 0.6s ease-out;
}

.navbar .brand { color: white; display: flex; flex-direction: column; }
.navbar .brand .title { 
    font-size: 20px; font-weight: 800; letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 0, 127, 0.5);
}
.navbar .brand .subtitle { font-size: 11px; opacity: 0.7; color: #ff007f; font-weight: 600; }

.navbar .nav-links { display: flex; gap: 25px; }
.navbar .nav-links a { 
    font-size: 14px; font-weight: 600; position: relative; transition: 0.3s;
}
.navbar .nav-links a::after {
    content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0;
    background-color: #ff007f; transition: 0.3s; box-shadow: 0 0 8px #ff007f;
}
.navbar .nav-links a:hover { color: #ff007f; }
.navbar .nav-links a:hover::after { width: 100%; }

/* ========================================= */
/* --- HERO SECTION (HALAMAN UTAMA) --- */
/* ========================================= */
.hero {
    background-image: linear-gradient(rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.95)), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
    margin-top: 70px;
    animation: fadeUp 0.8s ease-out;
}

.hero h1 {
    font-size: 52px; font-weight: 800; margin-bottom: 20px;
    text-transform: uppercase; letter-spacing: 2px;
    background: linear-gradient(90deg, #ffffff, #ff007f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 0, 127, 0.3);
}

.hero p { font-size: 16px; max-width: 700px; margin-bottom: 30px; color: #ccc; }

.btn-hero {
    background-color: transparent;
    color: #ff007f;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    border: 2px solid #ff007f;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.2);
}
.btn-hero:hover {
    background-color: #ff007f;
    color: white;
    animation: glowPink 1.5s infinite;
    transform: translateY(-3px) scale(1.05);
}

/* ========================================= */
/* --- KONTEN UTAMA (HALAMAN DEPAN) --- */
/* ========================================= */
.container {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeUp 1s ease-out;
}

.section-header {
    font-size: 28px; font-weight: 800; color: #ffffff;
    margin-bottom: 25px; padding-bottom: 10px; display: inline-block;
    border-bottom: 3px solid #ff007f;
    text-shadow: 0 0 10px rgba(255, 0, 127, 0.5);
}

.card {
    background: #141414;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #333;
    border-left: 5px solid #ff007f;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin-bottom: 40px;
    transition: all 0.3s ease;
}
.card:hover {
    box-shadow: 0 0 20px rgba(255, 0, 127, 0.2);
    border-color: #ff007f;
}

/* TABEL STRUKTUR */
table { width: 100%; border-collapse: collapse; }
th, td { padding: 15px; text-align: left; border-bottom: 1px solid #333; font-size: 14px; color: #ddd; }
th { background: #1f1f1f; color: #ff007f; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;}
tr:hover td { background: #1a1a1a; color: #fff; }

/* GALERI FOTO DEPAN */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }

.photo-item {
    border-radius: 12px; overflow: hidden; background: #141414;
    border: 1px solid #333; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: block;
}

.photo-item:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #ff007f;
    box-shadow: 0 15px 30px rgba(255, 0, 127, 0.3);
}

.photo-item img {
    width: 100%; height: 200px; object-fit: cover; display: block;
    transition: transform 0.5s ease;
}

.photo-item:hover img { transform: scale(1.1); }

.photo-item p {
    padding: 15px; text-align: center; font-size: 15px;
    font-weight: 600; color: #fff; background: #141414; transition: 0.3s;
}
.photo-item:hover p { color: #ff007f; }

/* ========================================= */
/* --- HALAMAN DETAIL FOTO (100% RAPI) --- */
/* ========================================= */
.detail-container {
    padding: 120px 20px 60px; /* Jarak aman dari navbar */
    max-width: 900px;
    margin: 0 auto;
    text-align: center; /* Memaksa semua isi ke tengah */
    animation: fadeUp 0.8s ease-out;
}

.btn-kembali {
    display: inline-block;
    background-color: #1a1a1a;
    color: #ff007f;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid #ff007f;
    margin-bottom: 30px;
    transition: 0.3s;
    text-decoration: none;
}
.btn-kembali:hover {
    background-color: #ff007f;
    color: white;
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.6);
}

.foto-besar {
    width: 100%;
    max-height: 60vh;
    object-fit: contain; /* Foto tidak akan terpotong/gepeng */
    border-radius: 12px;
    border: 3px solid #333;
    background-color: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin-bottom: 30px;
    display: block;
}

.detail-judul {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(255, 0, 127, 0.5);
}

.detail-teks {
    font-size: 16px;
    color: #aaaaaa;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================= */
/* --- RESPONSIVE MOBILE (HP) --- */
/* ========================================= */
@media (max-width: 768px) {
    /* Navbar */
    .navbar .nav-links { display: none; }
    
    /* Hero */
    .hero h1 { font-size: 36px; }
    
    /* Galeri Depan */
    .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .photo-item img { height: 120px; }
    .photo-item p { font-size: 12px; padding: 10px; }
    
    /* Halaman Detail */
    .detail-container { padding: 100px 15px 40px; }
    .detail-judul { font-size: 24px; }
    .detail-teks { font-size: 14px; }
    .foto-besar { max-height: 50vh; }
}z