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 | Teertham",
  description:
    "Learn about Teertham'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 | Teertham",
    description:
      "Learn about Teertham'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 | Teertham",
    description:
      "Learn about Teertham'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: "Rajesh Kumar",
      role: "Founder & CEO",
      image: "/placeholder.svg?height=400&width=400",
      bio: "15+ years in travel industry, passionate about making spiritual tourism accessible",
    },
    {
      name: "Priya Sharma",
      role: "Chief Operations Officer",
      image: "/placeholder.svg?height=400&width=400",
      bio: "Expert in operations management with a focus on customer satisfaction",
    },
    {
      name: "Amit Verma",
      role: "Head of Technology",
      image: "/placeholder.svg?height=400&width=400",
      bio: "Tech visionary building scalable solutions for seamless travel experiences",
    },
    {
      name: "Sneha Patel",
      role: "Head of Customer Success",
      image: "/placeholder.svg?height=400&width=400",
      bio: "Dedicated to ensuring every traveler has a memorable journey with us",
    },
  ]

  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="/placeholder.svg?height=800&width=1920"
          alt="Teertham 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">
            Teertham is more than a travel platform—we're your trusted companion in discovering India'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-secondary via-secondary/80 to-secondary/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-secondary/10 flex items-center justify-center">
                    <Eye className="h-7 w-7 text-secondary" />
                  </div>
                  <h2 className="text-3xl font-bold">Our Vision</h2>
                </div>
                <p className="text-foreground/80 text-lg leading-relaxed">
                  To become India'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 Teertham</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-4 gap-8">
            {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.svg"}
                    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-primary 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-primary/5 via-primary/10 to-primary/5">
        <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 Teertham. Your perfect
            journey awaits.
          </p>
          <div className="flex flex-wrap gap-4 justify-center">
            <Link href="/vehicle-booking">
              <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-transparent">
                Contact Us
              </Button>
            </Link>
          </div>
        </div>
      </section>
    </main>
  )
}
