body {
    
}
/* Navigation */
.navbar {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98) 0%, rgba(15, 15, 15, 0.98) 100%);
    backdrop-filter: blur(10px);
    padding: 1.25rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 107, 0, 0.2);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.navbar.scrolled {
    padding: 0.75rem 2rem;
    background: rgba(15, 15, 15, 0.98);
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
    border-bottom: 1px solid rgba(255, 107, 0, 0.3);
}

.nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    padding: 0 2rem;
}

.nav-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.nav-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.5px;
}

.nav-brand:hover {
    transform: scale(1.05);
}

.nav-brand i {
    font-size: 1.75rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    justify-content: center;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

/* Language Dropdown */
.locale-dropdown {
    position: relative;
}

.locale-dropdown-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
    min-width: 100px;
    justify-content: space-between;
}

.locale-dropdown-btn:hover {
    border-color: var(--primary-color);
    background: rgba(255, 107, 0, 0.1);
}

.locale-dropdown-btn.active {
    border-color: var(--primary-color);
    background: rgba(255, 107, 0, 0.15);
}

.locale-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    min-width: 150px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    overflow: hidden;
}

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

.locale-dropdown-item {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s;
    border-bottom: 1px solid var(--border-color);
}

.locale-dropdown-item:last-child {
    border-bottom: none;
}

.locale-dropdown-item:hover {
    background: rgba(255, 107, 0, 0.1);
    color: var(--primary-color);
    padding-left: 1.5rem;
}

.locale-dropdown-item.active {
    background: rgba(255, 107, 0, 0.15);
    color: var(--primary-color);
    font-weight: 600;
}

/* Search Bar */
.search-container {
    position: relative;
    max-width: 350px;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 0.7rem 1rem 0.7rem 2.75rem;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    color: var(--text-color);
    font-size: 0.9rem;
    transition: all 0.3s;
}

.search-input::placeholder {
    color: var(--text-secondary);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
    background-color: rgba(37, 37, 37, 0.8);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-top: 0.5rem;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.search-results::-webkit-scrollbar {
    width: 8px;
}

.search-results::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

.search-results::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 1rem;
    }

    .nav-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }

    .nav-left,
    .nav-center,
    .nav-right {
        justify-content: center;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        width: 100%;
    }

    .search-container {
        width: 100%;
        max-width: 100%;
    }

    .locale-dropdown {
        width: 100%;
    }

    .locale-dropdown-btn {
        width: 100%;
    }

    .locale-dropdown-menu {
        right: auto;
        left: 0;
        width: 100%;
    }
}