/* ==================================
   HEADER
================================== */

.header {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 9000;

    width: 100%;
    min-height: 106px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    padding: 18px 4.2%;

    background: rgba(7, 16, 29, 0.95);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.18);
}


/* ==================================
   LOGO
================================== */

.logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    color: #ffffff;
    text-decoration: none;
}

.logo-mark {
    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    border: 1px solid #dfb731;
    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            rgba(223, 183, 49, 0.08),
            rgba(223, 183, 49, 0.02)
        );

    color: #dfb731;

    font-size: 18px;
    font-weight: 900;
    letter-spacing: 1px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text strong {
    color: #ffffff;
    font-size: 22px;
    font-weight: 850;
}

.logo-text small {
    margin-top: 8px;

    color: #9ba6b5;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;

    text-transform: uppercase;
}


/* ==================================
   NAVBAR
================================== */

.navbar {
    display: flex;
    align-items: center;
    gap: 34px;
}

.navbar a {
    position: relative;

    padding: 12px 0;

    color: #ffffff;

    text-decoration: none;
    font-size: 15px;
    font-weight: 600;

    transition: color 0.25s ease;
}

.navbar a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 2px;

    width: 100%;
    height: 2px;

    border-radius: 999px;

    background: #dfb731;

    transform: scaleX(0);
    transform-origin: right;

    transition: transform 0.3s ease;
}

.navbar a:hover,
.navbar a.active {
    color: #dfb731;
}

.navbar a:hover::after,
.navbar a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}


/* ==================================
   RESPONSIVE
================================== */

@media (max-width: 1050px) {
    .header {
        padding: 16px 3.5%;
    }

    .navbar {
        gap: 22px;
    }

    .navbar a {
        font-size: 14px;
    }
}

@media (max-width: 820px) {
    .header {
        min-height: auto;

        flex-direction: column;
        align-items: flex-start;

        padding: 15px 5%;
    }

    .navbar {
        width: 100%;

        overflow-x: auto;
        gap: 24px;

        padding-bottom: 4px;

        scrollbar-width: none;
    }

    .navbar::-webkit-scrollbar {
        display: none;
    }

    .navbar a {
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .logo-mark {
        width: 52px;
        height: 52px;
    }

    .logo-text strong {
        font-size: 19px;
    }

    .navbar {
        gap: 20px;
    }
}

/* ==================================
   MOBILE ADMIN LOGIN ICON
================================== */

.mobile-admin-login {
    display: none;
}


/* Normal mobile only */
@media (max-width: 768px) {

    .header {
        position: sticky;
    }

    .mobile-admin-login {
        position: absolute;

        top: 20px;
        right: 5%;

        width: 48px;
        height: 48px;

        display: grid;
        place-items: center;

        border:
            1px solid
            rgba(223, 183, 49, 0.55);

        border-radius: 14px;

        background:
            rgba(223, 183, 49, 0.08);

        color: #dfb731;

        text-decoration: none;

        z-index: 5;

        transition:
            transform 0.25s ease,
            background-color 0.25s ease,
            border-color 0.25s ease;
    }

    .mobile-admin-login svg {
        width: 25px;
        height: 25px;

        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .mobile-admin-login:active {
        transform: scale(0.94);

        background:
            rgba(223, 183, 49, 0.16);
    }


    /* Mobile navbar me old Admin Panel link hide */
    .navbar a[href="admin-login.html"] {
        display: none;
    }
}

/* ==================================
   PREMIUM HEADER POLISH
================================== */

.header {
    background:
        linear-gradient(
            180deg,
            rgba(8, 18, 32, 0.98),
            rgba(6, 14, 26, 0.97)
        );

    border-bottom:
        1px solid
        rgba(192, 205, 220, 0.10);

    box-shadow:
        0 10px 35px
        rgba(0, 0, 0, 0.22);
}


/* LOGO */

.logo-mark {
    border:
        1px solid
        rgba(226, 185, 52, 0.72);

    background:
        linear-gradient(
            145deg,
            rgba(226, 185, 52, 0.14),
            rgba(13, 27, 44, 0.88)
        );

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, 0.05),
        0 8px 24px
        rgba(0, 0, 0, 0.16);
}


.logo-text strong {
    letter-spacing: -0.3px;
}

.logo-text small {
    color: #8f9cad;
}


/* NAVBAR */

.navbar a {
    color: #dce3eb;

    font-weight: 650;
}

.navbar a:hover,
.navbar a.active {
    color: #e4bd3a;
}

.navbar a::after {
    height: 2px;

    background:
        linear-gradient(
            90deg,
            #c99a22,
            #efc94c
        );

    box-shadow:
        0 0 12px
        rgba(226, 185, 52, 0.28);
}


/* MOBILE ADMIN ICON */

.mobile-admin-login {
    background:
        linear-gradient(
            145deg,
            rgba(226, 185, 52, 0.12),
            rgba(12, 25, 42, 0.96)
        ) !important;

    border-color:
        rgba(226, 185, 52, 0.55) !important;

    box-shadow:
        0 8px 25px
        rgba(0, 0, 0, 0.2);
}

/* ==================================
   FINAL HEADER COLOR MATCH
================================== */

.header {
    background:
        linear-gradient(
            180deg,
            rgba(10, 24, 39, 0.98),
            rgba(8, 20, 34, 0.98)
        ) !important;

    border-bottom:
        1px solid
        rgba(170, 194, 214, 0.12) !important;
}

.logo-mark.logo-mark-image {
    width: 72px;
    height: 58px;
    min-width: 72px;

    border: none;
    border-radius: 0;
    background: transparent;

    padding: 0;
    overflow: visible;

    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-mark.logo-mark-image img {
    width: 72px;
    height: 58px;
    object-fit: contain;
    display: block;
}

/* ==================================
   FINAL LOGO + BRAND STYLE
================================== */

.logo {
    gap: 16px;
}

.logo-mark.logo-mark-image {
    width: 78px;
    height: 62px;
    min-width: 78px;

    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;

    padding: 0;
    overflow: visible;

    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-mark.logo-mark-image img {
    width: 78px;
    height: 62px;
    object-fit: contain;
    display: block;
}

.logo-text strong {
    color: #e4bd3a !important;
    font-size: 22px;
    font-weight: 850;
}

.logo-text small {
    margin-top: 8px;

    color: #ffffff !important;

    font-size: 11px;
    font-weight: 900 !important;
    letter-spacing: 2.8px;

    text-transform: uppercase;
}