/* navbar.css – Dark Mode */

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: #0d0d0d;
    border-bottom: 1px solid #222;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 2px solid #F0B90B;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #F0B90B;
    text-shadow: 0 0 8px rgba(240, 185, 11, 0.4);
}

/* Desktop Navigation */
.nav-desktop ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-desktop a {
    color: #ddd;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-desktop a:hover {
    color: #F0B90B;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #F0B90B;
    border-radius: 3px;
    transition: all 0.3s;
    box-shadow: 0 0 6px rgba(240, 185, 11, 0.5);
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0; 
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(10px);
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-overlay.active {
    transform: translateX(0);
}

.mobile-nav ul {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    margin: 1.5rem 0;
}

.mobile-nav a {
    color: #eee;
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.3s;
}

.mobile-nav a:hover {
    color: #F0B90B;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    .hamburger {
        display: flex;
    }
}
