/* Mobile Menu Styles */

/* Hamburger Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 1rem;
    z-index: 1001;
    position: relative;
}

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

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

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

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

/* Mobile Menu Container */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #121212;
    z-index: 1000;
    overflow-y: auto;
    padding-top: 6rem;
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
    animation: slideInFromTop 0.3s ease;
}

@keyframes slideInFromTop {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile Menu Navigation */
.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-top: 2rem;
}

.mobile-menu-nav a {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: #fff;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    display: block;
}

.mobile-menu-nav a:hover {
    background: rgba(110, 231, 183, 0.1);
    color: #6ee7b7;
    padding-left: 2rem;
}

.mobile-menu-nav a.active {
    background: rgba(110, 231, 183, 0.2);
    color: #6ee7b7;
    border-left: 3px solid #6ee7b7;
    padding-left: calc(1.5rem - 3px);
}

/* Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.mobile-menu-overlay.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Mobile Header Container */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #121212;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    z-index: 1001;
    justify-content: space-between;
    align-items: center;
    height: 6rem;
}

.mobile-header-logo {
    width: 3rem;
    height: 3rem;
}

.mobile-header-logo svg {
    width: 100%;
    height: 100%;
}

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

    .desktop-nav {
        display: none;
    }

    .mobile-header {
        display: flex;
    }

    body {
        padding-top: 6rem;
    }

    body.mobile-menu-open {
        overflow: hidden;
    }
}

/* Social Links in Mobile Menu */
.mobile-menu-social {
    margin-top: auto;
    padding: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.mobile-menu-social a {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(110, 231, 183, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6ee7b7;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
    font-size: 1.2rem;
}

.mobile-menu-social a:hover {
    background: rgba(110, 231, 183, 0.2);
    transform: scale(1.1);
}

/* Divider */
.mobile-menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 1rem 0;
}

/* Mobile Menu Section */
.mobile-menu-section {
    padding: 0;
}

.mobile-menu-section-title {
    padding: 1.5rem;
    color: #6ee7b7;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
    opacity: 0.7;
}
