import { Container } from "@/components/container";
import { Heading } from "@/components/heading";
import { Subheading } from "@/components/subheading";
import { Card, CardHeader, CardTitle, CardDescription } from "@/components/ui/card";
import { Dumbbell, Timer, Target, Users } from "lucide-react";

const features = [
  {
    title: "Personal Training",
    description: "One-on-one sessions designed specifically for your fitness level and goals.",
    icon: <Dumbbell className="w-10 h-10 text-cyan-500" />,
  },
  {
    title: "Performance Coaching",
    description: "Specialized training for athletes looking to take their game to the next level.",
    icon: <Target className="w-10 h-10 text-pink-500" />,
  },
  {
    title: "Group Sessions",
    description: "High-energy group workouts that keep you motivated and accountable.",
    icon: <Users className="w-10 h-10 text-cyan-500" />,
  },
  {
    title: "Flexible Scheduling",
    description: "We work around your busy Miami lifestyle. Morning, noon, or night.",
    icon: <Timer className="w-10 h-10 text-pink-500" />,
  },
];

export function Features() {
  return (
    <section className="py-24 bg-neutral-50 relative overflow-hidden">
      <div className="absolute top-0 right-0 w-64 h-64 bg-cyan-100/50 rounded-full blur-3xl -z-10" />
      <Container>
        <div className="text-center mb-20">
          <Heading className="text-4xl md:text-6xl font-black mb-6">ELITE SERVICES</Heading>
          <Subheading className="text-xl text-neutral-500 max-w-2xl mx-auto">
            Tailored programs designed for the Miami lifestyle. High performance, zero excuses.
          </Subheading>
        </div>
        <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8">
          {features.map((feature, index) => (
            <Card key={index} className="border-none shadow-xl hover:shadow-2xl transition-all duration-300 hover:-translate-y-2 bg-white rounded-[2rem] p-4">
              <CardHeader>
                <div className="mb-6 p-4 bg-neutral-50 w-fit rounded-2xl">{feature.icon}</div>
                <CardTitle className="text-2xl font-bold mb-3">{feature.title}</CardTitle>
                <CardDescription className="text-neutral-600 text-base leading-relaxed">
                  {feature.description}
                </CardDescription>
              </CardHeader>
            </Card>
          ))}
        </div>
      </Container>
    </section>
  );
}
