/* frontend-style.css - Desain "Dynamic List" (Alternatif 6) */
/* VERSI UPDATE (HAPUS STATUS CSS) */

/* --- Import Font & Icons --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

/* --- Variabel Warna Retinad (Vibrant) --- */
:root {
    --color-primary: #0a2c5a;
    --color-accent-orange: #F97316;
    --color-accent-blue: #00a2ff;
    --color-text: #333333;
    --color-text-muted: #6c757d;
    --color-bg: #f8f9fa;
    --color-white: #ffffff;
    --color-border: #e9ecef;
    --font-main: 'Inter', sans-serif;
    --radius: 8px;
    --shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* --- Reset & Global --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.7;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
img { max-width: 100%; height: auto; }
h1, h2, h3 { color: var(--color-primary); margin-bottom: 1rem; font-weight: 700; }
section { padding: 60px 0; }
section.bg-gray { background: var(--color-bg); }
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.section-header h2 { font-size: 2.5rem; }
.section-header p { font-size: 1.1rem; color: var(--color-text-muted); }

/* --- Tombol (Vibrant) --- */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.95rem;
    border: none;
}
.btn-primary { background-color: var(--color-accent-orange); color: var(--color-white); }
.btn-primary:hover { background-color: #eA580c; }
.btn-secondary { background-color: var(--color-accent-blue); color: var(--color-white); }
.btn-secondary:hover { background-color: #008ad6; }
.btn-whatsapp { background-color: #25D366; color: var(--color-white); }
.btn-whatsapp:hover { background-color: #1ebe58; }

/* --- 1. Header & Navigasi (Style dari revisi terakhir) --- */
.main-header {
    background: var(--color-white);
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}
.main-header .container { display: flex; justify-content: space-between; align-items: center; }
.header-logo img { max-width: 150px; }
.nav-links { list-style: none; display: flex; }
.nav-links li { margin-left: 2rem; }
.nav-links a { color: var(--color-primary); font-weight: 600; font-size: 0.95rem; transition: color 0.3s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--color-accent-orange); }
.hamburger-btn { display: none; font-size: 1.5rem; background: none; border: none; cursor: pointer; color: var(--color-primary); }

/* --- 2. Hero Section (Tidak berubah) --- */
.hero-section {
    background: var(--color-white);
    text-align: center;
    padding: 60px 0;
}
.hero-section h1 { font-size: 3rem; line-height: 1.2; }
.hero-section .subtitle { font-size: 1.25rem; color: var(--color-text-muted); max-width: 700px; margin: 1rem auto 2rem auto; }
.hero-section .btn { font-size: 1.1rem; }

/* --- 3. Filter & Search Controls (Tidak berubah) --- */
.list-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}
.search-bar {
    flex-grow: 1;
    min-width: 250px;
}
.search-bar input {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
}
.sort-button {
    padding: 0.8rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 500;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
}
.sort-button:hover {
    background: var(--color-bg);
    color: var(--color-primary);
}

/* --- 4. Channel List (Tidak berubah) --- */
#channel-list-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 Kolom */
    gap: 1.5rem;
    min-height: 200px; 
}
.channel-list-item {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 40px 1fr auto; 
    gap: 1rem;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
    border-left: 4px solid transparent;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.channel-list-item:hover {
    transform: translateX(5px);
    border-left-color: var(--color-accent-orange);
    box-shadow: var(--shadow);
}
.channel-item-icon {
    font-size: 1.8rem;
    color: var(--color-accent-orange);
    text-align: center;
}
.channel-item-info {
    overflow: hidden;
}
.channel-item-info h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.channel-item-info p {
    margin: 0.25rem 0 0 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.channel-item-action .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
}
.list-empty-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--color-text-muted);
}

/* --- 5. Pagination (Tidak berubah) --- */
#pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
}
.page-btn {
    padding: 0.6rem 1rem;
    min-width: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    cursor: pointer;
}
.page-btn:hover {
    background: var(--color-bg);
    color: var(--color-primary);
}
.page-btn.active {
    background: var(--color-accent-blue);
    color: var(--color-white);
    border-color: var(--color-accent-blue);
}
.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* --- 6. Service Section (Tidak berubah) --- */
.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.service-text h2 { font-size: 2.5rem; }
.service-text .lead { font-size: 1.15rem; color: var(--color-text-muted); font-weight: 500; margin-bottom: 1rem; }
.service-text p { margin-bottom: 1rem; }
.service-carousel { max-width: 100%; margin: 0 auto; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.carousel-slides { display: flex; transition: transform 0.5s ease; }
.carousel-slide { flex: 0 0 100%; width: 100%; position: relative; }
.carousel-slide img { width: 100%; display: block; aspect-ratio: 4/3; object-fit: cover; filter: brightness(0.6); }
.carousel-content { position: absolute; bottom: 0; left: 0; padding: 1.5rem; color: var(--color-white); }
.carousel-content h3 { color: var(--color-white); font-size: 1.3rem; }
.carousel-nav { position: absolute; bottom: 1rem; right: 1rem; display: flex; gap: 0.5rem; }
.carousel-nav-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: background 0.3s ease; }
.carousel-nav-dot.active { background: var(--color-white); }

/* --- 7. Contact & Footer (Tidak berubah) --- */
#contact { text-align: center; }
#contact .container { max-width: 700px; }
#contact h2 { font-size: 2.5rem; }
#contact p { font-size: 1.15rem; color: var(--color-text-muted); margin-bottom: 2rem; }
.contact-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.main-footer { background: var(--color-primary); color: rgba(255,255,255,0.7); text-align: center; padding: 3rem 0; margin-top: 40px; }
.main-footer p { margin: 0; }

/* --- Responsive (Tidak berubah) --- */
@media (max-width: 992px) {
    #channel-list-container {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; width: 100%; position: absolute; top: 65px; left: 0; background: var(--color-white); border-bottom: 1px solid var(--color-border); }
    .nav-links.active { display: flex; }
    .nav-links li { margin: 0; text-align: center; }
    .nav-links a { display: block; padding: 1rem; border-bottom: 1px solid var(--color-border); }
    .nav-links li:last-child a { border-bottom: none; }
    .hamburger-btn { display: block; }
    
    section { padding: 40px 0; }
    .hero-section h1 { font-size: 2.2rem; }
    .hero-section .subtitle { font-size: 1rem; }
    
    .service-grid { grid-template-columns: 1fr; gap: 2rem; }
    .service-text { order: 2; }
    .service-carousel { order: 1; }
    
    .channel-list-item {
        grid-template-columns: 40px 1fr;
        padding-bottom: 1rem;
    }
    .channel-list-item .channel-item-action {
        grid-column: 2 / 3;
        padding-top: 0.5rem;
    }
    .channel-list-item .btn {
        width: 100%;
        text-align: center;
    }

    .section-header h2 { font-size: 2rem; }
    #contact h2 { font-size: 2rem; }
    #contact p { font-size: 1rem; }
}

/* --- BLOK CSS STATUS (DIHAPUS) --- */
/* (Tidak ada kode di sini) */