/**
 * PVUD Header Styles
 * BEM CSS Structure
 * Primary: #006CB7 | Secondary: #FFCC2A
 */

/* ==========================================================================
   HEADER COMPONENT
   ========================================================================== */

/* Header Block */
.pvud-header {
    position: relative;
    width: 100%;
}

/* Topbar */
.pvud-header__topbar {
    background-color: #006CB7;
    color: #ffffff;
    padding: 8px 0;
    font-size: 13px;
}

.pvud-header__topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.pvud-header__date {
    display: flex;
    align-items: center;
}

.pvud-header__date-icon {
    margin-right: 8px;
    color: #FFCC2A;
}

.pvud-header__date-text {
    font-weight: 500;
}

.pvud-header__user-info {
    display: flex;
    align-items: center;
}

.pvud-header__user-name {
    margin-right: 15px;
}

.pvud-header__user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #FFCC2A;
    object-fit: cover;
}

/* Banner */
.pvud-header__banner {
    position: relative;
    width: 100%;
}

.pvud-header__banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 108, 183, 0.85) 0%, rgba(0, 76, 128, 0.9) 100%);
}

.pvud-header__banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.pvud-header__logo {
    max-height: 60px;
    margin-bottom: 15px;
}

.pvud-header__title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 5px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pvud-header__subtitle {
    color: #FFCC2A;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

/* Slogan Bar */
.pvud-header__slogan {
    background: linear-gradient(135deg, #FFCC2A 0%, #f0b800 100%);
    color: #006CB7;
    padding: 12px 0;
    text-align: center;
}

.pvud-header__slogan-text {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pvud-header__slogan-icon {
    margin: 0 10px;
    font-size: 12px;
}

/* Mobile Menu Toggle */
.pvud-header__mobile-toggle {
    display: none;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1001;
    background: #006CB7;
    color: #ffffff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.pvud-header__mobile-toggle:hover {
    background: #005a9c;
}

.pvud-header__mobile-toggle-icon {
    font-size: 20px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* Tablet */
@media (max-width: 991px) {
    .pvud-header__banner {
        height: 150px;
    }

    .pvud-header__title {
        font-size: 18px;
    }

    .pvud-header__subtitle {
        font-size: 13px;
    }

    .pvud-header__slogan-text {
        font-size: 14px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .pvud-header__topbar {
        padding: 6px 0;
        font-size: 12px;
    }

    .pvud-header__topbar-inner {
        padding: 0 10px;
    }

    .pvud-header__user-name {
        display: none;
    }

    .pvud-header__banner {
        height: 120px;
    }

    .pvud-header__logo {
        max-height: 40px;
        margin-bottom: 10px;
    }

    .pvud-header__title {
        font-size: 14px;
        letter-spacing: 0.5px;
    }

    .pvud-header__subtitle {
        font-size: 11px;
    }

    .pvud-header__slogan {
        padding: 10px 15px;
    }

    .pvud-header__slogan-text {
        font-size: 12px;
        line-height: 1.4;
    }

    .pvud-header__mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .pvud-header__date-text {
        font-size: 11px;
    }

    .pvud-header__banner {
        height: 100px;
    }

    .pvud-header__title {
        font-size: 12px;
    }

    .pvud-header__subtitle {
        font-size: 10px;
    }

    .pvud-header__slogan-text {
        font-size: 11px;
    }
}
