/* Standardized Mobile Menu Styles */

/* Hamburger Button Styles */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #2563eb;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu Styles */
@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 100px 2rem 2rem;
        gap: 1rem;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        text-align: center;
        overflow-y: auto;
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
        pointer-events: auto;
    }
    
    .nav-links li {
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .nav-links li a {
        display: block;
        padding: 1rem 0;
        font-size: 1.2rem;
        font-weight: 500;
        color: #374151;
        text-decoration: none;
        transition: all 0.3s ease;
        text-align: center;
        line-height: 1.4;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .nav-links li a:hover {
        color: #2563eb;
        background: rgba(37, 99, 235, 0.05);
    }
    
    /* Dropdown Styles */
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        background: rgba(240, 240, 240, 0.5);
        border-radius: 12px;
        margin: 0.5rem auto;
        padding: 0;
        width: 92%;
        max-height: 0;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 1000px;
        padding: 0.5rem 0;
        display: block;
    }
    
    /* Social Icons */
    .mobile-social-icons {
        display: flex;
        position: fixed;
        bottom: 4rem;
        left: 50%;
        transform: translateX(-50%);
        justify-content: center;
        gap: 1rem;
        z-index: 1002;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease 0.2s;
    }
    
    .mobile-social-icons.active {
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-social-icons a {
        width: 45px;
        height: 45px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.2rem;
        text-decoration: none;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    .mobile-social-icons a:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }
    
    .mobile-social-icons a.twitter { background: #1da1f2; }
    .mobile-social-icons a.facebook { background: #1877f2; }
    .mobile-social-icons a.linkedin { background: #0077b5; }
    .mobile-social-icons a.tiktok { background: #000000; }
    .mobile-social-icons a.youtube { background: #ff0000; }
    
    /* Body scroll lock */
    body.menu-open {
        overflow: hidden;
    }
}

/* Small screens */
@media screen and (max-width: 480px) {
    .mobile-social-icons a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
