/* =========================================================
   NIG Dairy Manufacturing — custom overrides
   Ditumpuk di atas style bawaan template, tidak mengubah file asli
   supaya update template lebih mudah di kemudian hari.
   ========================================================= */

.header-logo-text {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.1;
    text-decoration: none;
}

.header-logo-text .brand-name {
    font-family: var(--font-unbounded, 'Unbounded', sans-serif);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: .5px;
    color: var(--body-color-dark, #14131a);
}

.header-logo-text .brand-tagline {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: .6;
}

.header-effect-shrink.sticky-header--transitioned .header-logo-text .brand-name,
.header-transparent .header-logo-text .brand-name {
    color: inherit;
}

/* Section spacing helper reused across pages */
.nig-section {
    padding: 100px 0;
}

@media (max-width: 991px) {
    .nig-section { padding: 60px 0; }
}

.nig-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 40px;
    border: 1px solid rgba(0,0,0,.1);
    font-size: 13px;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.nig-card {
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,.08);
    padding: 32px 28px;
    height: 100%;
    background: #fff;
    transition: transform .3s ease, box-shadow .3s ease;
}

.nig-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
}

.nig-card .nig-icon {
    font-size: 34px;
    margin-bottom: 18px;
    display: inline-block;
}

.nig-stat-block {
    border-left: 3px solid var(--theme-color, #14131a);
    padding-left: 20px;
    margin-bottom: 32px;
}

/* Live Process View widget (hero) */
.nig-process-widget {
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,.08);
    background: #fff;
    padding: 28px;
    box-shadow: 0 30px 60px rgba(0,0,0,.08);
}

.nig-process-widget .widget-title {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: .55;
    margin-bottom: 20px;
}

.nig-process-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.nig-process-row:last-child { border-bottom: none; }

.nig-process-status {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(35,180,110,.12);
    color: #1d9e63;
}

/* Step timeline (NIG Milkworks) */
.nig-step {
    position: relative;
    padding: 28px 28px 28px 32px;
    border-left: 2px solid rgba(0,0,0,.08);
    margin-bottom: 8px;
}

.nig-step:last-child { border-left-color: transparent; }

.nig-step::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 32px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--theme-color, #14131a);
}

.nig-step-number {
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: .55;
    display: block;
    margin-bottom: 6px;
}

/* FAQ accordion */
.nig-faq-item {
    border-bottom: 1px solid rgba(0,0,0,.08);
    padding: 22px 0;
}

.nig-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
}

.nig-faq-question .nig-faq-toggle {
    font-size: 22px;
    transition: transform .25s ease;
    flex-shrink: 0;
    margin-left: 20px;
}

.nig-faq-item.is-open .nig-faq-toggle { transform: rotate(45deg); }

.nig-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    opacity: .75;
}

.nig-faq-item.is-open .nig-faq-answer {
    max-height: 400px;
    margin-top: 14px;
}

/* Product filter chips */
.nig-filter-chip {
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 30px;
    padding: 8px 20px;
    font-size: 13px;
    background: transparent;
    cursor: pointer;
    transition: all .2s ease;
}

.nig-filter-chip.is-active,
.nig-filter-chip:hover {
    background: var(--theme-color, #14131a);
    color: #fff;
    border-color: var(--theme-color, #14131a);
}

/* Blog cards */
.nig-blog-card { display: block; text-decoration: none; color: inherit; }
.nig-blog-card .nig-blog-thumb {
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4/3;
}
.nig-blog-card .nig-blog-thumb img {
    width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease;
}
.nig-blog-card:hover .nig-blog-thumb img { transform: scale(1.06); }

/* Contact form */
.nig-form .form-control,
.nig-form .form-select,
.nig-form textarea {
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,.15);
    padding: 14px 16px;
}

/* ===================== Admin dashboard ===================== */
.nig-admin-body {
    background: #f4f5f7;
    font-family: 'Poppins', Arial, sans-serif;
    color: #1f2430;
}

.nig-admin-sidebar {
    width: 260px;
    background: #14131a;
    color: #fff;
    min-height: 100vh;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    padding: 28px 20px;
}

.nig-admin-sidebar .brand {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 30px;
    display: block;
    color: #fff;
    text-decoration: none;
}

.nig-admin-sidebar a.nav-link {
    color: rgba(255,255,255,.65);
    padding: 10px 14px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
    font-size: 14px;
    text-decoration: none;
}

.nig-admin-sidebar a.nav-link:hover,
.nig-admin-sidebar a.nav-link.active {
    background: rgba(255,255,255,.08);
    color: #fff;
}

.nig-admin-content {
    margin-left: 260px;
    padding: 32px 36px;
}

@media (max-width: 991px) {
    .nig-admin-sidebar { display: none; }
    .nig-admin-content { margin-left: 0; }
}

.nig-admin-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
    margin-bottom: 24px;
}

.nig-stat-card {
    background: #fff;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
}

.nig-stat-card .value { font-size: 28px; font-weight: 700; }
.nig-stat-card .label { font-size: 13px; opacity: .6; }

.nig-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; opacity: .6; }
