/* === VARIABEL & RESET === */
:root {
    --umber: #362312;
    --cyber: #ffd400;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #ffffff;
}

/* === HEADER === */
header {
    background-color: var(--umber);
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo { width: 100px; }

/* Styling tombol garis tiga */
.menu-toggle {
    display: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

nav a.active, nav a:hover {
    color: var(--cyber);
}

/* === DECORATIVE BORDER === */
.pattern-border { display: flex; height: 10px; }
.pattern { flex: 1; }
.pattern.yellow { background-color: var(--cyber); }
.pattern.green { background-color: #436a31; }

/* === KONTEN SEJARAH === */
.sejarah-section {
    padding: 80px 10%;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* === STYLING TOMBOL KEMBALI === */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--umber);
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 40px;
    transition: color 0.3s ease;
}

.btn-back i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.btn-back:hover { color: var(--cyber); }
.btn-back:hover i { transform: translateX(-5px); }

/* === LAYOUT KONTEN === */
.sejarah-row {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.sejarah-image {
    flex: 1;
    position: relative;
    z-index: 1;
}

.sejarah-image img {
    width: 100%;
    border-radius: 10px;
    position: relative;
    z-index: 2;
    height: auto;
    object-fit: cover;
}

.image-accent {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--cyber);
    top: 20px;
    left: -20px;
    border-radius: 10px;
    z-index: -1;
}

.sejarah-content {
    flex: 1;
}

.sub-heading {
    color: var(--umber);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

.main-heading {
    font-size: 36px;
    color: var(--cyber);
    margin-bottom: 20px;
}

.main-heading span { color: var(--umber); }

.description {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

/* === FOOTER === */
footer {
    background-color: var(--umber);
    color: #ffffff;
    text-align: center;
    padding: 2rem 1rem;
    border-top: 4px solid var(--cyber);
}

footer h3 { color: var(--cyber); margin-bottom: 10px; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
    .sejarah-row {
        flex-direction: column;
    }
    .sejarah-image {
        margin-bottom: 30px;
        width: 100%;
    }
    .btn-back {
        margin-bottom: 20px;
    }

    /* PENGATURAN MENU HP */
    .menu-toggle { display: block; }

    nav ul.nav-list {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 80px; 
        right: 5%;
        background-color: var(--umber);
        width: 200px;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
        gap: 20px;
    }

    nav ul.nav-list.active {
        display: flex;
    }
}