/* ==========================================================================
   IMPORT GOOGLE FONTS & RESET GLOBAL (BLACK, BLUE, WHITE BRUTALISM)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;700;900&display=swap');

html {
    overscroll-behavior: none;
    width: 100%;
    /* PERBAIKAN: Mengamankan overflow horizontal tanpa mengunci scrolling vertikal secara kaku */
    overflow-x: hidden; 
    position: relative;
}

body {
    overscroll-behavior: none;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #ffffff;
}

/* Tekstur Latar Belakang Grid Kaku */
body {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.07) 2px, transparent 2px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.07) 2px, transparent 2px);
    background-size: 30px 30px;
    /* PERBAIKAN: Menghapus opacity: 0 default agar rendering halaman tidak terkunci oleh Vanta.js */
}

/* ==========================================================================
   PERBAIKAN VISUAL BRUTALISME (STABIL & BERSIH)
   ========================================================================== */
/* Tombol Garis 3 Menu Utama */
#menu-open-btn {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 4px solid #000000 !important;
    box-shadow: 5px 5px 0px #000000 !important;
    transition: transform 0.1s ease, box-shadow 0.1s ease !important;
}
#menu-open-btn:hover {
    background-color: #3296FF !important;
    color: #ffffff !important;
    transform: translate(-2px, -2px) !important;
    box-shadow: 7px 7px 0px #000000 !important;
}

/* Tombol Close di Dalam Side Menu */
#menu-close-btn {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 4px solid #000000 !important;
    box-shadow: 4px 4px 0px #3296FF !important;
}
#menu-close-btn:hover {
    background-color: #3296FF !important;
    color: #000000 !important;
}

/* Kapsul Filter Proyek agar Menjadi Brutalis Kotak */
.filter-btn {
    border: 3px solid #000000 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    padding: 6px 16px !important;
    border-radius: 0px !important; 
    background-color: #ffffff !important;
    color: #000000 !important;
    box-shadow: 4px 4px 0px #000000 !important;
    transition: all 0.1s ease !important;
}
.filter-btn:hover {
    background-color: #3296FF !important;
    color: #ffffff !important;
    transform: translate(-2px, -2px) !important;
    box-shadow: 6px 6px 0px #000000 !important;
}

/* State Aktif Tombol Filter */
.filter-btn.active-brutal {
    background-color: #000000 !important;
    color: #ffffff !important;
    box-shadow: 4px 4px 0px #3296FF !important;
}

/* Kartu Proyek Brutalis */
.project-card {
    border: 4px solid #000000 !important;
    box-shadow: 8px 8px 0px #000000 !important;
    background-color: #ffffff !important;
    border-radius: 0px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.project-card:hover {
    transform: translate(-4px, -4px) !important;
    box-shadow: 12px 12px 0px #3296FF !important; 
}

/* ==========================================================================
   ROMBAK TOTAL FORM MODAL (EXTREME NEO-BRUTALISM)
   ========================================================================== */

/* Wadah Utama Modal (Memaksa Kotak Tajam & Bayangan Tebal) */
#modal-content {
    border-radius: 0px !important; /* Hancurkan rounded lembut */
    border: 6px solid #000000 !important; /* Garis tepi masif */
    box-shadow: 16px 16px 0px #000000 !important; /* Bayangan 3D mentah */
    background-color: #ffffff !important;
}

/* Tombol Silang Close Modal */
#modal-close {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 3px solid #000000 !important;
    border-radius: 0px !important;
    padding: 4px !important;
    box-shadow: 3px 3px 0px #3296FF !important;
}
#modal-close:hover {
    background-color: #3296FF !important;
    color: #000000 !important;
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0px #000000 !important;
}

/* Elemen Input, Textarea, dan Select */
#modal-content input[type="text"],
#modal-content input[type="email"],
#modal-content input[type="file"],
#modal-content select,
#modal-content textarea {
    border-radius: 0px !important; /* Wajib Kotak */
    border: 3px solid #000000 !important; /* Tebal Kaku */
    background-color: #ffffff !important;
    color: #000000 !important;
    font-weight: 700 !important;
    box-shadow: 4px 4px 0px #000000 !important;
    transition: all 0.1s ease !important;
}

/* Efek Fokus Saat Mengetik Form */
#modal-content input:focus,
#modal-content select:focus,
#modal-content textarea:focus {
    background-color: #ffffff !important;
    border-color: #000000 !important;
    box-shadow: 4px 4px 0px #3296FF !important; /* Bayangan berubah jadi Biru */
    transform: translate(-2px, -2px);
}

/* Kapsul Checkbox Pilihan (What do you need help with?) */
#new-business-fields label {
    border-radius: 0px !important;
    border: 3px solid #000000 !important;
    background-color: #ffffff !important;
    box-shadow: 4px 4px 0px #000000 !important;
    font-weight: 700 !important;
    transition: all 0.1s ease;
}
#new-business-fields label:hover {
    background-color: #3296FF !important;
    color: #ffffff !important;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #000000 !important;
}

/* Modifikasi Checkbox Kotak */
#new-business-fields input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #000000 !important;
    border-radius: 0px !important;
    background: #fff;
    cursor: pointer;
    position: relative;
    box-shadow: none !important;
}
#new-business-fields input[type="checkbox"]:checked {
    background: #000000 !important;
}
#new-business-fields input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    color: #3296FF;
    font-size: 14px;
    font-weight: 900;
    top: -2px;
    left: 2px;
}

/* Tombol Submit Kirim Pesan */
#btn-submit {
    border-radius: 0px !important;
    border: 4px solid #000000 !important;
    background-color: #3296FF !important;
    color: #ffffff !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 6px 6px 0px #000000 !important;
    transition: all 0.1s ease !important;
}
#btn-submit:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
    transform: translate(-3px, -3px) !important;
    box-shadow: 9px 9px 0px #000000 !important;
}
#btn-submit:active {
    transform: translate(3px, 3px) !important;
    box-shadow: 2px 2px 0px #000000 !important;
}

/* ==========================================================================
   ANIMASI TRANSISI HALAMAN SAFEMODE
   ========================================================================== */
.page-fade-in {
    -webkit-animation: fadeIn 0.4s ease-in-out forwards;
    animation: fadeIn 0.4s ease-in-out forwards;
}

.fade-out {
    -webkit-animation: fadeOut 0.3s ease-in-out forwards !important;
    animation: fadeOut 0.3s ease-in-out forwards !important;
}

@-webkit-keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@-webkit-keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }

#vanta-bg {
    pointer-events: none !important;
    mix-blend-mode: multiply;
    z-index: -2;
}