import type { Metadata } from "next";
import Link from "next/link";
import Image from "next/image";
import { ArrowLeft, Users, Target, Eye, Award } from "lucide-react";
import { Button } from "@/components/ui/button";
import { Card, CardContent } from "@/components/ui/card";
import { Badge } from "@/components/ui/badge";

// export const metadata: Metadata = {
//   title: "About Us | Ameera Holidays",
//   description:
//     "Learn about Ameera Holidays's mission to transform travel experiences across India. Meet our team, discover our values, and see why thousands trust us for their spiritual and adventure journeys.",
//   openGraph: {
//     title: "About Us | Ameera Holidays",
//     description:
//       "Learn about Ameera Holidays's mission to transform travel experiences across India. Meet our team, discover our values, and see why thousands trust us for their spiritual and adventure journeys.",
//     type: "website",
//   },
//   twitter: {
//     card: "summary_large_image",
//     title: "About Us | Ameera Holidays",
//     description:
//       "Learn about Ameera Holidays's mission to transform travel experiences across India. Meet our team, discover our values, and see why thousands trust us for their spiritual and adventure journeys.",
//   },
// };

export default function AboutUsPage() {
  const stats = [
    { value: "50,000+", label: "Happy Travelers" },
    { value: "100+", label: "Destinations" },
    { value: "500+", label: "Partner Hotels" },
    { value: "98%", label: "Satisfaction Rate" },
  ];

  const values = [
    {
      icon: Target,
      title: "Customer First",
      description:
        "Every decision we make is centered around delivering exceptional value and experiences to our customers.",
    },
    {
      icon: Award,
      title: "Quality Assured",
      description:
        "We maintain the highest standards by partnering only with verified and trusted service providers across India.",
    },
    {
      icon: Users,
      title: "Transparent & Honest",
      description:
        "No hidden charges, no surprises. We believe in building trust through complete transparency in all our dealings.",
    },
    {
      icon: Eye,
      title: "Innovation Driven",
      description:
        "We continuously evolve our platform with cutting-edge technology to make travel booking seamless and efficient.",
    },
  ];

  const team = [
    {
      name: "Nisha Sharma",
      role: "CEO & Founder",
      image: "/team-1.jpeg?height=400&width=400",
      bio: "A visionary leader driving the company with innovation and passion. She focuses on delivering exceptional travel experiences with a strong commitment to quality and growth.",
    },
    {
      name: "Rahul Singh",
      role: "Director – Operations",
      image: "/team-3.jpeg?height=400&width=400",
      bio: "Oversees daily operations ensuring smooth execution of all travel services. He specializes in planning, coordination, and delivering seamless customer experiences.",
    },
    {
      name: "Takshi Sharma",
      role: "Administration Head",
      image: "/team-4.jpeg?height=400&width=400",
      bio: "Manages administrative functions with efficiency and precision. She ensures smooth internal operations and maintains high organizational standards",
    },
    {
      name: "B.Nagadivya",
      role: "Sales Executive b2b",
      image: "/team-5.jpeg?height=400&width=400",
      bio: "Handles business partnerships and corporate client relations with expertise. She is dedicated to expanding networks and driving consistent business growth.",
    },
    {
      name: "Aarti Deshmukh",
      role: "Manager CRM",
      image: "/team-2.jpeg?height=400&width=400",
      bio: "Focuses on customer relationship management and client satisfaction. She ensures personalized service and long-term customer engagement.",
    },
  ];

  return (
    <main className="min-h-screen bg-gradient-to-br from-background via-background to-muted/20">
      {/* Hero Section */}
      <section className="relative h-[60vh] min-h-[500px] flex items-center justify-center overflow-hidden">
        <Image
          src="/bg-banner.jpg?height=800&width=1920"
          alt="Ameera Holidays Journey"
          fill
          className="object-cover"
          priority
        />
        <div className="absolute inset-0 bg-gradient-to-r from-black/70 via-black/50 to-transparent" />
        <div className="absolute inset-0 bg-gradient-to-t from-black/60 via-transparent to-transparent" />

        <div className="relative z-10 mx-auto max-w-7xl px-4 md:px-6 lg:px-8 text-white">
          <Link href="/">
            <Button
              variant="ghost"
              size="sm"
              className="mb-8 text-white hover:bg-white/20 border-white/30"
            >
              <ArrowLeft className="mr-2 h-4 w-4" />
              Back to Home
            </Button>
          </Link>
          <Badge className="mb-6 bg-white/20 text-white border-white/30 backdrop-blur-sm">
            Our Story
          </Badge>
          <h1 className="text-4xl md:text-6xl lg:text-7xl font-bold mb-6 text-balance max-w-3xl">
            Connecting You with Divine India
          </h1>
          <p className="text-lg md:text-xl text-white/90 max-w-2xl leading-relaxed">
            Ameera Holidays is more than a travel platform—we&apos;re your
            trusted companion in discovering India&apos;s spiritual heritage and
            natural wonders.
          </p>
        </div>
      </section>

      {/* Stats Section */}
      <section className="py-12 bg-gradient-to-b from-background to-muted/30">
        <div className="mx-auto max-w-7xl px-4 md:px-6 lg:px-8">
          <div className="grid grid-cols-2 md:grid-cols-4 gap-6">
            {stats.map((stat, index) => (
              <Card
                key={index}
                className="border-0 shadow-xl hover:shadow-2xl transition-all duration-300"
              >
                <CardContent className="p-8 text-center">
                  <div className="text-4xl md:text-5xl font-bold frontend-text-gradient mb-2">
                    {stat.value}
                  </div>
                  <div className="text-muted-foreground font-medium">
                    {stat.label}
                  </div>
                </CardContent>
              </Card>
            ))}
          </div>
        </div>
      </section>

      {/* Mission & Vision Section */}
      <section className="py-16 md:py-24 bg-gradient-to-b from-muted/30 to-background">
        <div className="mx-auto max-w-7xl px-4 md:px-6 lg:px-8">
          <div className="grid md:grid-cols-2 gap-12">
            {/* Mission */}
            <Card className="border-0 shadow-xl rounded-2xl overflow-hidden">
              <div className="h-3 bg-gradient-to-r from-primary via-primary/80 to-primary/60" />
              <CardContent className="p-8 md:p-10">
                <div className="flex items-center gap-4 mb-6">
                  <div className="h-14 w-14 rounded-xl bg-primary/10 flex items-center justify-center">
                    <Target className="h-7 w-7 text-primary" />
                  </div>
                  <h2 className="text-3xl font-bold">Our Mission</h2>
                </div>
                <p className="text-foreground/80 text-lg leading-relaxed">
                  To make spiritual and cultural tourism in India accessible,
                  affordable, and hassle-free for everyone. We strive to connect
                  travelers with authentic experiences while ensuring safety,
                  comfort, and peace of mind throughout their journey.
                </p>
              </CardContent>
            </Card>

            {/* Vision */}
            <Card className="border-0 shadow-xl rounded-2xl overflow-hidden">
              <div className="h-3 bg-gradient-to-r from-primary via-primary/80 to-primary/60" />
              <CardContent className="p-8 md:p-10">
                <div className="flex items-center gap-4 mb-6">
                  <div className="h-14 w-14 rounded-xl bg-primary/10 flex items-center justify-center">
                    <Eye className="h-7 w-7 text-primary" />
                  </div>
                  <h2 className="text-3xl font-bold">Our Vision</h2>
                </div>
                <p className="text-foreground/80 text-lg leading-relaxed">
                  To become India&apos;s most trusted and comprehensive travel
                  platform, where every traveler finds their perfect
                  journey—from sacred pilgrimages to thrilling adventures—all
                  through a seamless digital experience backed by exceptional
                  service.
                </p>
              </CardContent>
            </Card>
          </div>
        </div>
      </section>

      {/* Values Section */}
      <section className="py-16 md:py-24 bg-gradient-to-b from-background to-muted/30">
        <div className="mx-auto max-w-7xl px-4 md:px-6 lg:px-8">
          <div className="text-center mb-12">
            <Badge variant="outline" className="mb-4">
              Core Values
            </Badge>
            <h2 className="text-3xl md:text-4xl font-bold mb-4">
              What Drives Us
            </h2>
            <p className="text-muted-foreground text-lg max-w-2xl mx-auto">
              Our values guide every decision we make and every service we
              provide
            </p>
          </div>

          <div className="grid md:grid-cols-2 lg:grid-cols-4 gap-6">
            {values.map((value, index) => {
              const Icon = value.icon;
              return (
                <Card
                  key={index}
                  className="border-0 shadow-lg hover:shadow-2xl transition-all duration-300 rounded-2xl group"
                >
                  <CardContent className="p-6 text-center">
                    <div className="h-16 w-16 rounded-xl bg-gradient-to-br from-primary/20 to-primary/10 flex items-center justify-center mx-auto mb-4 group-hover:scale-110 transition-transform">
                      <Icon className="h-8 w-8 text-primary" />
                    </div>
                    <h3 className="font-bold text-xl mb-3">{value.title}</h3>
                    <p className="text-foreground/70 leading-relaxed">
                      {value.description}
                    </p>
                  </CardContent>
                </Card>
              );
            })}
          </div>
        </div>
      </section>

      {/* Team Section */}
      <section className="py-16 md:py-24 bg-gradient-to-b from-muted/30 to-background">
        <div className="mx-auto max-w-7xl px-4 md:px-6 lg:px-8">
          <div className="text-center mb-12">
            <Badge variant="outline" className="mb-4">
              Leadership Team
            </Badge>
            <h2 className="text-3xl md:text-4xl font-bold mb-4">
              Meet the People Behind Ameera Holidays
            </h2>
            <p className="text-muted-foreground text-lg max-w-2xl mx-auto">
              A passionate team dedicated to transforming your travel experience
            </p>
          </div>

          <div className="grid md:grid-cols-2 lg:grid-cols-5 gap-5">
            {team.map((member, index) => (
              <Card
                key={index}
                className="border-0 shadow-xl hover:shadow-2xl transition-all duration-300 rounded-2xl overflow-hidden group"
              >
                <div className="relative aspect-square overflow-hidden">
                  <Image
                    src={member.image || "/placeholder.png"}
                    alt={member.name}
                    fill
                    className="object-cover group-hover:scale-110 transition-transform duration-500"
                  />
                  <div className="absolute inset-0 bg-gradient-to-t from-black/80 via-black/20 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300" />
                </div>
                <CardContent className="p-6">
                  <h3 className="font-bold text-xl mb-1">{member.name}</h3>
                  <p className="text-secondary-foreground font-medium mb-3">
                    {member.role}
                  </p>
                  <p className="text-foreground/70 text-sm leading-relaxed">
                    {member.bio}
                  </p>
                </CardContent>
              </Card>
            ))}
          </div>
        </div>
      </section>

      {/* CTA Section */}
      <section className="py-16 md:py-24 bg-gradient-to-br from-secondary-foreground/2 via-secondary-foreground/5 to-secondary-foreground/10">
        <div className="mx-auto max-w-4xl px-4 md:px-6 lg:px-8 text-center">
          <h2 className="text-3xl md:text-4xl font-bold mb-6">
            Ready to Start Your Journey?
          </h2>
          <p className="text-lg text-foreground/80 mb-8 max-w-2xl mx-auto">
            Join thousands of satisfied travelers who have discovered the beauty
            of India with ameera holidays. Your perfect journey awaits.
          </p>
          <div className="flex flex-wrap gap-4 justify-center">
            <Link href="/fixed-packages">
              <Button
                size="lg"
                className="frontend-btn shadow-lg hover:shadow-xl transition-all text-base px-8"
              >
                Book Your Trip
              </Button>
            </Link>
            <Link href="/contact-us">
              <Button
                size="lg"
                variant="outline"
                className="text-base px-8 bg-secondary-foreground/10"
              >
                Contact Us
              </Button>
            </Link>
          </div>
        </div>
      </section>
    </main>
  );
}
