
/* ==========================================
   LAYANAN ASIK - DPPKBPPPA BANGKA TENGAH
   Tema: Ceria, Keluarga, Biru dan Kuning
========================================== */

:root {
    --blue: #087de0;
    --dark-blue: #073b87;
    --navy: #092c68;
    --yellow: #ffcf24;
    --orange: #ff8b19;
    --green: #35b85b;
    --light-blue: #eaf7ff;
}

/* ==========================================
   PAGE HEADER ASIK
========================================== */

.page-header {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 48px 20px 32px;
    text-align: center;
    background: linear-gradient(135deg, #00a1f5 0%, #0872d5 55%, #064aab 100%);
    border-bottom: 7px solid var(--yellow);
}

.page-header::before,
.page-header::after {
    position: absolute;
    z-index: -1;
    pointer-events: none;
}

.page-header::before {
    content: "👨‍👩‍👧‍👦";
    top: 22px;
    left: 5%;
    font-size: 82px;
    opacity: .16;
    transform: rotate(-10deg);
}

.page-header::after {
    content: "💛 ✨";
    right: 5%;
    bottom: 18px;
    font-size: 48px;
    opacity: .55;
}

.page-header .container {
    position: relative;
    z-index: 1;
    max-width: 1100px;
}

/* Label program */
.asik-label {
    display: inline-block;
    margin-bottom: 13px;
    padding: 7px 17px;
    color: var(--dark-blue);
    background: var(--yellow);
    border: 2px solid #fff;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .4px;
}

/* Judul utama */
.page-header h1 {
    display: inline-block;
    margin: 0 0 10px;
    padding: 9px 27px;
    color: #fff;
    background: linear-gradient(135deg, #ffcf24, #ff9f0a);
    border: 3px solid #fff;
    border-radius: 45px;
    box-shadow: 0 5px 0 #b76b00, 0 9px 20px rgba(0, 0, 0, .16);
    font-size: clamp(30px, 4vw, 43px);
    font-weight: 900;
    letter-spacing: -.7px;
    line-height: 1.25;
    text-shadow: 2px 3px 0 #9c4800;
}

/* Slogan */
.page-header h2 {
    margin: 8px 0 10px;
    color: #ffdf45;
    font-size: clamp(20px, 2.8vw, 28px);
    font-weight: 900;
    line-height: 1.35;
    text-shadow: 1px 2px 3px rgba(0, 35, 100, .3);
}

/* Deskripsi program */
.page-header p {
    max-width: 760px;
    margin: 0 auto 25px;
    padding: 12px 20px;
    color: var(--navy);
    background: #fff;
    border: 2px solid var(--yellow);
    border-radius: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.7;
}

/* Empat fokus program */
.asik-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    gap: 8px;
    padding: 11px;
    background: #fff;
    border: 3px solid var(--yellow);
    border-radius: 17px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .12);
}

.asik-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 0;
    padding: 7px 8px;
    color: var(--dark-blue);
    border-right: 1px solid #f0dfa5;
    font-size: 13px;
    line-height: 1.35;
    text-align: left;
}

.asik-feature:last-child {
    border-right: 0;
}

.asik-feature span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    background: var(--light-blue);
    border-radius: 50%;
    font-size: 22px;
}

.asik-feature strong {
    font-weight: 800;
}

/* ==========================================
   BREADCRUMB
========================================== */

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    padding: 18px 0;
    color: #8293a9;
    font-size: 14px;
    font-weight: 600;
}

.breadcrumb a {
    color: var(--blue);
    font-weight: 800;
    text-decoration: none;
    transition: color .25s ease;
}

.breadcrumb a:hover {
    color: var(--orange);
}

/* ==========================================
   CONTENT
========================================== */

.content-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 500px;
    padding: 30px 0 75px;
    background:
        radial-gradient(circle at 5% 10%, #fff2c6 0, transparent 18%),
        radial-gradient(circle at 95% 30%, #dff4ff 0, transparent 20%),
        linear-gradient(180deg, #f1faff, #fff);
}

.content-wrapper::before {
    content: "⭐";
    position: absolute;
    top: 25px;
    left: 3%;
    font-size: 30px;
    opacity: .35;
    pointer-events: none;
}

.content-wrapper::after {
    content: "💙";
    position: absolute;
    right: 4%;
    bottom: 35px;
    font-size: 38px;
    opacity: .3;
    pointer-events: none;
}

.content-wrapper .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
}

/* ==========================================
   VIDEO GRID & CARD
========================================== */

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.video-item {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 3px solid #fff;
    border-radius: 20px;
    box-shadow: 0 7px 20px rgba(0, 79, 155, .12);
    transition: transform .3s ease, box-shadow .3s ease;
}

.video-item::before {
    content: "🎬 VIDEO ASIK";
    position: absolute;
    z-index: 3;
    top: 12px;
    left: 12px;
    padding: 6px 11px;
    color: var(--dark-blue);
    background: var(--yellow);
    border: 2px solid #fff;
    border-radius: 25px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .18);
    font-size: 10px;
    font-weight: 900;
    pointer-events: none;
}

.video-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 79, 155, .17);
}

/* Video iframe */
.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #087de0, #073b87);
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Informasi video */
.video-info {
    position: relative;
    padding: 20px 21px 23px;
    background: #fff;
}

.video-info h3 {
    margin: 0 0 13px;
    padding-left: 11px;
    color: var(--navy);
    border-left: 5px solid var(--yellow);
    font-size: 17px;
    font-weight: 900;
    line-height: 1.5;
    transition: color .25s ease;
}

.video-item:hover .video-info h3 {
    color: var(--blue);
}

.video-info .date {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 12px;
    padding: 6px 11px;
    color: #0965b5;
    background: #eaf5ff;
    border: 1px solid #d3eaff;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 800;
}

.video-info p:not(.date) {
    margin: 0;
    color: #63758a;
    font-size: 14px;
    line-height: 1.7;
}

/* ==========================================
   PAGINATION
========================================== */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 45px;
}

.page-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    color: var(--dark-blue);
    background: #fff;
    border: 2px solid #d9ebfa;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: all .25s ease;
}

.page-btn:hover {
    color: #fff;
    background: var(--blue);
    border-color: var(--blue);
    transform: translateY(-2px);
}

.page-btn.active {
    color: var(--navy);
    background: var(--yellow);
    border-color: var(--yellow);
    box-shadow: 0 3px 0 #d99e00;
}

.page-btn.disabled {
    color: #b0bdcb;
    background: #f4f7fa;
    border-color: #e8edf2;
    cursor: not-allowed;
}

/* ==========================================
   EMPTY STATE
========================================== */

.empty-state {
    padding: 65px 20px;
    text-align: center;
    background: #fff;
    border: 3px dashed #a9d9ff;
    border-radius: 22px;
    box-shadow: 0 8px 25px rgba(0, 79, 155, .07);
}

.empty-state-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 95px;
    height: 95px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, #fff0b8, #ffe27a);
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(255, 193, 7, .2);
    font-size: 48px;
}

.empty-state h3 {
    margin: 0 0 10px;
    color: var(--navy);
    font-size: 23px;
    font-weight: 900;
}

.empty-state p {
    margin: 0;
    color: #75869b;
    font-size: 15px;
    line-height: 1.7;
}

/* ==========================================
   RESPONSIVE TABLET
========================================== */

@media (max-width: 992px) {
    .video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .page-header::before {
        left: -15px;
        font-size: 65px;
    }
}

/* ==========================================
   RESPONSIVE MOBILE
========================================== */

@media (max-width: 768px) {
    .page-header {
        padding: 40px 18px 27px;
    }

    .page-header::before {
        top: 12px;
        left: -12px;
        font-size: 52px;
    }

    .page-header::after {
        right: 10px;
        bottom: 12px;
        font-size: 32px;
    }

    .page-header p {
        margin-bottom: 20px;
        font-size: 13px;
    }

    .asik-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px;
        padding: 8px;
    }

    .asik-feature {
        justify-content: flex-start;
        padding: 7px;
        border-right: 0;
        font-size: 12px;
    }

    .asik-feature span {
        flex-basis: 37px;
        width: 37px;
        height: 37px;
        font-size: 20px;
    }

    .content-wrapper {
        padding: 24px 0 55px;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        padding: 8px 20px;
        font-size: 28px;
    }

    .page-header h2 {
        font-size: 20px;
    }

    .asik-label {
        font-size: 10px;
    }

    .breadcrumb {
        padding: 15px 0;
        font-size: 12px;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 21px;
    }

    .video-info {
        padding: 18px;
    }

    .video-info h3 {
        font-size: 16px;
    }

    .pagination {
        gap: 6px;
        margin-top: 35px;
    }

    .page-btn {
        min-width: 36px;
        height: 38px;
        padding: 0 10px;
        font-size: 12px;
    }

    .empty-state {
        padding: 50px 15px;
    }

    .empty-state-icon {
        width: 82px;
        height: 82px;
        font-size: 42px;
    }
}

/* Hormati pengaturan reduced motion perangkat */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}


/* ==========================================
   BANNER UTAMA LAYANAN ASIK
========================================== */

.asik-banner {
    width: 100%;
    overflow: hidden;
    background: #eaf7ff;
    text-align: center;
    border-bottom: 7px solid var(--yellow);
}

.asik-banner img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: contain;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .asik-banner img {
        max-height: 350px;
    }
}

@media (max-width: 576px) {
    .asik-banner img {
        max-height: 250px;
    }
}
