/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary, #7CB342);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.mobile-menu-overlay.active {
    display: block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }

    .logo {
        font-size: 1.2rem;
        gap: 0.5rem;
        flex: 1;
        order: 2;
    }

    .logo img {
        height: 35px !important;
    }

    .hamburger {
        order: 1;
    }

    .nav-buttons,
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 300px;
        background: white;
        flex-direction: column;
        padding: 5rem 1.5rem 1.5rem;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        height: 100vh;
        overflow-y: auto;
        z-index: 1000;
        gap: 0.5rem !important;
        order: 3;
    }

    .nav-buttons.active,
    .nav-links.active {
        transform: translateX(0);
    }

    .nav-buttons .btn,
    .nav-buttons .nav-link,
    .nav-links .nav-link,
    .nav-links .btn {
        width: 100%;
        text-align: center;
        padding: 1rem;
        margin: 0;
    }

    .nav-buttons button,
    .nav-links button {
        width: 100%;
    }
}
