/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: relative;
}

.hamburger {
    width: 28px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--primary-purple);
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

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

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

/* 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;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* Mobile Navigation Menu */
.nav-menu.mobile-active {
    display: flex !important;
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 200px 30px 30px;
    gap: 0;
    z-index: 1000;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.nav-menu.mobile-active.show {
    transform: translateX(0);
}

.nav-menu.mobile-active .nav-link {
    padding: 15px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
    opacity: 1;
}

.nav-menu.mobile-active .dropdown {
    width: 100%;
}

.nav-menu.mobile-active .dropdown-btn {
    padding: 15px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
    justify-content: space-between;
}

.nav-menu.mobile-active .dropdown-content {
    position: static;
    transform: none;
    box-shadow: none;
    background: rgba(249, 168, 38, 0.05);
    border-radius: 8px;
    margin-top: 10px;
    padding: 10px 0;
}

.nav-menu.mobile-active .dropdown-content a {
    padding: 12px 20px;
    font-size: 1rem;
}

.nav-menu.mobile-active .dropdown.active .dropdown-content {
    display: block;
}

/* Mobile Nav Buttons */
.nav-buttons.mobile {
    display: none;
    flex-direction: column;
    gap: 15px;
    position: fixed;
    top: 80px;
    right: 0;
    width: 80%;
    max-width: 320px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.nav-buttons.mobile.show {
    display: flex;
    transform: translateX(0);
}

.nav-buttons.mobile .btn {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
}

/* Responsive Breakpoints */
@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: block !important;
    }

    .nav-menu {
        display: none !important;
    }

    .nav-buttons:not(.mobile) {
        display: none !important;
    }

    .containernav {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .nav-menu.mobile-active {
        width: 100%;
        max-width: 100%;
    }

    .nav-buttons.mobile {
        width: 100%;
        max-width: 100%;
    }
}
