@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
    /* Palet Granodiorit Lebak - sama dengan profil */
    --vid-primary: #6B7280;   /* Granodiorit Grey */
    --vid-secondary: #3B5E4A; /* Moss Green Geosite */
    --vid-bg: #F2F4F5;       /* Quartz White */
    --text-dark: #1F2937;     /* Biotite Black */
    --text-muted: #6B7280;    /* Granodiorit Grey */
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    margin: 0;
    background: var(--vid-bg);
    color: var(--text-dark);
}

/* Hero menggunakan styling dari profil.css */
.video-hero {
    /* Background gambar hero dari assets/images */
    background-image: url('../images/gambar-hero.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    height: 300px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.video-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Overlay gelap untuk kontras teks - menggunakan Biotite Black */
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.75) 0%, rgba(107, 114, 128, 0.65) 100%);
    z-index: 1;
}

.video-hero .container {
    max-width: var(--saphira-content-width, calc(100vw - 400px));
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.section-card {
    background: var(--vid-bg);
    border-radius: 0;
    padding: 32px;
    border: 1px solid rgba(107, 114, 128, 0.15);
    box-shadow: 0 4px 12px rgba(31, 41, 55, 0.08);
    margin-bottom: 28px;
}

.section-card h2 {
    margin-top: 0;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--vid-secondary);
}

.section-card h2 i {
    color: var(--vid-primary);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}

.video-item {
    background: #ffffff;
    border-radius: 0;
    padding: 20px;
    border: 1px solid rgba(107, 114, 128, 0.15);
    box-shadow: 0 4px 12px rgba(31, 41, 55, 0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(31, 41, 55, 0.12);
    border-color: var(--vid-secondary);
}

.video-thumb {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000;
    border: 1px solid rgba(107, 114, 128, 0.15);
}

.video-thumb iframe,
.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    display: block;
}

.video-item h3 {
    margin: 0;
    font-size: 1.1rem;
}

.video-item p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.video-footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.video-footer a {
    text-decoration: none;
    font-weight: 600;
    color: var(--vid-secondary);
    transition: color 0.3s ease;
}

.video-footer a:hover {
    color: var(--vid-primary);
}

.empty-state {
    text-align: center;
    color: var(--text-muted);
    padding: 50px 20px;
}

.video-footer-site {
    text-align: center;
    padding: 40px 10px 70px;
    color: var(--text-muted);
}

.video-footer-site p {
    margin: 4px 0;
}

@media (max-width: 1200px) {
    .video-hero .container,
    .profil-content {
        max-width: 100%;
        padding: 0 24px;
    }
}

@media (max-width: 768px) {
    /* Hero layout jadi column di mobile */
    .video-hero .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .hero-content {
        width: 100%;
    }
    
    .stats-grid {
        width: 100%;
        min-width: auto;
        max-width: 100%;
    }
    
    .section-card {
        padding: 24px;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .profil-content {
        padding: 0 16px;
    }
}

