/* Top Notification Bar */
.top-bar {
    background: linear-gradient(90deg, #0d47a1 0%, #1e88e5 100%);
    color: var(--white);
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
}

.top-bar a {
    color: var(--white);
    text-decoration: underline;
    font-weight: 600;
}

/* Main Header */
.main-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 0px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

/* Logo */
.logo img {
    height: 70px;
    width: auto;
}

/* Navigation */
.nav-menu ul {
    display: flex;
    gap: 35px;
}

.nav-menu ul li a {
    font-size: 14px;
    font-weight: 600;
    color: #1c2b3a;
    letter-spacing: 0.3px;
    line-height: 22.4px;
    text-transform: capitalize;
}

.nav-menu ul li a:hover {
    color: var(--primary-blue);
}

.header-actions {
    display: flex;
    align-items: center;
}

/* Login Button */
.member-login {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1c2b3a;
    transition: all 0.3s ease;
}

.member-login:hover {
    background: var(--bg-light);
}

.member-login i {
    font-size: 16px;
}

/* Mobile Toggle Button Default Hidden */
.mobile-menu-toggle {
    display: none;
}

/* Mobile Menu Drawer */
.mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: -320px; /* Start hidden offscreen */
    width: 300px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-drawer.open {
    right: 0;
}

/* Drawer Header */
.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.drawer-logo img {
    height: 50px;
    width: auto;
}

.drawer-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #1c2b3a;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.drawer-close:hover {
    color: var(--primary-blue);
}

/* Drawer Content */
.drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li {
    margin-bottom: 25px;
}

.mobile-nav-links li a {
    font-size: 16px;
    font-weight: 600;
    color: #1c2b3a;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.mobile-nav-links li a:hover {
    color: var(--primary-blue);
}

.drawer-actions {
    margin-top: auto;
    padding-top: 20px;
}

.drawer-actions .member-login {
    justify-content: center;
    width: 100%;
}

/* Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* Responsive Header */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }

    .header-container {
        padding: 0 20px;
    }

    .logo img {
        height: 50px;
    }

    .member-login {
        padding: 8px 15px;
        font-size: 13px;
    }

    .mobile-menu-toggle {
        display: flex;
        background: none;
        border: none;
        font-size: 24px;
        color: #1c2b3a;
        cursor: pointer;
        padding: 5px;
        margin-left: 15px;
        align-items: center;
        justify-content: center;
        transition: color 0.3s ease;
    }

    .mobile-menu-toggle:hover {
        color: var(--primary-blue);
    }
}