* {
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: Arial, sans-serif;
}

body {
    background:#f4f4f4;
}

/* HEADER */
header {
    background:#0b5ed7;
    color:white;
    position:sticky;
    top:0;
    z-index:10000;
}

.header-box {
    display:flex;
    align-items:center;
    padding:15px 20px;
}

.logo {
    width:45px;
    margin-right:10px;
}

.menu-toggle {
    margin-left:auto;
    font-size:30px;
    cursor:pointer;
}

/* MENU DROPDOWN */
nav {
    position:absolute;
    top:100%;
    right:0;
    width:260px;
    background:#084298;
    display:none;
    flex-direction:column;
}

nav.show {
    display:flex;
}

nav a {
    color:white;
    padding:14px 20px;
    text-decoration:none;
    border-bottom:1px solid rgba(255,255,255,0.2);
}

nav a:hover {
    background:#ffc107;
    color:black;
}

/* SLIDER */
.slider {
    position:relative;
    width:100%;
    max-width:1366px;
    height:320px;
    margin:30px auto;
    overflow:hidden;
    background:#000;
}

.slide {
    position:absolute;
    inset:0;
    display:none;
}

.slide.active {
    display:block;
}

.slide img {
    width:100%;
    height:100%;
    object-fit:cover;
}

.caption {
    position:absolute;
    bottom:20px;
    left:20px;
    background:rgba(0,0,0,0.6);
    color:white;
    padding:10px 15px;
    border-radius:5px;
}

/* Slider controls */
.prev, .next {
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    font-size:30px;
    color:white;
    padding:10px;
    cursor:pointer;
    background:rgba(0,0,0,0.4);
}

.prev { left:10px; }
.next { right:10px; }

.dots {
    position:absolute;
    bottom:10px;
    width:100%;
    text-align:center;
}

.dots span {
    width:12px;
    height:12px;
    background:#bbb;
    border-radius:50%;
    display:inline-block;
    margin:0 4px;
    cursor:pointer;
}

.dots span.active {
    background:#ffc107;
}

/* BERITA UTAMA */
.berita-utama {
    max-width:1366px;
    margin:40px auto;
    padding:0 20px;
    display:flex;
    flex-direction:column;
    gap:20px;
}

.berita-item {
    display:flex;
    gap:20px;
    background:white;
    padding:20px;
    border-radius:8px;
    align-items:center;
}

.berita-img img {
    width:380px;
    max-width:100%;
    height:240px;
    object-fit:cover;
    border-radius:5px;
}

.berita-text h2 {
    margin-bottom:10px;
}

.berita-text p {
    line-height:1.6;
    margin-bottom:15px;
}

.read-more {
    color:#0b5ed7;
    font-weight:bold;
    text-decoration:none;
}

.read-more:hover {
    text-decoration:underline;
}

/* RESPONSIVE */
@media (max-width:768px) {

    .slider {
        height:220px;
    }

    .berita-item {
        flex-direction:column;
    }

    .berita-img img {
        width:100%;
        height:auto;
    }
}

/* FOOTER */
footer {
    background:#0b5ed7;
    color:white;
    text-align:center;
    padding:12px;
}
