/* Header Styles */
.site-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar {
    padding: 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: #1e293b;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-menu a:hover {
    color: #8b5cf6;
}

.mobile-nav-extras {
    display: none;
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.arrow {
    font-size: 0.7rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border-radius: 12px;
    padding: 0.75rem 0;
    list-style: none;
    min-width: 200px;
    display: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    padding: 0.75rem 1.5rem;
    display: block;
    color: #1e293b;
}

.dropdown-menu a:hover {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.language-switcher {
    display: flex;
    gap: 0.5rem;
    background: #f1f5f9;
    padding: 0.35rem;
    border-radius: 8px;
}

.lang-btn {
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    text-decoration: none;
    color: #64748b;
    font-weight: 600;
    font-size: 0.85rem;
}

.lang-btn:hover {
    color: #1e293b;
}

.lang-btn.active {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: #fff;
}

.btn-signin {
    padding: 0.65rem 1.75rem;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-signin:hover {
    background: linear-gradient(135deg, #7c4ee6, #5558e1);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #1e293b;
    border-radius: 3px;
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 2rem;
        gap: 0;
        display: none;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: #f8fafc;
        margin-top: 0.5rem;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .nav-right {
        display: none;
    }

    .nav-menu.active::after {
        content: '';
        display: block;
        width: 100%;
        padding: 1.5rem 0;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .mobile-nav-extras {
        display: flex !important;
        flex-direction: column;
        gap: 1rem;
        padding-top: 1rem;
        width: 100%;
    }

    .mobile-nav-extras .language-switcher {
        background: #f1f5f9;
        padding: 0.35rem;
        border-radius: 8px;
        display: flex;
        gap: 0.5rem;
        justify-content: center;
    }

    .mobile-nav-extras .btn-signin {
        padding: 0.75rem 1.5rem;
        background: linear-gradient(135deg, #8b5cf6, #6366f1);
        color: white;
        text-decoration: none;
        border-radius: 10px;
        font-weight: 600;
        font-size: 0.95rem;
        box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
        text-align: center;
        display: block;
    }
}

