/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* PENTING: Agar padding tidak menambah lebar elemen */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html, body {
    width: 100%;
    overflow-x: hidden; /* Mencegah scroll samping jika ada elemen melebar */
}

body {
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
}

a { 
    text-decoration: none; 
    color: #000000; 
    transition: 0.3s; 
}

ul { list-style: none; }

/* Typography - Tebal & Jelas */
h1, h2, h3, h4 {
    font-weight: 800;
    color: #000000;
    line-height: 1.2;
}

p {
    font-size: 1.1rem;
    color: #222222; /* Hitam pekat tapi nyaman */
    font-weight: 500;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #000000;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 1px;
    white-space: nowrap; /* Logo tidak akan turun baris */
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 700;
    font-size: 1rem;
}

.nav-links a:hover, .nav-links a.active {
    color: #ff0055;
    text-decoration: underline;
}

/* Burger Menu */
.burger-menu {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: black;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 80vh; /* Gunakan min-height agar fleksibel */
    width: 100%;
    background: radial-gradient(circle at center, #f4f4f4 0%, #ffffff 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.hero-content {
    width: 100%;
    max-width: 800px;
}

.hero h1 { 
    font-size: clamp(2.5rem, 5vw, 5rem); /* Ukuran font otomatis menyesuaikan layar */
    margin-bottom: 15px; 
}

.hero p { 
    font-size: 1.3rem; 
    margin-bottom: 30px; 
    font-weight: 600;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    background-color: #000000;
    color: white;
    font-weight: 800;
    text-transform: uppercase;
    border: 2px solid #000;
}

.btn:hover { 
    background-color: #ffffff; 
    color: #000000;
}

/* Container Umum */
.container {
    width: 90%; /* Lebar relatif agar tidak kaku */
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
}

.page-title { 
    text-align: center; 
    margin-bottom: 40px; 
    font-size: clamp(2rem, 4vw, 3rem); 
}

/* Artists Grid - Responsif Tanpa Space Kosong Aneh */
.artist-grid {
    display: grid;
    /* Grid otomatis: minimal 280px, kalau layar kecil jadi 1 kolom otomatis */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
}

.artist-card {
    background: #f9f9f9;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    text-align: center;
    width: 100%; /* Memastikan kartu mengisi kolom grid */
}

.artist-card img { 
    width: 100%; 
    height: auto; /* Tinggi otomatis agar gambar tidak gepeng */
    aspect-ratio: 1/1; /* Menjaga gambar tetap kotak */
    object-fit: cover;
    border-radius: 8px; 
    margin-bottom: 15px; 
    filter: grayscale(100%);
    transition: 0.3s;
}

.artist-card:hover img { filter: grayscale(0%); }

.artist-card h2 { font-size: 1.5rem; margin-bottom: 5px; }
.artist-card p { font-size: 1rem; color: #555; margin-bottom: 15px; }

.btn-small {
    display: inline-block;
    padding: 10px 25px;
    border: 2px solid #000;
    font-weight: 800;
    border-radius: 30px;
}
.btn-small:hover { background: #000; color: white; }

/* News List */
.search-box {
    margin-bottom: 30px;
    text-align: center;
    width: 100%;
}
.search-box input {
    padding: 15px;
    width: 100%;
    max-width: 500px;
    background: #f0f0f0;
    border: 2px solid #ddd;
    color: black;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
}

.news-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-item {
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.2s;
    width: 100%;
}

.news-item:hover { border-color: #000; background: #fafafa; }
.news-info { width: 90%; }
.news-info h3 { font-size: 1.3rem; margin-bottom: 5px; }
.news-date { font-size: 0.85rem; color: #666; font-weight: 700; text-transform: uppercase;}

/* News Detail Page */
.detail-header-logo {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 4px solid #000;
}
.detail-header-logo h1 { font-size: 3rem; letter-spacing: 5px; }

.article-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 20px;
    line-height: 1.2;
}

.article-body { width: 100%; }

.article-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px 0;
    border: 1px solid #ddd;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 20px 0;
    border: 2px solid #000;
    background: #000;
}
.video-wrapper iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

.article-text {
    font-size: 1.2rem;
    color: #000;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    background: #f4f4f4;
    margin-top: 50px;
    font-weight: 700;
    border-top: 1px solid #ddd;
}

/* --- MOBILE RESPONSIVE FIXES --- */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 5%;
    }

    .burger-menu {
        display: flex;
    }

    .nav-links {
        position: fixed; /* Ubah ke fixed agar menutupi layar penuh */
        right: 0;
        top: 0;
        height: 100vh;
        width: 70%; /* Lebar menu drawer */
        background-color: #ffffff;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        padding-top: 0;
        border-left: 2px solid #000;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .nav-links li {
        opacity: 0; /* Animasi fade in */
        margin: 20px 0;
    }

    /* Animasi link muncul satu per satu */
    .nav-active li {
        animation: navLinkFade 0.5s ease forwards;
    }
    
    /* Delay animasi tiap link */
    .nav-active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-active li:nth-child(2) { animation-delay: 0.2s; }
    .nav-active li:nth-child(3) { animation-delay: 0.3s; }
    .nav-active li:nth-child(4) { animation-delay: 0.4s; }

    @keyframes navLinkFade {
        from { opacity: 0; transform: translateX(20px); }
        to { opacity: 1; transform: translateX(0); }
    }

    /* Perbaikan Grid Artist di HP */
    .artist-grid {
        grid-template-columns: 1fr; /* Paksa 1 kolom di HP */
        gap: 20px;
    }

    .hero h1 { font-size: 2.5rem; }
    
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .arrow { display: none; } /* Hilangkan panah di HP biar rapi */
}