/* RESET */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* VARIABLES */
:root {
    --brand-blue: #0052aa;
    --text-main: #222;
    --text-secondary: #333;
    --text-muted: #666;
    --bg-light: #fafafa;
    --bg-white: #ffffff;
    --border: #e5e7eb;
    --radius: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.06);
}

/* GLOBAL ELEMENTS */
body {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    background: var(--bg-light);
    color: var(--text-main);
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 94%;
    max-width: 1200px;
    margin: 0 auto;
}

/* HEADER */
header {
    background: #000;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.topbar {
    padding: 6px 0;
    font-size: 13px;
    color: var(--text-muted);
}

.main-nav {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 34px;
}

/* DESKTOP NAV */
.desktop-nav ul {
    list-style: none;
    display: flex;
    gap: 24px;
}

.desktop-nav a {
    font-size: 15px;
    padding: 4px 0;
    transition: .15s ease;
}

.desktop-nav a:hover {
    color: var(--brand-blue);
}

/* DROPDOWN */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 28px;
    left: 0;
    display: none;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    list-style: none;
    min-width: 180px;
    padding: 10px 0;
    box-shadow: var(--shadow);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
}

.dropdown-menu li a:hover {
    background: #f0f4ff;
}

.has-dropdown:hover .dropdown-menu {
    display: block;
}

/* MOBILE NAV */
.mobile-toggle {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    border-top: 1px solid var(--border);
    background: var(--bg-white);
}

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.mobile-nav a {
    padding: 14px 18px;
    font-size: 15px;
    border-bottom: 1px solid #eee;
}

.sub-menu {
    display: none;
    background: var(--bg-white);
}

.sub-menu a {
    padding-left: 28px;
}

/* HERO */
.hero {
    position: relative;
    height: 380px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img, .hero picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--bg-white);
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    padding: 0 20px;
}

/* MAIN CONTENT */
main {
    padding: 40px 0;
}

section {
    margin-bottom: 48px;
    background: var(--bg-white);
    padding: 32px;
    border: 1px solid #e8e8e8;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

h2 {
    font-size: 24px;
    margin-bottom: 16px;
}

h3 {
    font-size: 18px;
    margin: 16px 0 8px 0;
}

p, li, dd {
    font-size: 15px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

/* INTRO SECTION */
.intro-block {
    max-width: 900px;
    margin: 32px auto;
    padding: 24px;
    text-align: justify;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-white);
    box-shadow: var(--shadow);
}

.intro-block h2 {
    text-align: center;
    margin-bottom: 10px;
}

/* KATEGORI */
.kategori-block {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.kategori-block h2 {
    text-align: center;
    margin-bottom: 16px;
}

.kategori-intro {
    text-align: justify;
    font-size: 15px;
    margin-bottom: 24px;
}

.kategori-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.kategori-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-light);
    padding: 16px;
    transition: .2s ease;
}

.kategori-item:hover {
    background: #eef5ff;
    border-color: #bfd6ff;
}

.kategori-item h3 a {
    color: var(--brand-blue);
    font-size: 18px;
}

.kategori-item p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* FOOTER */
footer {
    background: var(--bg-white);
    border-top: 1px solid #ddd;
    padding: 40px 0;
    margin-top: 40px;
}

.trust-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
}

.trust-wrap a:hover {
    color: var(--brand-blue);
}

.site-notes {
    margin: 18px 0;
    font-size: 13px;
    color: var(--text-muted);
}

.meta-info {
    font-size: 13px;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.footer-bottom {
    font-size: 13px;
    color: var(--text-muted);
}

/* RESPONSIVE */
@media(max-width: 850px) {
    .desktop-nav {
        display: none;
    }
    .mobile-toggle {
        display: block;
        color:#fff;
    }
}

@media(max-width: 600px) {
    .hero {
        height: 260px;
    }
    .hero-text h1 {
        font-size: 28px;
    }
    .hero-text p {
        font-size: 14px;
        color:#fff;
    }
    section {
        padding: 24px;
    }
}