/* Navbar Styles */
.navbar {
    background: #1a1a1a;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 60px;
}

.nav-brand {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #ff0050;
    text-decoration: none;
}

.nav-brand i {
    margin-right: 10px;
    font-size: 28px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-links a.active {
    background-color: #ff0050;
    color: white;
}

/* Dropdown styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.dropdown-toggle i {
    font-size: 20px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: none;
    min-width: 200px;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    color: #333;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
}

.dropdown-menu a:hover {
    background-color: #f5f5f5;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-divider {
    height: 1px;
    background-color: #eee;
    margin: 0;
}

/* Hamburger menu button */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 0 15px;
        height: 60px;
        flex-wrap: nowrap;
    }
    
    .nav-brand {
        font-size: 20px;
        flex: 1;
    }
    
    .hamburger {
        display: flex;
        order: 3;
    }
    
    .nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #1a1a1a;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }
    
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .nav-links a {
        width: 100%;
        text-align: left;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0;
    }
    
    .nav-links a:hover {
        background-color: rgba(255, 255, 255, 0.05);
    }
    
    .nav-links a.active {
        background-color: #ff0050;
    }
    
    .dropdown {
        width: 100%;
        position: static;
    }
    
    .dropdown-toggle {
        width: 100%;
        padding: 15px 20px;
        justify-content: flex-start;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .dropdown:hover .dropdown-menu {
        display: none;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        width: 100%;
        display: none;
        background: rgba(0, 0, 0, 0.3);
        min-width: auto;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu a {
        color: #fff;
        padding: 12px 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background: transparent;
    }
    
    .dropdown-menu a:hover {
        background-color: rgba(255, 255, 255, 0.05);
    }
}