/* Navbar Styles */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: #0B0B0F;
    border-bottom: 1px solid rgba(246, 196, 83, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border-bottom-color: rgba(246, 196, 83, 0.4);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* Logo */
.navbar-logo {
    font-size: 1.8rem;
    font-weight: 900;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

.logo-text {
    color: #fff;
}

.logo-highlight {
    color: #F6C453;
    text-shadow: 0 0 20px rgba(246, 196, 83, 0.5);
}

.navbar-logo:hover {
    transform: translateY(-2px);
}

/* Mobile Toggle */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background: #F6C453;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.navbar-toggle:hover .hamburger-line {
    background: #FFD77A;
    box-shadow: 0 0 10px rgba(246, 196, 83, 0.5);
}

.navbar-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.navbar-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation Menu */
.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-item {
    position: relative;
}

.navbar-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.navbar-link:hover {
    color: #F6C453;
    background: rgba(246, 196, 83, 0.1);
    text-shadow: 0 0 10px rgba(246, 196, 83, 0.3);
}

.dropdown-icon {
    transition: transform 0.3s ease;
}

.has-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: #12131A;
    border: 1px solid rgba(246, 196, 83, 0.3);
    border-radius: 12px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-link {
    display: block;
    padding: 0.8rem 1.5rem;
    color: #ddd;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.dropdown-link:hover {
    color: #F6C453;
    background: rgba(246, 196, 83, 0.1);
    padding-left: 2rem;
    text-shadow: 0 0 10px rgba(246, 196, 83, 0.3);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .navbar-toggle {
        display: flex;
    }

    .navbar-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: #0B0B0F;
        border-top: 1px solid rgba(246, 196, 83, 0.2);
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .navbar-menu.active {
        max-height: 100vh;
        overflow-y: auto;
    }

    .navbar-item {
        width: 100%;
        border-bottom: 1px solid rgba(246, 196, 83, 0.1);
    }

    .navbar-link {
        width: 100%;
        padding: 1rem 2rem;
        border-radius: 0;
    }

    .has-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        border-radius: 0;
        margin: 0;
        padding: 0;
        background: rgba(18, 19, 26, 0.5);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .has-dropdown.active .dropdown-menu {
        max-height: 500px;
    }

    .dropdown-link {
        padding: 0.8rem 3rem;
        font-size: 0.9rem;
    }

    .dropdown-link:hover {
        padding-left: 3.5rem;
    }
}

/* Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .navbar-menu {
        gap: 1.5rem;
    }

    .navbar-link {
        font-size: 0.95rem;
        padding: 0.7rem 0.8rem;
    }
}
