/* 
  Mobile Navigation Styles 
  To be included in design-system.css or loaded as a separate script
*/

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    /* Above the menu */
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-noir);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        order: 2;
        /* Between logo and right actions */
        margin-left: auto;
        margin-right: 16px;
    }

    /* Override nav-center for hamburger toggle */
    .nav-center {
        display: none;
        /* Hide by default on mobile */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-ivory);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        z-index: 1000;
        text-align: center;
    }

    .nav-center.active {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    .nav-center a {
        padding: 12px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-center a:last-child {
        border-bottom: none;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}