/* ── Header Concept Two ───────────────────────────────────────── */
.hc2 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.35s ease, box-shadow 0.35s ease;
}

/* Nav links white when header is semi-transparent */
.hc2:not(.scrolled) .hc2__nav-list li a,
.hc2:not(.scrolled) .hc2__search-btn,
.hc2:not(.scrolled) .hc2__burger {
    color: #fff;
}

.hc2:not(.scrolled) .hc2__burger span {
    background: #fff;
}

.hc2.scrolled {
    background: #fff;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.hc2__inner {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
    padding: 0 75px;
    height: 80px;
    box-sizing: border-box;
}

/* ── Center: Nav ─────────────────────────────────────────────── */
.hc2__nav {
    flex: 1;
}

.hc2__nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.hc2__nav-list li a {
    display: block;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.hc2__nav-list li a:hover,
.hc2__nav-list .current-menu-item > a {
    color: var(--color-primary, #1a2fcc);
}

/* ── Left: Logo ──────────────────────────────────────────────── */
.hc2__logo {
    flex-shrink: 0;
}

.hc2__logo img {
    height: 75px;
    width: auto;
    display: block;
}

.hc2__logo-text {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-primary, #1a2fcc);
    text-decoration: none;
}

/* ── Right: Actions ──────────────────────────────────────────── */
.hc2__actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hc2__apply-btn {
    padding: 8px 20px;
    background: var(--color-primary, #1a2fcc);
    color: #fff;
    border: none;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.hc2__apply-btn:hover {
    opacity: 0.85;
}

.hc2:not(.scrolled) .hc2__apply-btn {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.6);
}

.hc2__search-btn,
.hc2__burger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease;
}

.hc2__search-btn:hover,
.hc2__burger:hover {
    background: #f4f4f4;
    color: var(--color-primary, #1a2fcc);
}

.hc2__burger {
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.hc2__burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Burger → X when open */
.hc2__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hc2__burger.is-open span:nth-child(2) { opacity: 0; }
.hc2__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Right Drawer ────────────────────────────────────────────── */
.hc2-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 340px;
    max-width: 90vw;
    background: #fff;
    z-index: 500;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 40px rgba(0,0,0,0.15);
    overflow-y: auto;
}

.hc2-drawer.is-open {
    transform: translateX(0);
}

.hc2-drawer__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    color: #555;
    transition: color 0.2s ease;
}

.hc2-drawer__close:hover {
    color: #111;
}

.hc2-drawer__inner {
    padding: 70px 32px 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hc2-drawer__logo img {
    height: 60px;
    width: auto;
}

.hc2-drawer__site-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-primary, #1a2fcc);
}

.hc2-drawer__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 10px;
}

.hc2-drawer__desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* Social list */
.hc2-drawer__social-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hc2-drawer__social-list li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    color: #555;
    font-size: 0.8rem;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hc2-drawer__social-list li a:hover {
    background: var(--color-primary, #1a2fcc);
    color: #fff;
    border-color: var(--color-primary, #1a2fcc);
}

/* ── Backdrop ────────────────────────────────────────────────── */
.hc2-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 400;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.hc2-backdrop.is-visible {
    opacity: 1;
    pointer-events: all;
}

/* Remove sidebar offset when concept two header is active */
.header-concept-two-active .site-content-wrap {
    margin-left: 0 !important;
}

.header-concept-two-active .site-sidebar {
    display: none !important;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
    .hc2__inner {
        padding: 0 20px;
        height: 64px;
    }

    .hc2__nav {
        display: none;
    }

    .hc2__inner {
        grid-template-columns: auto 1fr auto;
    }

    .hc2__logo {
        justify-self: center;
    }

    .hc2__logo img {
        height: 40px;
    }

}
