/* Header Styles - Top Header + Navigation */

/* ===================================
   TOP HEADER
   =================================== */

/* Desktop - Single line */
.top-content-w3ls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.top-headers ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: center;
}

.top-headers li {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    margin: 0;
    padding: 0;
    white-space: normal;
    line-height: 1.4;
}

.top-headers li i {
    margin-right: 6px;
    font-size: 0.95rem;
}

.top-headers li a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.top-headers-2 ul {
    gap: 10px;
    flex-wrap: wrap;
}

.top-headers-2 li a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.top-headers-2 li a:hover {
    transform: translateY(-2px);
}

/* Mobile - Centered and indented */
@media (max-width: 1200px) {
    .top-content-w3ls {
        justify-content: center;
    }

    .top-headers {
        text-align: center;
    }
}

@media (max-width: 991px) {
    .top-content-w3ls {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 15px 0;
    }
    
    .top-headers ul {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
    
    .top-headers li {
        padding-left: 0;
    }
    
    .top-headers-2 ul {
        flex-direction: row;
        justify-content: center;
        gap: 12px;
    }
}

@media (max-width: 576px) {
    .top-headers li {
        font-size: 0.85rem;
    }
    
    .top-headers li i {
        font-size: 0.9rem;
    }
}

/* ===================================
   MAIN NAVIGATION
   =================================== */

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.navbar-brand .brand-logo {
    height: 48px;
    width: auto;
    max-width: 190px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.navbar-brand .brand-logo-dark {
    display: none;
}

.navbar-toggler {
    border: none;
}

.navbar-collapse {
    display: none;
    width: 100%;
}

.navbar-collapse.show {
    display: block;
}

@media (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
        flex-basis: auto !important;
    }
}

header.nav-fixed .navbar-brand .brand-logo-light,
header.active .navbar-brand .brand-logo-light {
    display: none;
}

header.nav-fixed .navbar-brand .brand-logo-dark,
header.active .navbar-brand .brand-logo-dark {
    display: inline-block;
}

[data-theme="dark"] .navbar-brand .brand-logo-light {
    display: none;
}

[data-theme="dark"] .navbar-brand .brand-logo-dark {
    display: inline-block;
}

.nav-fixed .navbar-brand .brand-logo {
    height: 42px;
}

.navbar-nav .nav-link.active {
    color: #6a4c93 !important;
    font-weight: 600;
}

.navbar-nav .nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover:not(.active) {
    color: #6a4c93 !important;
    opacity: 0.8;
}

