import Link from "next/link"
import Image from "next/image"
import { EventBanner } from "./event-banner"

export function Header() {
  return (
    <header className="fixed top-0 left-0 right-0 z-50">
      <EventBanner />
      <div className="bg-background/80 backdrop-blur-sm border-b border-border">
        <div className="container mx-auto px-6 py-5">
          <div className="flex items-center justify-between">
            <Link href="/" className="flex items-center gap-4">
              <Image
                src="/images/cca-logo.png"
                alt="Crypto Commons Association"
                width={72}
                height={72}
                className="h-16 w-auto"
              />
              <div className="text-2xl font-mono font-bold tracking-tight">CCA</div>
            </Link>

            <nav className="hidden md:flex items-center gap-8">
              <Link href="/#about" className="text-sm text-muted-foreground hover:text-foreground transition-colors">
                About
              </Link>
              <Link href="/research" className="text-sm text-muted-foreground hover:text-foreground transition-colors">
                Research
              </Link>
              <Link href="/events" className="text-sm text-muted-foreground hover:text-foreground transition-colors">
                Events
              </Link>
              <Link href="/sponsors" className="text-sm text-muted-foreground hover:text-foreground transition-colors">
                Sponsors
              </Link>
              <Link href="/membership" className="text-sm text-muted-foreground hover:text-foreground transition-colors">
                Membership
              </Link>
              <Link href="/#contact" className="text-sm text-muted-foreground hover:text-foreground transition-colors">
                Contact
              </Link>
            </nav>
          </div>
        </div>
      </div>
    </header>
  )
}
