/* --- ROOT VARIABLE --- */
:root {
    --primary: #044a2b;    /* Hijau Hutan Deep */
    --secondary: #0a8f54;  /* Hijau Daun Segar */
    --gold: #d4af37;       /* Emas Mewah */
    --dark: #1e293b;
    --light: #f8fafc;
    --shadow-soft: 0 10px 40px -10px rgba(0,64,32,0.1);
    --shadow-hover: 0 20px 60px -15px rgba(0,64,32,0.2);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    background-color: #f3f6f4;
    overflow-x: hidden;
}

/* --- NAVBAR GLASSPHOMRISM --- */
.navbar {
    padding: 15px 0;
    transition: all 0.4s ease;
    z-index: 999;
}
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    padding: 10px 0;
}
.navbar-brand { font-weight: 700; font-size: 1.2rem; color: white; }
.navbar-brand img { max-height: 40px; width: auto; }
.navbar-scrolled .navbar-brand { color: var(--primary) !important; }
.nav-link { color: rgba(255,255,255,0.9) !important; font-weight: 500; margin-left: 15px; position: relative; }
.navbar-scrolled .nav-link { color: var(--primary) !important; }
.nav-link::after { content: ''; display: block; width: 0; height: 2px; background: var(--gold); transition: width .3s; }
.nav-link:hover::after { width: 100%; }

/* --- HERO SECTION --- */
.hero-section {
    position: relative; height: 100vh; min-height: 600px; display: flex; align-items: center;
    background: url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    background-attachment: fixed;
}
.hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, rgba(4, 74, 43, 0.9) 0%, rgba(10, 143, 84, 0.5) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; color: white; padding-top: 60px; }
.hero-logo-center { width: 100px; height: auto; margin-bottom: 20px; filter: drop-shadow(0 0 10px rgba(255,255,255,0.3)); animation: floating 3s ease-in-out infinite; }
@keyframes floating { 0% { transform: translate(0, 0px); } 50% { transform: translate(0, 15px); } 100% { transform: translate(0, -0px); } }
.hero-title { font-size: 3.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 1rem; }

/* --- STATS --- */
.stats-container { margin-top: -80px; position: relative; z-index: 3; }
.card-custom { background: white; border: none; border-radius: 20px; padding: 30px; box-shadow: var(--shadow-soft); transition: all 0.3s ease; height: 100%; }
.card-custom:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.icon-box { width: 60px; height: 60px; background: #e6f5ed; color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px; }

/* --- SECTION GENERAL --- */
.section-padding { padding: 80px 0; }
.section-title { margin-bottom: 50px; text-align: center; }
.section-title h2 { font-weight: 700; color: var(--primary); }
.line-accent { width: 60px; height: 4px; background: var(--gold); margin: 15px auto; border-radius: 2px; }

/* --- SEJARAH SECTION STYLE --- */
.history-card {
    background: white; border-radius: 30px; padding: 50px;
    box-shadow: var(--shadow-soft); border-left: 10px solid var(--gold);
}
.year-badge {
    background: var(--primary); color: var(--gold);
    padding: 5px 20px; border-radius: 50px; font-weight: 700; font-size: 0.9rem;
}

/* --- BUTTONS --- */
.btn-gold { background: linear-gradient(45deg, var(--gold), #f1c40f); border: none; color: var(--primary); font-weight: 700; padding: 12px 35px; border-radius: 50px; box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3); transition: all 0.3s; text-decoration: none; display: inline-block; }
.btn-gold:hover { transform: scale(1.05); color: var(--primary); }

/* --- BERITA --- */
.card-news { border: none; border-radius: 15px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; }
.card-news:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.news-img { height: 200px; object-fit: cover; }
.news-date { position: absolute; top: 15px; left: 15px; background: var(--gold); color: var(--primary); padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; }

/* --- FOOTER --- */
footer { background: var(--primary); color: white; padding-top: 60px; }
footer a { color: #cfd8dc; text-decoration: none; transition: 0.3s; }
footer a:hover { color: var(--gold); padding-left: 5px; }

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .stats-container { margin-top: 30px; }
    .navbar { background: var(--primary); }
    .history-card { padding: 30px; }
}