/* Header Container */

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 80px;
    background-color: #000;
    border-bottom: 1px solid #1a1a1a;
    gap: 100px;
    flex-direction: row;
    position: relative;
}

header .container {
    max-width: 1400px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    flex-direction: row;
    position: relative;
}

/* Logo Styling */

.logo img {
    height: 67px;
    filter: brightness(0) invert(1);
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Navigation Links */

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
    transition: all 0.3s ease;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
    white-space: nowrap;
}

/* Lime Green Accent */

.nav-links a.active,
.nav-links a:hover,
.social-icons a:hover {
    color: #b3ff00;
}

.nav-links i {
    font-size: 10px;
}

/* Social Icons */

.social-icons {
    display: flex;
    gap: 20px;
    align-items: center;
    transition: all 0.3s ease;
}

.social-icons a {
    color: #b3ff00;
    font-size: 18px;
    transition: transform 0.2s;
}

.social-icons a:hover {
    transform: scale(1.1);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #b3ff00;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .navbar {
        padding: 15px 40px;
        gap: 50px;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .nav-links a {
        font-size: 14px;
    }
    
    .social-icons {
        gap: 15px;
    }
    
    .social-icons a {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
        gap: 0;
    }
    
    header .container {
        gap: 15px;
    }
    
    .logo img {
        height: 50px;
    }
    
    /* Hide desktop navigation */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: #000;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        gap: 25px;
        z-index: 1000;
        border-left: 1px solid #1a1a1a;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        transition: right 0.3s ease;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 18px;
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid #1a1a1a;
    }
    
    .nav-links .dropdown {
        width: 100%;
    }
    
    .nav-links .dropdown a {
        border-bottom: none;
    }
    
    /* Hide social icons on mobile (or show in menu) */
    .social-icons {
        position: fixed;
        bottom: 30px;
        right: -100%;
        flex-direction: row;
        justify-content: center;
        width: 280px;
        padding: 0 30px;
        z-index: 1000;
        transition: right 0.3s ease;
    }
    
    .social-icons.active {
        right: 0;
    }
    
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
    
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 12px 15px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .nav-links {
        width: 100%;
        right: -100%;
    }
    
    .social-icons {
        width: 100%;
        right: -100%;
    }
}