/* =========================================================
   ASSETS/CSS/NAVBAR.CSS - UPDATED WITH ORANGE GRADIENT & RIGHT DRAWER
   ========================================================= */

:root {
    --nav-gradient: linear-gradient(90deg, hsla(20, 100%, 53%, 1) 0%, hsla(0, 93%, 57%, 1) 100%);
    --accent-color: #ff5f0f;
}

/* TOP NAVBAR CONTAINER */
.main-navbar {
    background: var(--nav-gradient);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
    width: 100%;
}
.nav-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 16px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.nav-brand img {
    height: 38px;
    width: auto;
    display: block;
}

/* DESKTOP NAV LINKS (WHITE ON ORANGE GRADIENT) */
.nav-menu-desktop {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-item {
    position: relative;
}
.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    color: #ffffff;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 8px;
    transition: 0.2s;
    cursor: pointer;
}
.nav-link:hover, .nav-item.active .nav-link {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}
.nav-link i.arrow {
    font-size: 10px;
    transition: transform 0.2s;
}
.nav-item:hover .nav-link i.arrow {
    transform: rotate(180deg);
}

/* MEGA DROPDOWN MENU (DESKTOP) */
.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    border: 1px solid #ebdfee;
    padding: 22px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.22s ease-in-out;
    display: grid;
    z-index: 1001;
    max-width: 95vw;
}
.nav-item:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-4-cols { grid-template-columns: 200px 200px 200px 240px; gap: 20px; width: 900px; }
.mega-3-cols { grid-template-columns: 210px 210px 240px; gap: 20px; width: 720px; }
.mega-2-cols { grid-template-columns: 220px 220px; gap: 16px; width: 480px; }

.mega-col-title {
    font-size: 11px;
    font-weight: 800;
    color: #ff5f0f;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.mega-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mega-link-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
    border-radius: 8px;
    text-decoration: none;
    color: #444;
    font-size: 13px;
    font-weight: 500;
    transition: 0.2s;
}
.mega-link-item a:hover {
    background: #fff8f5;
    color: var(--accent-color);
    transform: translateX(3px);
}
.mega-link-item a i {
    width: 18px;
    color: #888;
    font-size: 13px;
}
.mega-link-item a:hover i {
    color: var(--accent-color);
}

.mega-featured-card {
    background: linear-gradient(135deg, #ff5f0f 0%, #fe107b 100%);
    border-radius: 12px;
    padding: 16px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.featured-badge {
    font-size: 10px;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.25);
    padding: 2px 8px;
    border-radius: 10px;
    align-self: flex-start;
    margin-bottom: 8px;
}
.featured-title { font-size: 14px; font-weight: bold; margin-bottom: 6px; }
.featured-desc { font-size: 11px; color: rgba(255, 255, 255, 0.9); line-height: 1.4; margin-bottom: 12px; }
.featured-btn {
    background: #fff;
    color: #ff5f0f;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 6px;
    text-align: center;
    transition: 0.2s;
}

/* RIGHT ACTIONS (LANGUAGE & MOBILE HAMBURGER) */
.nav-actions-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* LANGUAGE DROPDOWN (WITH HOVER BRIDGE FIX) */
.lang-select-wrap {
    position: relative;
    padding: 6px 0;
}
.lang-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}
.lang-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}
.lang-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 2px;
    background: #fff;
    border: 1px solid #ebdfee;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    min-width: 140px;
    display: none;
    list-style: none;
    padding: 6px 0;
    z-index: 1002;
}
/* Invisible hover bridge to prevent disappearing */
.lang-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 0;
    width: 100%;
    height: 8px;
}
.lang-select-wrap:hover .lang-dropdown-menu {
    display: block;
}
.lang-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    font-size: 12px;
    color: #333;
    text-decoration: none;
    transition: 0.2s;
}
.lang-dropdown-menu a:hover {
    background: #fff8f5;
    color: var(--accent-color);
}

/* MOBILE HAMBURGER BUTTON */
.btn-mobile-hamburger {
    display: none;
    background: transparent;
    border: none;
    font-size: 22px;
    color: #ffffff;
    cursor: pointer;
    padding: 6px;
}

/* MOBILE OFF-CANVAS DRAWER (RIGHT-HAND SIDE OPEN) */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%; /* RIGHT SIDE */
    left: auto;
    width: 82%;
    max-width: 320px;
    height: 100%;
    background: #fff;
    z-index: 99999;
    overflow-y: auto;
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}
.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f0eded;
}
.drawer-close-btn {
    background: transparent;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
}

.drawer-menu-list {
    list-style: none;
    padding: 10px 0;
    margin: 0;
    flex: 1;
}
.drawer-nav-item {
    border-bottom: 1px solid #fcf9fc;
}
.drawer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #222;
    text-decoration: none;
    cursor: pointer;
}
.drawer-link-left {
    display: flex;
    align-items: center;
    gap: 12px; /* Close icon-text gap */
}
.drawer-link.highlight-active {
    background: #ff5f0f;
    color: #fff !important;
}
.drawer-link.highlight-active i {
    color: #fff !important;
}

.drawer-accordion-content {
    display: none;
    background: #faf8fb;
    padding: 6px 0;
}
.drawer-accordion-content.open {
    display: block;
}
.drawer-sub-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
    font-size: 13.5px;
    color: #555;
    text-decoration: none;
    font-weight: 500;
}
.drawer-sub-link:hover {
    color: var(--accent-color);
}
.drawer-sub-link i {
    width: 16px;
    color: #999;
}

@media (max-width: 991px) {
    .nav-menu-desktop { display: none; }
    .btn-mobile-hamburger { display: block; }
}