@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800;900&family=Inter+Tight:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── SIDEBAR WRAPPER ── */
.fls-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 360px;
    z-index: 999999;
    transform: translateX(calc(-100% + 85px));
    transition: 0.5s ease;
    font-family: 'Archivo', sans-serif;
}

.fls-sidebar.active {
    transform: translateX(0);
}

.fls-inner {
    display: flex;
    height: 100%;
}

/* ── LEFT PANEL ── */
.fls-left {
    width: 275px;
    background: var(--fls-sidebar-bg);
    padding: 40px 32px 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
}

.fls-menu-area {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

/* ── PRIMARY NAVIGATION ── */
.fls-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fls-menu > li {
    margin-bottom: 22px;
}

.fls-menu > li > a {
    font-family: 'Archivo', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--fls-menu-color);
    letter-spacing: 1.2px;
    display: inline-block;
    line-height: 1.2;
    transition: opacity 0.2s ease;
}

.fls-menu > li > a:hover {
    opacity: 0.7;
}

/* Active — pink underline only */
.fls-menu > li.current-menu-item > a,
.fls-menu > li.current-menu-ancestor > a {
    text-decoration: underline;
    text-decoration-color: #ff00aa;
    text-underline-offset: 7px;
    text-decoration-thickness: 2px;
}

/* ── CHEVRON on parent items ── */
.fls-menu > li.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-right: 1.5px solid var(--fls-menu-color);
    border-bottom: 1.5px solid var(--fls-menu-color);
    transform: rotate(45deg);
    margin-left: 9px;
    vertical-align: 2px;
    transition: transform 0.25s ease;
    opacity: 0.5;
}

.fls-menu > li.menu-item-has-children.open > a::after {
    transform: rotate(-135deg);
    vertical-align: -1px;
}

/* ── SUB-MENU ── */
.fls-menu .sub-menu {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
    display: none;
    border-left: 1.5px solid rgba(0,0,0,0.12);
    padding-left: 14px;
}

.fls-menu .sub-menu.open {
    display: block;
}

.fls-menu .sub-menu li {
    margin-bottom: 9px;
}

.fls-menu .sub-menu li:last-child {
    margin-bottom: 0;
}

.fls-menu .sub-menu li a {
    font-family: 'Inter Tight', sans-serif;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--fls-menu-color);
    letter-spacing: 1px;
    opacity: 0.55;
    display: inline-block;
    transition: opacity 0.2s ease;
}

.fls-menu .sub-menu li a:hover,
.fls-menu .sub-menu li.current-menu-item a {
    opacity: 1;
    text-decoration: underline;
    text-decoration-color: #ff00aa;
    text-underline-offset: 5px;
    text-decoration-thickness: 1.5px;
}

/* ── CONTACT BLOCK ── */
.fls-contact {
    font-family: 'Inter Tight', sans-serif;
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.85;
    color: var(--fls-contact-color);
}

.fls-email {
    margin-bottom: 10px;
    opacity: 0.8;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    letter-spacing: 0.2px;
}

.fls-address {
    line-height: 1.7;
    opacity: 0.6;
    font-size: 12px;
}

/* ── RIGHT PANEL ── */
.fls-right {
    width: 85px;
    background: var(--fls-tab-bg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.fls-logo img {
    width: 56px;
    height: auto;
}

/* ── HAMBURGER TOGGLE ── */
.fls-toggle {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 46px;
    height: 32px;
    justify-content: center;
    align-items: center;
}

.fls-toggle span {
    width: 28px;
    height: 1.5px;
    background: var(--fls-icon-color);
    display: block;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform-origin: center;
}

/* ── X CLOSE BUTTON ── */
.fls-toggle-x {
    cursor: pointer;
    display: none;
    width: 44px;
    height: 44px;
    border: 1.5px solid var(--fls-icon-color);
    position: relative;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.fls-toggle-x::before,
.fls-toggle-x::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 1.5px;
    background: var(--fls-icon-color);
}

.fls-toggle-x::before { transform: rotate(45deg); }
.fls-toggle-x::after  { transform: rotate(-45deg); }

/* Swap on open */
.fls-sidebar.active .fls-toggle   { display: none; }
.fls-sidebar.active .fls-toggle-x { display: flex; }

/* ── LINKEDIN ── */
.fls-linkedin a {
    font-family: 'Archivo', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--fls-icon-color);
    text-decoration: none;
    letter-spacing: 0.5px;
}

/* ── BODY OFFSET ── */
body {
    padding-left: 85px;
}

/* ── MOBILE ── */
@media (max-width: 767px) {
    body {
        padding-left: 33px;
    }

    .fls-sidebar {
        width: 245px;
        transform: translateX(calc(-100% + 33px));
    }

    .fls-left {
        width: 212px;
        padding: 22px 22px 24px;
    }

    .fls-right {
        width: 33px;
        padding: 10px 0;
    }

    .fls-logo img {
        width: 36px;
    }

    .fls-menu > li {
        margin-bottom: 18px;
    }

    .fls-menu > li > a {
        font-size: 13px;
        letter-spacing: 0.9px;
    }

    .fls-menu .sub-menu li a {
        font-size: 10.5px;
    }

    .fls-contact {
        font-size: 10.5px;
    }

    .fls-email {
        font-size: 10px;
    }

    .fls-toggle span {
        width: 20px;
    }

    .fls-toggle {
        width: 22px;
        height: 22px;
        gap: 5px;
    }

    .fls-toggle-x {
        width: 24px;
        height: 24px;
    }

    .fls-toggle-x::before,
    .fls-toggle-x::after {
        width: 13px;
    }
}