/* --- Variables & Reset --- */
:root {
    --color-main-blue: #143371;      /* Biru Utama (Dark Navy) */
    --color-overlay-blue: #70c2ec;   /* Biru Overlay (Sky Blue) */
    --color-text-dark: #333333;      /* Text Dark */
    --color-brick-red: #b93632;      /* Merah Bata (Brick Red) - Accent */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text-dark);
    overflow-x: hidden;
}

/* --- Typography Utilities --- */
.text-dark-blue { color: var(--color-main-blue) !important; }
.text-brick-red { color: var(--color-brick-red) !important; }
.bg-dark-blue { background-color: var(--color-main-blue) !important; }
.bg-brick-red { background-color: var(--color-brick-red) !important; }
.letter-spacing-2 { letter-spacing: 2px; }

/* --- Navbar --- */
.navbar {
    transition: all 0.4s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background-color: var(--color-main-blue);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 0.8rem 0;
}

.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9) !important;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-overlay-blue) !important;
}

.btn-custom-red {
    background-color: var(--color-brick-red);
    border: none;
    transition: background 0.3s;
}

.btn-custom-red:hover {
    background-color: #962a27; /* Darker brick red */
}

/* --- Hero Section & Parallax --- */
.hero-section {
    height: 100vh;
    min-height: 600px;
    background-image: url('../img/hero-bg.webp'); 
    background-attachment: fixed; /* Kunci Parallax */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.hero-section .overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(20, 51, 113, 0.9) 0%, rgba(112, 194, 236, 0.7) 100%);
}

/* --- Sections General --- */
.section-padding {
    padding: 80px 0;
}

.divider {
    width: 60px;
    height: 4px;
    margin-top: 15px;
    border-radius: 2px;
}

/* --- Cards (Area Perubahan) --- */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(185, 54, 50, 0.1);
    border-radius: 50%;
}

/* =========================================
   STYLE TAMBAHAN (Wajib Dicopy)
   ========================================= */

/* 1. Style Khusus Tombol Gambar (Agar tidak raksasa) */
.wbs-img-button {
    max-width: 250px; /* Batasi lebar maksimal tombol */
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3)); /* Efek bayangan */
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

.wbs-img-button:hover {
    transform: scale(1.05); /* Membesar saat disorot */
    filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.4));
}

.wbs-img-button:active {
    transform: scale(0.95);
}

/* 2. Style Parallax Background */
.gratifikasi-parallax {
    position: relative;
    /* Pastikan gambar ini ada di folder assets/img/ */
    background-image: url('../img/gratifikasi-bg.jpg'); 
    background-attachment: fixed; /* Efek Parallax */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 0; 
    overflow: hidden;
}

/* 3. Overlay (Lapisan Warna di atas gambar) */
.gratifikasi-parallax .parallax-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

/* 4. Agar Konten di atas overlay */
.gratifikasi-parallax .container {
    position: relative;
    z-index: 2;
}

/* 5. Mobile Responsiveness */
@media (max-width: 768px) {
    .wbs-img-button {
        max-width: 180px; /* Ukuran tombol lebih kecil di HP */
    }
    
    .gratifikasi-parallax {
        background-attachment: scroll; /* Matikan parallax di HP agar ringan */
        padding: 60px 0;
    }
}




/* ==== Footer Styling ===== */
.footer {
    background-color: #143371; /* Biru Utama */
    color: #ffffff;
}

.text-sky {
    color: #70c2ec; /* Biru Muda Aksen */
}

.footer-title {
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 1px;
}

.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 3px;
    background-color: #70c2ec;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #70c2ec;
    padding-left: 5px;
}

.social-circle {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-circle:hover {
    background-color: #70c2ec;
    color: #143371;
    transform: translateY(-3px);
}

.leading-relaxed {
    line-height: 1.7;
}


/* --- Styles Khusus Halaman Manajemen Perubahan --- */
/* (Tetap disertakan agar halaman manajemen perubahan tidak rusak) */

.page-header {
    background: linear-gradient(135deg, rgba(20, 51, 113, 0.9) 0%, rgba(14, 36, 80, 0.8) 100%), 
                url('../img/hero-bg.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 150px 0 80px 0; 
    color: white;
    position: relative;
    margin-bottom: 40px;
    clip-path: ellipse(150% 100% at 50% 0%); 
}

.btn-back-custom {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    margin-bottom: 20px; 
    position: relative; 
    z-index: 99; 
    cursor: pointer;
}

.btn-back-custom:hover {
    background: var(--color-brick-red);
    border-color: var(--color-brick-red);
    transform: translateX(-5px);
    color: #fff;
}

.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 12px !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    color: var(--color-main-blue);
    background-color: #fff;
    padding: 20px;
    font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--color-main-blue);
    color: #fff;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.sub-table td {
    padding: 15px 20px;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
    color: var(--color-text-dark);
}

.numbering {
    font-weight: bold;
    color: var(--color-brick-red);
    width: 40px;
}

/* Style Khusus Tombol Klik Disini */
.btn-klikme {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-klikme img {
    width: 130px; 
    height: auto; 
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.2));
    display: block;
}

.btn-klikme:hover {
    transform: scale(1.05); 
    filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.3)); 
}

.sub-table td.action-col {
    width: 160px;
    text-align: center;
    white-space: nowrap;
}

/* =========================================
   RESPONSIVE & MOBILE OPTIMIZATION (Layout & Footer)
   ========================================= */

@media (max-width: 991px) {
    /* Navbar Mobile Menu */
    .navbar-collapse {
        background: var(--color-main-blue);
        padding: 20px;
        border-radius: 0 0 15px 15px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        margin-top: 10px;
    }
    
    .btn-custom-red {
        margin-left: 0 !important;
        margin-top: 10px;
        display: block;
        width: 100%;
        text-align: center;
    }
    
    /* Hero Title Resizing */
    .display-3 {
        font-size: 3rem; /* Sedikit lebih kecil di Tablet */
    }
}

@media (max-width: 768px) {
    /* 1. Header & Hero Mobile */
    .hero-section {
        min-height: 500px;
        background-attachment: scroll; /* Matikan fixed parallax di HP utk performa */
    }

    .display-3 {
        font-size: 2.5rem; /* Judul Hero lebih kecil di HP */
    }

    .lead {
        font-size: 1rem;
    }


/* Pastikan class ini ada di style.css */
.bg-brick-red { 
    background-color: var(--color-brick-red) !important; 
}

/* Opsional: Tambahan efek hover untuk tombol di section merah ini */
.bg-brick-red .btn-light:hover {
    background-color: #f0f0f0; /* Putih sedikit gelap saat hover */
    transform: translateY(-3px); /* Efek naik sedikit */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}


    /* 2. Footer Mobile Alignment (Center) */
    .footer {
        text-align: center; /* Rata tengah semua teks footer */
    }

    .footer-brand, .footer-socials {
        display: flex;
        flex-direction: column;
        align-items: center; /* Icon sosial rata tengah */
        justify-content: center;
    }

    .footer-brand img {
        margin: 0 auto 1rem auto; /* Logo rata tengah */
    }

    .footer-socials {
        flex-direction: row; /* Icon sosial tetap menyamping */
        margin-top: 1.5rem;
    }

    .footer-title::after {
        left: 50%; /* Garis bawah judul rata tengah */
        transform: translateX(-50%);
    }

    /* Kontak Icon & Teks di Footer */
    .contact-item {
        justify-content: center; /* Rata tengah */
    }

    /* 3. Transformasi Tabel (Manajemen Perubahan) */
    .sub-table tr {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        border-bottom: 1px solid #e0e0e0;
        padding: 15px 0;
        text-align: left; /* Kembalikan text tabel ke kiri */
    }

    .sub-table td {
        border: none !important;
        padding: 5px 10px;
    }

    .sub-table td.numbering {
        width: 30px;
        align-self: flex-start;
    }

    .sub-table td:nth-child(2) {
        width: calc(100% - 40px);
    }

    .sub-table td.action-col {
        width: 100%;
        text-align: center !important; /* Tombol rata tengah */
        padding-top: 15px;
    }
    
    .btn-klikme img {
        width: 110px; /* Ukuran tombol di HP */
    }
}