﻿/* =========================================================
   🌐 BKKU ENTERPRISE HEADER + NAVBAR ENGINE
   FINAL STABLE – CLEAN STRUCTURE – NO CONFLICTS
========================================================= */


/* ================= GLOBAL RESET ================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
}


/* =========================================================
   GOOGLE TRANSLATE – FULL CLEAN REMOVAL
========================================================= */

/* Remove top translate banner */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
}

/* Remove injected skiptranslate wrapper */
body > .skiptranslate {
    display: none !important;
}

/* Prevent body being pushed down */
body {
    top: 0 !important;
}


/* Remove tooltip bubble */
.goog-tooltip,
.goog-tooltip:hover {
    display: none !important;
}

/* Remove yellow highlight background */
.goog-text-highlight {
    background: transparent !important;
    box-shadow: none !important;
}

/* Prevent iframe flash */
iframe.goog-te-banner-frame {
    display: none !important;
}


/* =========================================================
   APP LAYOUT
========================================================= */

.bkku-app-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.bkku-main-content {
    flex: 1;
    width: 100%;
}


/* =========================================================
   CONTAINER SYSTEM
========================================================= */

.bkku-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 1400px) {
    .bkku-container {
        max-width: 1400px;
    }
}


/* =========================================================
   HEADER WRAPPER
========================================================= */

.bkku-header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000; /* below modal */
}


/* =========================================================
   HEADER GRID LAYOUT
========================================================= */

.bkku-header-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 85px;
}


/* ================= LEFT SIDE ================= */

.bkku-header-left {
    display: flex;
    align-items: center;
}

.bkku-brand-link {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
}

.bkku-logo {
    height: 60px;
    width: auto;
}

.bkku-logo-fallback {
    width: 60px;
    height: 60px;
    background: #0f5132;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-radius: 6px;
}

.bkku-brand-text {
    display: flex;
    flex-direction: column;
}

.bkku-site-title {
    font-weight: 800;
    font-size: 20px;
    line-height: 1.2;
}

.bkku-site-tagline {
    font-size: 14px;
    opacity: .7;
}


/* ================= CENTER SOCIAL ================= */

.bkku-header-center {
    text-align: center;
}

.bkku-header-social a {
    margin: 0 6px;
    font-size: 18px;
    color: inherit;
    transition: opacity .2s ease;
}

    .bkku-header-social a:hover {
        opacity: 0.7;
    }


/* ================= RIGHT SIDE ================= */

.bkku-header-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}


/* =========================================================
   BUTTONS
========================================================= */

.bkku-btn-outline {
    border: 1px solid #333;
    background: transparent;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.bkku-btn-primary {
    background: #0f5132;
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
}

.bkku-user-name {
    font-size: 14px;
}


/* =========================================================
   LANGUAGE DROPDOWN
========================================================= */

.bkku-lang-wrapper {
    position: relative;
}

.bkku-lang-menu {
    position: absolute;
    right: 0;
    top: 110%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    display: none;
    min-width: 170px;
    box-shadow: 0 12px 25px rgba(0,0,0,.08);
    z-index: 2000;
}

    .bkku-lang-menu li {
        padding: 10px 14px;
        cursor: pointer;
        font-size: 14px;
    }

        .bkku-lang-menu li:hover {
            background: #f4f4f4;
        }

.bkku-lang-wrapper.open .bkku-lang-menu {
    display: block;
}


/* =========================================================
   NAVBAR WRAPPER
========================================================= */

.bkku-navbar-wrapper {
    width: 100%;
    background: #f59e0b;
    position: sticky;
    top: var(--bkku-header-height);
}


/* ================= NAVBAR INNER ================= */

.bkku-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 55px;
}


/* ================= NAV MENU ================= */

.bkku-navbar-menu {
    display: flex;
    gap: 25px;
    align-items: center;
}

    .bkku-navbar-menu li {
        position: relative;
    }

    .bkku-navbar-menu a {
        color: #ffffff;
        font-weight: 600;
        font-size: 15px;
        text-decoration: none;
        transition: opacity .2s ease;
    }

        .bkku-navbar-menu a:hover {
            opacity: 0.8;
        }


/* =========================================================
   MOBILE NAVIGATION
========================================================= */

.bkku-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .bkku-header-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: center;
    }

    .bkku-header-left {
        justify-content: center;
    }

    .bkku-header-right {
        justify-content: center;
    }

    .bkku-navbar-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .bkku-toggle {
        display: block;
        align-self: flex-end;
        margin-bottom: 6px;
    }

    .bkku-navbar-menu {
        flex-direction: column;
        display: none;
        width: 100%;
        padding: 10px 0;
        gap: 14px;
    }

        .bkku-navbar-menu.show {
            display: flex;
        }

        .bkku-navbar-menu a {
            padding: 6px 0;
        }
}


/* =========================================================
   DROPDOWN
========================================================= */

.bkku-dropdown {
    position: relative;
}

.bkku-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    border: 1px solid #eee;
    border-radius: 6px;
    display: none;
    flex-direction: column;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

    .bkku-dropdown-menu li {
        width: 100%;
    }

    .bkku-dropdown-menu a {
        display: block;
        padding: 10px 14px;
        color: #333;
    }

.bkku-dropdown:hover .bkku-dropdown-menu {
    display: block;
}
/* =========================================================
   GOOGLE TRANSLATE – ENTERPRISE SAFE CLEANUP (UPDATED)
========================================================= */

/* Hide default Google dropdown combo */
.goog-te-combo {
    display: none !important;
}

/* Hide default Google gadget wrapper */
.goog-te-gadget {
    font-size: 0 !important;
    color: transparent !important;
}

/* Hide Google branding text */
.goog-logo-link {
    display: none !important;
}

/* Prevent extra white space */
.goog-te-gadget span {
    display: none !important;
}


/* =========================================================
   CUSTOM LANGUAGE DROPDOWN – ENHANCED PROFESSIONAL STYLE
========================================================= */

.bkku-lang-wrapper {
    position: relative;
}

    .bkku-lang-wrapper button {
        transition: all 0.2s ease;
    }

        .bkku-lang-wrapper button:hover {
            background: #f1f1f1;
        }

.bkku-lang-menu {
    position: absolute;
    right: 0;
    top: 110%;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    min-width: 160px;
    box-shadow: 0 12px 25px rgba(0,0,0,.08);
    display: none;
    z-index: 3000;
    overflow: hidden;
    animation: fadeInLang .15s ease-in-out;
}

    .bkku-lang-menu li {
        padding: 10px 14px;
        cursor: pointer;
        font-size: 14px;
        transition: background .2s ease;
    }

        .bkku-lang-menu li:hover {
            background: #f4f4f4;
        }

/* Smooth fade animation */
@keyframes fadeInLang {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}