/* ==========================================================================
   NAVBAR STYLES
   ========================================================================== */

.navbar {
    width: 100%;
    height: 80px;
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow var(--transition-base);
}

.navbar.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   BRAND / LOGO SECTION
   ========================================================================== */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-badge {
    width: 50px;
    height: 50px;
    background-color: var(--brand-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-badge span {
    font-size: 22px;
    font-weight: 700;
    color: white;
}

.company-name {
    display: flex;
    flex-direction: column;
}

.company-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-primary);
    line-height: 1.2;
    margin: 0;
}

.company-subtitle {
    font-size: 12px;
    color: var(--text-gray);
    font-weight: 500;
    margin: 3px 0 0 0;
}

/* ==========================================================================
   NAVIGATION LINKS (Desktop)
   ========================================================================== */
.navbar-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    padding-bottom: 5px;
    border-bottom: 3px solid transparent;
    transition: all var(--transition-base);
    position: relative;
}

.nav-link:hover {
    color: var(--brand-primary);
    border-bottom-color: var(--brand-primary);
}

.nav-link.active {
    color: var(--brand-primary);
    border-bottom-color: var(--brand-primary);
}

/* ==========================================================================
   CTA BUTTONS
   ========================================================================== */
.btn-cta {
    background-color: var(--brand-primary);
    color: white;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-cta:hover {
    background-color: var(--brand-primary-dark);
    box-shadow: 0 4px 12px rgba(15, 58, 125, 0.25);
    transform: translateY(-2px);
}

.desktop-cta {
    display: block;
}

.mobile-cta-small {
    display: none;
}

/* ==========================================================================
   MOBILE CONTROLS
   ========================================================================== */
.mobile-nav-controls {
    display: none;
    align-items: center;
    gap: 12px;
}

.hamburger {
    background: none;
    border: none;
    color: var(--brand-primary);
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger-icon {
    display: block;
}

.close-icon {
    display: none;
}

.hamburger.active .hamburger-icon {
    display: none;
}

.hamburger.active .close-icon {
    display: block;
}

/* ==========================================================================
   MOBILE MENU (Dropdown)
   ========================================================================== */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    padding: 20px;
    flex-direction: column;
    animation: slideDown 0.3s ease;
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-link {
    font-size: 16px;
    color: var(--text-dark);
    text-decoration: none;
    padding: 15px;
    transition: all var(--transition-base);
    border-left: 4px solid transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background-color: var(--bg-accent);
    border-left-color: var(--brand-primary);
    color: var(--brand-primary);
}

.mobile-menu-cta {
    width: 100%;
    margin-top: 20px;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
    .navbar {
        height: 70px;
        padding: 0 30px;
    }
    
    .logo-badge {
        width: 45px;
        height: 45px;
    }
    
    .logo-badge span {
        font-size: 20px;
    }
    
    .company-title {
        font-size: 16px;
    }
    
    .company-subtitle {
        font-size: 11px;
    }
    
    .navbar-links {
        gap: 25px;
    }
    
    .nav-link {
        font-size: 13px;
    }
    
    .btn-cta {
        font-size: 13px;
        padding: 11px 22px;
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
    .navbar {
        height: 60px;
        padding: 0 20px;
    }
    
    .logo-badge {
        width: 40px;
        height: 40px;
    }
    
    .logo-badge span {
        font-size: 18px;
    }
    
    .company-title {
        font-size: 14px;
    }
    
    .company-subtitle {
        font-size: 10px;
    }
    
    /* Hide desktop navigation */
    .navbar-links {
        display: none;
    }
    
    .desktop-cta {
        display: none;
    }
    
    /* Show mobile controls */
    .mobile-nav-controls {
        display: flex;
    }
    
    .mobile-cta-small {
        display: block;
        font-size: 12px;
        padding: 10px 18px;
    }
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
