/* =====================================================
   ROOT VARIABLES
   ===================================================== */
:root {
    --accent-color: #e67e22;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
}

/* =====================================================
   HEADER STYLE
   ===================================================== */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 1.2rem 1.5rem;
}

/* Header Flex Layout */
.site-header .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* Logo */
.site-header .logo img {
    max-height: 70px;
    width: auto;
}

/* Title Group */
.site-header .title-group {
    flex: 1;
}

.site-header .site-title {
    font-size: 1.9rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-dark);
}

.site-header .site-description {
    font-size: 0.95rem;
    margin-top: 0.25rem;
    color: #666;
}

/* Navigation */
.site-header .header-nav a {
    margin-left: 1rem;
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: 0.3s ease;
}

.site-header .header-nav a:hover {
    color: var(--accent-color);
}

/* =====================================================
   MOBILE HEADER
   ===================================================== */
@media (max-width: 768px) {

    .site-header {
        padding: 1rem;
        text-align: center;
    }

    .site-header .header-container {
        flex-direction: column;
    }

    .site-header .logo img {
        max-height: 60px;
        margin-bottom: 0.5rem;
    }

    .site-header .site-title {
        font-size: 1.4rem;
    }

    .site-header .site-description {
        font-size: 0.85rem;
    }

    .site-header .header-nav {
        margin-top: 0.6rem;
    }

    .site-header .header-nav a {
        display: inline-block;
        margin: 0.3rem 0.6rem;
    }
}

/* =====================================================
   FOOTER STYLE (FULL WIDTH + MATCH NAVBAR)
   ===================================================== */
.site-footer {
    background: var(--pkp-navigation-primary-bg, #1f2d3d);
    color: #ffffff;
    padding: 2.5rem 1.5rem;
    margin-top: 3rem;
    font-size: 0.95rem;
    width: 100%;
}

/* Paksa semua teks putih */
.site-footer,
.site-footer p,
.site-footer span,
.site-footer div,
.site-footer li,
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5 {
    color: #ffffff !important;
}

/* Footer Grid */
.site-footer .footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* Footer Titles */
.site-footer h4 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #ffffff !important;
}

/* Footer Text */
.site-footer p {
    margin: 0.3rem 0;
    opacity: 0.85;
}

/* Footer Links */
.site-footer a {
    color: #ffffff !important;
    text-decoration: none;
    opacity: 0.85;
    transition: 0.3s ease;
}

.site-footer a:hover {
    opacity: 1;
    color: var(--accent-color) !important;
}

/* Footer Bottom */
.site-footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.7;
    color: #ffffff !important;
}

/* =====================================================
   TABLET FOOTER
   ===================================================== */
@media (max-width: 992px) {
    .site-footer .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =====================================================
   MOBILE FOOTER
   ===================================================== */
@media (max-width: 576px) {
    .site-footer {
        text-align: center;
    }

    .site-footer .footer-container {
        grid-template-columns: 1fr;
    }
}
