/* ============================================================
   Armour Hub - Header Module Styles
   Color Scheme: Dark Navy (#0B1B2B), Gold (#D4AF37), White (#FFFFFF)
   ============================================================ */

/* Top Info Bar */
.top-bar {
    background-color: #06101a;
    color: #cccccc;
    font-size: 0.82rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.top-bar a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-bar a:hover {
    color: #D4AF37;
}

.top-bar i {
    color: #D4AF37;
    font-size: 0.85rem;
}

/* Main Sticky Header */
.main-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #0B1B2B;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.main-header.scrolled {
    background-color: rgba(11, 27, 43, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

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

/* Brand Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-badge {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #D4AF37 0%, #AA820A 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0B1B2B;
    font-size: 1.4rem;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #D4AF37;
    text-transform: uppercase;
    line-height: 1.1;
    font-family: 'Poppins', sans-serif;
}

.brand-subtitle {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.8px;
    color: #FFFFFF;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.25s ease;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #D4AF37;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: #D4AF37;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Header Actions & WhatsApp Button */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-whatsapp-header {
    background-color: #25D366;
    color: #FFFFFF !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 9px 18px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-whatsapp-header i {
    font-size: 1.15rem;
}

.btn-whatsapp-header:hover {
    background-color: #1eb956;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
    color: #FFFFFF;
}

/* Hamburger Toggle Button */
.hamburger-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    justify-content: space-around;
    width: 38px;
    height: 38px;
    z-index: 1001;
}

.hamburger-line {
    width: 24px;
    height: 2.5px;
    background-color: #D4AF37;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 69px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 69px);
        background-color: #0B1B2B;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 30px 25px;
        gap: 18px;
        transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
        border-top: 1px solid rgba(212, 175, 55, 0.2);
    }

    .nav-menu.open {
        left: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .hamburger-toggle {
        display: flex;
    }

    .top-bar-left {
        display: none;
    }

    .top-bar .container {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .brand-name {
        font-size: 1.2rem;
    }
    .brand-subtitle {
        font-size: 0.62rem;
    }
    .btn-whatsapp-header span {
        display: none;
    }
    .btn-whatsapp-header {
        padding: 8px 12px;
    }
}
