/* /Layout/MainLayout.razor.rz.scp.css */
/* MainLayout.razor.css */

.hoa-layout[b-468qv6ghvr] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Ensure mobile nav positions relative to the sticky header */
.hoa-header[b-468qv6ghvr] {
    position: relative;
}
/* /Layout/NavMenu.razor.rz.scp.css */
/* ============================================================
   HOA NAVIGATION — Lakeside Sanctuary
   ============================================================ */

/* ---- Hamburger Toggle (mobile) ---- */
.hoa-nav-toggle[b-xvrvmw0xsu] {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 1.75rem;
    height: 1.15rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
}

.hoa-nav-toggle-bar[b-xvrvmw0xsu] {
    display: block;
    width: 100%;
    height: 1.5px;
    background: rgba(123, 171, 149, 0.65);
    border-radius: 2px;
    transition: all 0.2s ease;
}

/* ---- Nav Links ---- */
.hoa-nav[b-xvrvmw0xsu] {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
}

[b-xvrvmw0xsu] .hoa-nav-link {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0 0.6rem;
    height: 3.75rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.79rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    position: relative;
}

[b-xvrvmw0xsu] .hoa-nav-link:hover {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    border-bottom-color: rgba(123, 171, 149, 0.45);
}

[b-xvrvmw0xsu] .hoa-nav-link.active {
    color: #fff;
    border-bottom-color: var(--hoa-amber);
}

[b-xvrvmw0xsu] .hoa-nav-link svg {
    opacity: 0.55;
    flex-shrink: 0;
}

[b-xvrvmw0xsu] .hoa-nav-link.active svg,
[b-xvrvmw0xsu] .hoa-nav-link:hover svg {
    opacity: 0.85;
}

/* ---- Responsive (Mobile < 960px) ---- */
@media (max-width: 960px) {
    .hoa-nav-toggle[b-xvrvmw0xsu] {
        display: flex;
    }

    .hoa-nav[b-xvrvmw0xsu] {
        display: none;
        position: absolute;
        top: 3.75rem;
        left: 0;
        right: 0;
        background: var(--hoa-primary-dark);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem 0.75rem 0.75rem;
        border-bottom: 2px solid rgba(184, 107, 56, 0.45);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
        z-index: 200;
    }

    .hoa-nav.hoa-nav-open[b-xvrvmw0xsu] {
        display: flex;
    }

    [b-xvrvmw0xsu] .hoa-nav-link {
        padding: 0.65rem 0.75rem;
        height: auto;
        border-radius: 4px;
        font-size: 0.9rem;
        border-bottom: none;
    }

    [b-xvrvmw0xsu] .hoa-nav-link.active {
        background: rgba(184, 107, 56, 0.14);
        border-bottom: none;
    }

    [b-xvrvmw0xsu] .hoa-nav-link:hover {
        border-bottom-color: transparent;
        background: rgba(255, 255, 255, 0.06);
    }
}

/* ---- Hamburger → X animation (open state) ---- */
/* aria-expanded="true" is set on the button when nav is open */
.hoa-nav-toggle[aria-expanded="true"] .hoa-nav-toggle-bar:nth-child(1)[b-xvrvmw0xsu] {
    transform: translateY(7.9px) rotate(45deg);
}

.hoa-nav-toggle[aria-expanded="true"] .hoa-nav-toggle-bar:nth-child(2)[b-xvrvmw0xsu] {
    opacity: 0;
    transform: scaleX(0);
}

.hoa-nav-toggle[aria-expanded="true"] .hoa-nav-toggle-bar:nth-child(3)[b-xvrvmw0xsu] {
    transform: translateY(-7.9px) rotate(-45deg);
}
