/* --- Header & Sticky --- */
#main-header {
    transition: all 0.3s ease;
    z-index: 1040;
    position: relative;
}

.header-fixed {
    position: fixed !important;
    top: 0;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    background: white !important;
    animation: slideDown 0.4s ease forwards;
    z-index: 1050 !important;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* --- Integrated Search & Language --- */
.search-container {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 4px;
    transition: all 0.3s ease;
}

.search-container:focus-within {
    border-color: #198754;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.lang-divider {
    width: 1px;
    height: 25px;
    background: #dee2e6;
    margin: 0 10px;
}

.lang-dropdown-integrated {
    border: none !important;
    background: transparent !important;
    font-size: 14px;
    font-weight: 600;
    color: #444;
}

.lang-item {
    padding: 10px 15px;
    border-radius: 10px;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.lang-item:hover {
    background: rgba(25, 135, 84, 0.08);
    color: #198754;
    transform: translateX(5px);
}

/* --- Hamburger Animation --- */
.nav-icon-container {
    width: 30px; height: 20px;
    position: relative;
    background: none; border: none;
    cursor: pointer; padding: 0;
}

.nav-icon-container span {
    display: block; position: absolute;
    height: 3px; width: 100%;
    background: #198754; border-radius: 9px;
    transition: .25s ease-in-out;
}

.nav-icon-container span:nth-child(1) { top: 0px; }
.nav-icon-container span:nth-child(2) { top: 10px; }
.nav-icon-container span:nth-child(3) { top: 20px; }

.nav-icon-container.open span:nth-child(1) { top: 10px; transform: rotate(135deg); }
.nav-icon-container.open span:nth-child(2) { opacity: 0; left: -60px; }
.nav-icon-container.open span:nth-child(3) { top: 10px; transform: rotate(-135deg); }

/* --- Mobile Language Grid --- */
.lang-grid-mobile {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 kolom agar rapi untuk 5 bahasa */
    gap: 10px;
}

.lang-btn-mobile {
    border: 1px solid #eee;
    padding: 10px 5px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: #666;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.lang-btn-mobile.active {
    background: #f0fdf4;
    border-color: #198754;
    color: #198754;
    font-weight: bold;
}

/* --- Utils --- */
.hover-lift:hover {
    transform: translateY(-2px);
    transition: 0.3s;
}