/* Unified header styles (matches properties/browse.html look) */
:root {
    --primary: #2563eb;
    --secondary: #0f172a;
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --transition: all 0.2s ease;
    --radius: 14px;
}

header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: var(--transition);
}

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

.logo-img {
    width: 28px;
    height: 28px;
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 0;
    position: relative;
    font-size: 15px;
}

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

nav a.active {
    color: var(--primary);
    font-weight: 600;
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.nav-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nav-buttons .btn {
    padding: 8px 18px;
    border-radius: 10px;
    font-weight: 600;
}

@media (max-width: 992px) {
    .header-content {
        flex-wrap: wrap;
    }

    nav {
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo {
        width: 100%;
    }

    nav {
        order: 2;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 6px;
        flex-wrap: nowrap;
    }

    nav::-webkit-scrollbar {
        display: none;
    }

    nav a {
        white-space: nowrap;
    }

    .nav-buttons {
        order: 3;
        width: 100%;
        justify-content: flex-start;
    }
}
