"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered";
import HeroBillboard from "@/components/sections/hero/HeroBillboard";
import FeatureCardTwentyThree from "@/components/sections/feature/FeatureCardTwentyThree";
import AboutMetric from "@/components/sections/about/AboutMetric";
import FooterSimple from "@/components/sections/footer/FooterSimple";
import { Zap, Users, MapPin, Shield } from "lucide-react";

export default function ServicesPage() {
  const navItems = [
    { name: "Home", id: "hero" },
    { name: "Services", id: "services" },
    { name: "Smart Map", id: "map" },
    { name: "Marketplace", id: "marketplace" },
    { name: "Safety", id: "safety" },
  ];

  const footerColumns = [
    {
      title: "Platform",
      items: [
        { label: "Home", href: "/" },
        { label: "Services", href: "/services" },
        { label: "Smart Map", href: "/services" },
        { label: "Marketplace", href: "/marketplace" },
      ],
    },
    {
      title: "Resources",
      items: [
        { label: "Travel Guide", href: "#" },
        { label: "Safety Tips", href: "/safety" },
        { label: "FAQ", href: "#faq" },
        { label: "Blog", href: "#" },
      ],
    },
    {
      title: "Company",
      items: [
        { label: "About Us", href: "/about" },
        { label: "Contact", href: "/contact" },
        { label: "Careers", href: "#" },
        { label: "Press", href: "#" },
      ],
    },
    {
      title: "Legal",
      items: [
        { label: "Privacy Policy", href: "#" },
        { label: "Terms of Service", href: "#" },
        { label: "Cookie Policy", href: "#" },
        { label: "Disclaimer", href: "#" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="text-shift"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="small"
      sizing="mediumLargeSizeMediumTitles"
      background="blurBottom"
      cardStyle="gradient-radial"
      primaryButtonStyle="flat"
      secondaryButtonStyle="glass"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          navItems={navItems}
          button={{ text: "Start Journey", href: "/" }}
          brandName="UzGoTravel"
        />
      </div>

      <div id="services-hero" data-section="services-hero">
        <HeroBillboard
          title="Our Services"
          description="Comprehensive travel solutions designed to make your Uzbekistan journey seamless, safe, and unforgettable. From intelligent planning to secure payments to emergency support."
          background={{ variant: "sparkles-gradient" }}
          tag="Complete Solutions"
          tagAnimation="slide-up"
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ARXL5SBhiCxDGDfEC0NjNgEEsI/booking-system-interface-showing-flight-1772556385407-d9dbf69a.png"
          imageAlt="Unified booking interface"
          mediaAnimation="opacity"
          buttons={[
            { text: "Explore All Features", href: "/" },
            { text: "Get Started Now", href: "/" },
          ]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="service-features" data-section="service-features">
        <FeatureCardTwentyThree
          title="Smart Travel Solutions"
          description="Discover our comprehensive suite of AI-powered services engineered for modern travelers"
          tag="Innovation"
          tagIcon={Zap}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="blur-reveal"
          features={[
            {
              id: "1",
              title: "Personalized AI Travel Assistant",
              tags: ["24/7 Available", "Multi-language"],
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ARXL5SBhiCxDGDfEC0NjNgEEsI/a-friendly-modern-uzbek-boy-character-we-1772556385698-e0249ac4.png?_wi=2",
              imageAlt: "AI assistant character",
            },
            {
              id: "2",
              title: "Real-time Smart Mapping & Navigation",
              tags: ["GPS Tracking", "Route Optimization"],
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ARXL5SBhiCxDGDfEC0NjNgEEsI/an-interactive-uzbekistan-map-with-ai-po-1772556385847-8af2c947.png?_wi=2",
              imageAlt: "Smart map interface",
            },
            {
              id: "3",
              title: "Integrated Booking Platform",
              tags: ["Flights", "Hotels", "Trains"],
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ARXL5SBhiCxDGDfEC0NjNgEEsI/unified-booking-interface-showing-flight-1772556385407-d9dbf69a.png",
              imageAlt: "Booking system interface",
            },
          ]}
        />
      </div>

      <div id="service-stats" data-section="service-stats">
        <AboutMetric
          title="Why Travelers Choose UzGoTravel Services"
          useInvertedBackground={true}
          metricsAnimation="slide-up"
          metrics={[
            { icon: Users, label: "Happy Travelers", value: "50,000+" },
            { icon: MapPin, label: "Places Explored", value: "150+" },
            { icon: Shield, label: "Safety Assured", value: "4.9/5" },
            { icon: Zap, label: "Smart Features", value: "12+" },
          ]}
        />
      </div>

      <footer id="footer" data-section="footer">
        <FooterSimple
          columns={footerColumns}
          bottomLeftText="© 2025 UzGoTravel. All rights reserved. Discover Uzbekistan smarter, safer, with AI."
          bottomRightText="Made with innovation for global travelers"
        />
      </footer>
    </ThemeProvider>
  );
}