/* ===== Mobile Menu Button ===== */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #000000;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Mobile Navigation Overlay ===== */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(243, 243, 243, 0.98);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.mobile-nav-close::before,
.mobile-nav-close::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 2px;
    background: #000000;
    transition: background 0.3s;
}

.mobile-nav-close::before {
    transform: rotate(45deg);
}

.mobile-nav-close::after {
    transform: rotate(-45deg);
}

.mobile-nav-close:hover::before,
.mobile-nav-close:hover::after {
    background: var(--color-primary);
}

.mobile-nav-overlay.active {
    display: flex;
}

.mobile-nav-overlay ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.mobile-nav-overlay a {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 36px;
    text-decoration: none;
    color: #000000;
    text-transform: uppercase;
    transition: color 0.3s;
}

.mobile-nav-overlay a:hover {
    color: var(--color-primary);
}

/* Show burger on tablet/mobile */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: block;
    }
}
