/* ===================================
   Navigation Component
   Menu styles, dropdown arrows, submenus
   =================================== */

/* Primary Menu */
.primary-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 31px;
    width: 183px;
}

.primary-menu > li {
    margin: 0;
}

.primary-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #475467;
    transition: all 0.3s ease;
    line-height: 24px;
    text-wrap: balance;
}

.primary-menu a:hover {
    color: #e2422a;
}

.primary-menu li.current-menu-item > a,
.primary-menu li.current-menu-ancestor > a {
    color: #e2422a;
}

/* Dropdown Arrow - SVG */
.dropdown-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.dropdown-arrow svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.dropdown-open > a .dropdown-arrow {
    transform: rotate(180deg);
}

/* Submenu */
.sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dropdown-open > .sub-menu {
    max-height: 500px;
    margin-top: 15px;
}

.sub-menu a {
    font-size: 13px;
    font-weight: 600;
    color: #475467;
    text-transform: none;
    padding-left: 20px;
    text-wrap: balance;
    line-height: 1.2;
}

.sub-menu a:hover {
    color: #e2422a;
}
