/* ==========================================================================
   04. HEADER, FOOTER & LAYOUT
   Fungsi: Pengaturan navigasi utama dan elemen layout statis.
   ========================================================================== */

/* --- A. HEADER (Nav-Container) --- */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 55px;
    display: flex;
    align-items: center;
    z-index: 9999;
    background: transparent;
    transition: background 0.3s ease;
    -webkit-backdrop-filter: blur(0px);
    backdrop-filter: blur(0px);
}

/* Kondisi Background: Splash Page (Transparent) vs Halaman Lain (Ivory) */
.home .nav-container {
    background: transparent !important;
}

body:not(.home) .nav-container {
    background-color: #F2F0EB !important;
    box-shadow: none !important;
}

.inner-nav-container {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0 20px;
    box-sizing: border-box;
}

/* --- B. LOGO (Optimasi Sharpness & Proposional) --- */
.nav-logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-logo img {
    height: 22px !important;
    width: auto !important;
    object-fit: contain;
    transition: opacity 0.4s ease-in-out;
    -webkit-font-smoothing: antialiased !important;
}

/* Invert Logic: Menyesuaikan Logo Asli/Invert sesuai Halaman */
body.home .nav-logo img.logo-asli,
body:not(.home) .nav-logo img.logo-invert {
    display: block !important;
}

body.home .nav-logo img.logo-invert,
body:not(.home) .nav-logo img.logo-asli {
    display: none !important;
}

/* --- C. NAVIGATION (Hubballi Synced) --- */
.site-navigation {
    margin-left: auto;
    display: flex;
    justify-content: flex-end;
}

.nav-list {
    display: flex !important;
    align-items: center;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto;
    flex-direction: row;
    gap: 15px !important;
}

.nav-list li {
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
}

.nav-list li a {
    font-family: 'Hubballi', sans-serif !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-decoration: none !important;
    text-transform: lowercase !important;
    padding: 0 5px !important;
    white-space: nowrap;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    height: 55px;
    -webkit-font-smoothing: antialiased;
}

.nav-list li:last-child a {
    padding-right: 0;
}

/* Warna Link: Kontras Terjaga */
.home .nav-list li a {
    color: #ffffff !important;
}

body:not(.home) .nav-list li a {
    color: #666666 !important;
}

/* Efek Hover: Glow Samar */
.nav-list li a:hover {
    color: #000000 !important;
    text-shadow: 0 0 8px rgba(166, 166, 166, 0.4);
}

/* --- D. FOOTER (Minimalist Hairline) --- */
.site-footer {
    position: fixed;
    left: 0;
    bottom: 30px;
    width: 100%;
    text-align: center;
    font-family: 'Hubballi', sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 3px;
    color: #bbb;
    text-transform: uppercase;
    z-index: 90;
    pointer-events: none;
}

