
:root {
    --primary: #1a1a1a;
    --accent: #c5a059;
    --bg: #fdfaf3;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg);
    color: var(--primary);
    line-height: 1.6;
    overflow-x: hidden;
}


#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--accent);
    z-index: 1100;
    width: 0%;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 10%;
    z-index: 1000;
    transition: 0.4s;
}

nav.scrolled {
    background: rgba(26, 26, 26, 0.95);
    padding: 15px 10%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.logo {
    color: var(--white);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('img1.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.sub-title {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 5px;
}

.team-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border: 1px solid var(--accent);
    margin-bottom: 30px;
    border-radius: 50px;
    font-size: 0.8rem;
}

.btn-main {
    padding: 15px 40px;
    background: var(--accent);
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 900;
    transition: 0.4s;
    display: inline-block;
}

.btn-main:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.4);
}

/* SECTIONS LAYOUT */
.container {
    padding: 100px 10%;
}

.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    width: 60px;
    height: 3px;
    background: var(--accent);
    transform: translateX(-50%);
}

.section-title.white {
    color: white;
}

/* MATERI CARDS */
.materi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.materi-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.4s;
}

.materi-card:hover {
    transform: translateY(-10px);
}

.materi-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.materi-body {
    padding: 25px;
}

.materi-body h3 {
    margin-bottom: 15px;
    color: var(--accent);
}

/* TIMELINE SECTION */
.timeline-section {
    background: var(--primary);
    padding: 100px 10%;
    color: white;
    position: relative;
}

.main-timeline {
    position: relative;
    max-width: 800px;
    margin: auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--accent);
    transform: translateX(-50%);
}

.t-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
}

.reveal-left {
    left: 0;
    text-align: right;
}

.reveal-right {
    left: 50%;
    text-align: left;
}

.t-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--accent);
    border-radius: 50%;
    top: 30px;
    z-index: 2;
}

.reveal-left .t-dot {
    right: -8px;
}

.reveal-right .t-dot {
    left: -8px;
}

.t-year {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent);
}

.t-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* LEGACY SECTION */
.legacy-wrapper {
    display: flex;
    gap: 50px;
    align-items: center;
}

.legacy-text {
    flex: 1;
}

.legacy-visual {
    flex: 1;
}

.legacy-visual img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 0 var(--accent);
}

.legacy-list {
    margin-top: 20px;
    list-style: none;
}

.legacy-list li {
    margin-bottom: 10px;
}

.legacy-list li::before {
    content: '◈ ';
    color: var(--accent);
    font-weight: bold;
}

/* FOOTER */
footer {
    background: #111;
    color: #666;
    text-align: center;
    padding: 40px;
    font-size: 0.8rem;
}

/* RESPONSIVE DESIGN (Media Queries) */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
    }

    .legacy-wrapper {
        flex-direction: column;
    }

    .timeline-line {
        left: 20px;
    }

    .t-item {
        width: 100%;
        left: 0;
        text-align: left;
        padding-left: 50px;
    }

    .reveal-right .t-dot, 
    .reveal-left .t-dot {
        left: 12px;
    }
}