/* ============================================
   UNIVERSAL MOBILE MENU FIX - ADD TO ALL PAGES
   ============================================ */

/* Ensure hamburger is visible on mobile */
@media (max-width: 768px) {
    .hamburger {
        display: flex !important;
        flex-direction: column !important;
        cursor: pointer !important;
        gap: 5px !important;
        padding: 10px !important;
        z-index: 1001 !important;
        background: transparent !important;
        border: none !important;
        position: relative !important;
    }
    
    .hamburger span {
        width: 28px !important;
        height: 3px !important;
        background: #00f0ff !important;
        border-radius: 3px !important;
        transition: all 0.3s ease !important;
        display: block !important;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px) !important;
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0 !important;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px) !important;
    }
    
    /* Mobile menu */
    .nav-menu {
        position: fixed !important;
        top: 80px !important;
        right: -100% !important;
        width: 75% !important;
        max-width: 280px !important;
        height: auto !important;
        max-height: calc(100vh - 80px) !important;
        background: linear-gradient(145deg, #1a1a2e, #0f0f1e) !important;
        border-left: 2px solid #00f0ff !important;
        flex-direction: column !important;
        padding: 1rem 0 !important;
        gap: 0 !important;
        transition: right 0.3s ease !important;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.7) !important;
        z-index: 999 !important;
        overflow-y: auto !important;
    }
    
    .nav-menu.active {
        right: 0 !important;
    }
    
    .nav-menu li {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .nav-menu a {
        display: block !important;
        padding: 0.9rem 1.5rem !important;
        color: #fff !important;
        text-decoration: none !important;
        font-size: 1rem !important;
        font-weight: 500 !important;
        border-bottom: 1px solid rgba(0, 240, 255, 0.1) !important;
    }
    
    .nav-menu a:hover,
    .nav-menu a.active {
        background: rgba(0, 240, 255, 0.1) !important;
        color: #00f0ff !important;
        padding-left: 2rem !important;
    }
    
    .nav-menu a.active::after {
        display: none !important;
    }
    
    .nav-menu li:last-child a {
        border-bottom: none !important;
    }
    
    #loginBtn {
        display: none !important;
    }
    
    .user-menu {
        display: block !important;
    }
    
    .logo-img {
        width: 100px !important;
        height: 50px !important;
    }
}

/* Desktop - hide hamburger */
@media (min-width: 769px) {
    .hamburger {
        display: none !important;
    }
    
    .nav-menu {
        display: flex !important;
        flex-direction: row !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        transform: none !important;
        padding: 0 !important;
        gap: 2rem !important;
    }
    
    .nav-menu a {
        display: inline-block !important;
        padding: 0.5rem 0 !important;
        border-bottom: none !important;
    }
    
    #loginBtn {
        display: block !important;
    }
}

/* Menu overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

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

/* ============================================
   UNIVERSAL FOOTER FIX - ADD TO ALL PAGES
   ============================================ */

.footer {
    background: #0a0a0a;
    padding: 60px 0 20px;
    border-top: 2px solid #00f0ff;
    margin-top: auto;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col img {
    max-width: 150px;
    height: auto;
    margin-bottom: 1rem;
}

.footer-col h4 {
    color: #00f0ff;
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-col p {
    color: #b0b0b0;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 0.7rem;
}

.footer-col ul li a {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: #00f0ff;
    transform: translateX(5px);
}

.footer-col ul li a i {
    color: #00f0ff;
    font-size: 0.8rem;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: #b0b0b0;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-info li i {
    color: #00f0ff;
    width: 20px;
    margin-top: 0.3rem;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.2rem;
    flex-wrap: wrap;
}

.social-links a {
    width: 42px;
    height: 42px;
    background: #2d2d2d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    border: 1px solid rgba(0, 240, 255, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: #00f0ff;
    color: #0a0a0a;
    transform: translateY(-3px);
    border-color: #00f0ff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2d2d2d;
    color: #b0b0b0;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

/* Footer Mobile Responsive */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-col img {
        margin: 0 auto 1rem;
    }
    
    .footer-col ul li a {
        justify-content: center;
    }
    
    .contact-info li {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-grid {
        gap: 1.5rem;
    }
    
    .footer-col h4 {
        font-size: 1.1rem;
    }
    
    .social-links a {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
}