/**
 * header.css
 * Styles specific to the site header component.
 */

/* ── Social icons in header rightside-menu ─────────────────────────────── */
.social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.social-icons li {
    display: inline-block;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid #e9ecef;
    color: #212529;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--theme-color, #1AA3DD);
    border-color: var(--theme-color, #1AA3DD);
    color: #ffffff;
    transform: translateY(-3px);
}

/* ── Hide Bootstrap dropdown arrow when nav item has no submenu ─────────── */
/* Only items with children get .dropdown-toggle, but we hide the ::after   */
/* caret for all nav-link items and only show it when .dropdown is present.  */
.main-nav .nav-item a.nav-link::after {
    display: none;
}

.main-nav .nav-item.dropdown > a.nav-link::after {
    display: inline-block;
}

/* ── Hide ::before FA chevron on nav items without a submenu ────────────── */
/* dark.css sets content:"\f107" on ALL nav-links via the same selector.    */
/* We override it here: hide on plain items, allow only on .dropdown items. */
header .navbar.navbar-expand-xl .navbar-nav .nav-item:not(.dropdown) > .nav-link::before {
    content: none !important;
    display: none !important;
}
