import { Link } from "react-router-dom";
import { Button } from "@/components/ui/button";
import acmNavIcon from "@/assets/acm-nav-icon.png";

export function LandingNav() {
  return (
    <header className="sticky top-0 z-50 border-b bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60">
      <div className="flex h-16 items-center justify-between w-full px-6">
        <Link to="/" className="flex items-center gap-2">
          <div className="flex items-center gap-1.5">
            <div className="flex h-9 w-9 items-center justify-center rounded-sm bg-foreground overflow-hidden">
              <img src={acmNavIcon} alt="ACM" className="h-6 w-6 object-contain" />
            </div>
            <div className="flex flex-col leading-none">
              
              <span className="text-[9px] font-medium uppercase tracking-[0.15em] text-muted-foreground">
                Avria Community Management
              </span>
            </div>
          </div>
        </Link>
        <nav className="flex items-center gap-3">
          <Button variant="ghost" size="sm" asChild>
            <a href="mailto:cam@avriacam.com">Support</a>
          </Button>
          <Button size="sm" asChild>
            <Link to="/auth">Sign In</Link>
          </Button>
        </nav>
      </div>
    </header>
  );
}
