/* ============================================
   DONRESOURCES PREMIUM HEADER
   File: assets/css/header-premium.css
   Version: 3.2
   ============================================ */

.dtcl-premium-header {
    position: sticky;
    top: 0;
    z-index: 1200;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.dtcl-premium-header.scrolled {
    box-shadow: 0 14px 35px rgba(0, 31, 63, 0.12);
}

.dtcl-topbar {
    background: linear-gradient(135deg, #001f3f, #003366);
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
}

.dtcl-topbar-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.dtcl-topbar-left,
.dtcl-topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.dtcl-topbar a,
.dtcl-topbar span {
    color: rgba(255, 255, 255, 0.82);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 600;
}

.dtcl-topbar a:hover,
.dtcl-topbar-right a.active {
    color: #e9ca57;
}

.dtcl-topbar-right a {
    font-weight: 800;
}

.dtcl-mainnav {
    background: rgba(255, 255, 255, 0.96);
}

.dtcl-mainnav-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.dtcl-logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.dtcl-logo img {
    height: 68px;
    width: auto;
    max-width: 188px;
    object-fit: contain;
    transition: 0.3s ease;
}

.dtcl-premium-header.scrolled .dtcl-logo img {
    height: 58px;
}

.dtcl-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-left: auto;
}

.dtcl-nav-link,
.dtcl-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 12px 12px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #003366;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: 0.3s ease;
    white-space: nowrap;
}

.dtcl-nav-link:hover,
.dtcl-nav-link.active,
.dtcl-dropdown.active > .dtcl-dropdown-toggle,
.dtcl-dropdown-toggle:hover {
    background: rgba(201, 162, 39, 0.12);
    color: #c9a227;
}

.dtcl-invest-link {
    color: #c9a227;
}

.dtcl-dropdown {
    position: relative;
}

.dtcl-dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    min-width: 268px;
    padding: 12px;
    border: 1px solid #e5ebf3;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 22px 60px rgba(0, 31, 63, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s ease;
}

.dtcl-dropdown:hover .dtcl-dropdown-menu,
.dtcl-dropdown:focus-within .dtcl-dropdown-menu,
.dtcl-dropdown.open .dtcl-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dtcl-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 13px;
    border-radius: 12px;
    color: #405064;
    font-size: 14px;
    font-weight: 700;
}

.dtcl-dropdown-menu a:hover {
    background: #f6f8fb;
    color: #c9a227;
}

.dtcl-dropdown-menu i {
    width: 18px;
    color: #c9a227;
}

.dtcl-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #003366, #001f3f);
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
}

.dtcl-header-cta:hover {
    background: linear-gradient(135deg, #c9a227, #e9ca57);
    color: #001f3f;
    transform: translateY(-2px);
}

.dtcl-menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 12px;
    background: #003366;
    color: #ffffff;
    font-size: 22px;
}

@media (max-width: 1180px) {
    .dtcl-nav-link,
    .dtcl-dropdown-toggle {
        padding-left: 9px;
        padding-right: 9px;
        font-size: 13px;
    }

    .dtcl-header-cta {
        display: none;
    }

    .dtcl-logo img {
        height: 60px;
    }
}

@media (max-width: 992px) {
    .dtcl-topbar {
        display: none;
    }

    .dtcl-mainnav-inner {
        min-height: 74px;
    }

    .dtcl-logo img,
    .dtcl-premium-header.scrolled .dtcl-logo img {
        height: 54px;
        max-width: 145px;
    }

    .dtcl-menu-toggle {
        display: grid;
        place-items: center;
    }

    .dtcl-nav {
        position: absolute;
        top: 100%;
        left: 18px;
        right: 18px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 14px;
        background: #ffffff;
        border: 1px solid #e5ebf3;
        border-radius: 0 0 18px 18px;
        box-shadow: 0 22px 60px rgba(0, 31, 63, 0.14);
    }

    .dtcl-nav.open {
        display: flex;
    }

    .dtcl-nav-link,
    .dtcl-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 14px 16px;
        border-radius: 12px;
    }

    .dtcl-dropdown-menu {
        position: static;
        display: none;
        min-width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        border-left: 2px solid #e5ebf3;
        border-radius: 0;
        margin-left: 14px;
        padding: 4px 0 4px 10px;
    }

    .dtcl-dropdown.open .dtcl-dropdown-menu {
        display: block;
    }
}

@media (max-width: 576px) {
    .dtcl-mainnav-inner {
        min-height: 68px;
    }

    .dtcl-logo img,
    .dtcl-premium-header.scrolled .dtcl-logo img {
        height: 48px;
        max-width: 130px;
    }

    .dtcl-nav {
        left: 12px;
        right: 12px;
    }
}
