"use client";

import { Search } from "lucide-react";
import Reveal from "@/components/immersive/Reveal";

export default function SearchFilters() {
  return (
    <section className="px-6 pb-4 pt-10 lg:px-12">
      <div className="mx-auto w-full max-w-[88rem]">
        <Reveal className="immersive-card grid gap-6 p-6 md:grid-cols-4 lg:p-7">
          <div className="relative">
            <Search
              className="pointer-events-none absolute left-0 top-1/2 size-4 -translate-y-1/2 text-[hsl(var(--muted-foreground))]"
              aria-hidden
            />
            <input
              type="text"
              placeholder="Search jobs…"
              className="w-full border-b border-white/10 bg-transparent py-2 pl-6 text-sm text-[hsl(var(--foreground))] outline-none transition-colors placeholder:text-[hsl(var(--muted-foreground))]/60 focus:border-[hsl(var(--primary))]"
            />
          </div>

          <select className="w-full cursor-pointer border-b border-white/10 bg-transparent py-2 text-sm text-[hsl(var(--foreground))] outline-none [&>option]:bg-[hsl(var(--card))] [&>option]:text-[hsl(var(--foreground))]">
            <option>Department</option>
            <option>Engineering</option>
            <option>Design</option>
            <option>Marketing</option>
            <option>Product</option>
          </select>

          <select className="w-full cursor-pointer border-b border-white/10 bg-transparent py-2 text-sm text-[hsl(var(--foreground))] outline-none [&>option]:bg-[hsl(var(--card))] [&>option]:text-[hsl(var(--foreground))]">
            <option>Location</option>
            <option>Dubai</option>
            <option>Riyadh</option>
            <option>Remote</option>
          </select>

          <select className="w-full cursor-pointer border-b border-white/10 bg-transparent py-2 text-sm text-[hsl(var(--foreground))] outline-none [&>option]:bg-[hsl(var(--card))] [&>option]:text-[hsl(var(--foreground))]">
            <option>Job type</option>
            <option>Full-time</option>
            <option>Part-time</option>
            <option>Remote</option>
          </select>
        </Reveal>
      </div>
    </section>
  );
}
