"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import Link from "next/link";
import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered";
import HeroSplit from "@/components/sections/hero/HeroSplit";
import FeatureCardNine from "@/components/sections/feature/FeatureCardNine";
import TextSplitAbout from "@/components/sections/about/TextSplitAbout";
import SocialProofOne from "@/components/sections/socialProof/SocialProofOne";
import TestimonialCardFive from "@/components/sections/testimonial/TestimonialCardFive";
import MetricCardEleven from "@/components/sections/metrics/MetricCardEleven";
import ContactCTA from "@/components/sections/contact/ContactCTA";
import FooterBaseReveal from "@/components/sections/footer/FooterBaseReveal";
import { Star, Scissors, MapPin, MessageCircle, HelpCircle, Phone } from "lucide-react";

export default function HomePage() {
  const navItems = [
    { name: "Home", id: "/" },
    { name: "Services", id: "/services" },
    { name: "Gallery", id: "/gallery" },
    { name: "About", id: "/about" },
    { name: "Contact", id: "/contact" },
  ];

  const footerColumns = [
    {
      title: "Services",
      items: [
        { label: "Wedding Dress Alterations", href: "/wedding-alterations" },
        { label: "Everyday Alterations", href: "/services" },
        { label: "Embroidery & Custom", href: "/services" },
        { label: "Uniform Tailoring", href: "/services" },
      ],
    },
    {
      title: "Company",
      items: [
        { label: "About Us", href: "/about" },
        { label: "Gallery", href: "/gallery" },
        { label: "Contact", href: "/contact" },
        { label: "FAQ", href: "#faq" },
      ],
    },
    {
      title: "Connect",
      items: [
        { label: "Phone: (281) 555-0123", href: "tel:+1-281-555-0123" },
        { label: "Location: Pearland, TX", href: "#" },
        { label: "Hours: Mon-Sat 9AM-6PM", href: "#" },
        { label: "Privacy Policy", href: "#" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="medium"
      sizing="medium"
      background="noise"
      cardStyle="subtle-shadow"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="layered"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          navItems={[
            { name: "Home", id: "/" },
            { name: "Services", id: "/services" },
            { name: "Gallery", id: "/gallery" },
            { name: "About", id: "/about" },
            { name: "Contact", id: "/contact" },
          ]}
          button={{
            text: "Schedule Fitting",
            href: "/contact",
          }}
          brandName="Fit For A King Tailors"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplit
          title="Perfect Fit. Timeless Craftsmanship."
          description="Professional alterations, tailoring, embroidery, and custom sewing services for every occasion. From wedding dresses to everyday wear, we deliver excellence with precision and care."
          background={{ variant: "plain" }}
          tag="Local Family Business"
          tagIcon={Star}
          tagAnimation="slide-up"
          buttons={[
            { text: "Schedule a Fitting", href: "/contact" },
            { text: "Call Now", href: "tel:+1-281-555-0123" },
          ]}
          buttonAnimation="slide-up"
          imageSrc="http://img.b2bpic.net/free-photo/fashion-designer-is-cutting-off-fabric-with-scissors-he-is-wearing-denim-closeup-photo-shoot_613910-21806.jpg"
          imageAlt="Expert tailor working on suit alteration"
          mediaAnimation="slide-up"
          imagePosition="right"
          useInvertedBackground={false}
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardNine
          title="Our Premium Services"
          description="Comprehensive tailoring and alteration solutions for every need"
          tag="Services"
          tagIcon={Scissors}
          tagAnimation="slide-up"
          buttons={[{ text: "View All Services", href: "/services" }]}
          buttonAnimation="slide-up"
          features={[
            {
              id: 1,
              title: "Wedding Dress Alterations",
              description:
                "Expert tailoring for your perfect bridal moment. We specialize in wedding gowns, bridesmaid dresses, and formal evening wear with meticulous attention to detail.",
              phoneOne: {
                imageSrc:
                  "http://img.b2bpic.net/free-photo/adorable-bride-preparation_1153-7078.jpg",
              },
              phoneTwo: {
                imageSrc:
                  "http://img.b2bpic.net/free-photo/fashion-designer-is-cutting-off-fabric-with-scissors-he-is-wearing-denim-closeup-photo-shoot_613910-21806.jpg",
              },
            },
            {
              id: 2,
              title: "Everyday Alterations",
              description:
                "Professional hemming, tapering, and repairs for your everyday wardrobe. From pants to shirts, we ensure the perfect fit at affordable prices.",
              phoneOne: {
                imageSrc:
                  "http://img.b2bpic.net/free-photo/football-fan-front-desk_23-2147827595.jpg",
              },
              phoneTwo: {
                imageSrc:
                  "http://img.b2bpic.net/free-photo/ukrainian-embroidery-folk-arts-crafts_469670-9.jpg",
              },
            },
            {
              id: 3,
              title: "Embroidery & Custom Services",
              description:
                "Add personalized touches to your garments with professional embroidery, monogramming, and custom alterations for uniforms and corporate wear.",
              phoneOne: {
                imageSrc:
                  "http://img.b2bpic.net/free-photo/fashion-designer-is-cutting-off-fabric-with-scissors-he-is-wearing-denim-closeup-photo-shoot_613910-21806.jpg",
              },
              phoneTwo: {
                imageSrc:
                  "http://img.b2bpic.net/free-photo/ukrainian-embroidery-folk-arts-crafts_469670-9.jpg",
              },
            },
          ]}
          showStepNumbers={true}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="why-us" data-section="why-us">
        <TextSplitAbout
          title="Why Customers Love Us"
          description={[
            "Expert Craftsmanship - Every garment is tailored with precision and care, ensuring your clothes fit perfectly.",
            "Fast Turnaround - Many alterations completed within days. We understand that you need your clothes ready for life's important moments.",
            "Affordable Pricing - Luxury-quality tailoring at reasonable prices. We believe everyone deserves to feel confident in their clothes.",
            "Friendly Service - Our team consistently receives praise for kindness and helpfulness. We treat every customer like family.",
            "Emergency Alterations - Last-minute event? We can help. Our team goes above and beyond for our customers.",
          ]}
          buttons={[{ text: "Learn Our Story", href: "/about" }]}
          buttonAnimation="slide-up"
          showBorder={true}
          useInvertedBackground={false}
        />
      </div>

      <div id="social-proof" data-section="social-proof">
        <SocialProofOne
          title="Trusted Throughout the Greater Houston Area"
          description="Serving customers from Pearland, Houston, Friendswood, League City, Pasadena, and beyond"
          tag="Service Area"
          tagIcon={MapPin}
          tagAnimation="slide-up"
          names={[
            "Pearland",
            "Houston",
            "Friendswood",
            "League City",
            "Pasadena",
            "Sugar Land",
            "Katy",
            "Tomball",
          ]}
          textboxLayout="default"
          useInvertedBackground={false}
          speed={40}
          showCard={true}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFive
          title="What Our Clients Say"
          description="Hear from satisfied customers who trust us with their special occasions and everyday wardrobe"
          tag="Testimonials"
          tagIcon={MessageCircle}
          tagAnimation="slide-up"
          testimonials={[
            {
              id: "1",
              name: "Sarah Johnson, Bride",
              date: "Date: 15 November 2024",
              title: "My wedding dress fit perfectly!",
              quote:
                "They saved my wedding day when I had a wardrobe emergency. The staff were incredibly kind and the work was absolutely beautiful. I couldn't have asked for better service for such an important moment.",
              tag: "Bridal Alteration",
              avatarSrc:
                "http://img.b2bpic.net/free-photo/young-businesswoman-portrait-office_1262-1506.jpg",
              imageSrc:
                "http://img.b2bpic.net/free-photo/adorable-bride-preparation_1153-7078.jpg",
            },
            {
              id: "2",
              name: "Michael Chen, Professional",
              date: "Date: 20 October 2024",
              title: "Excellent suit tailoring",
              quote:
                "Fast turnaround, great price, and excellent stitching. My suits have never fit better. The attention to detail is remarkable and the team is always professional.",
              tag: "Suit Tailoring",
              avatarSrc:
                "http://img.b2bpic.net/free-photo/blond-businessman-happy-expression_1194-3797.jpg",
              imageSrc:
                "http://img.b2bpic.net/free-photo/close-up-confident-executive-with-tie_1098-3472.jpg",
            },
            {
              id: "3",
              name: "Emily Rodriguez, Customer",
              date: "Date: 05 October 2024",
              title: "Best tailor in Pearland",
              quote:
                "I've been going to Fit For A King Tailors for over a year. They're reliable, affordable, and truly care about their work. Every piece comes back looking perfect.",
              tag: "Regular Customer",
              avatarSrc:
                "http://img.b2bpic.net/free-photo/young-beautiful-stylish-woman-wedding-dress_285396-7803.jpg",
              imageSrc:
                "http://img.b2bpic.net/free-photo/close-up-woman-with-luggages_23-2148927418.jpg",
            },
            {
              id: "4",
              name: "David Kim, Business Owner",
              date: "Date: 28 September 2024",
              title: "Professional uniform alterations",
              quote:
                "We needed corporate uniforms tailored for our team. The quality was exceptional and they completed everything on schedule. Highly recommended for business clients.",
              tag: "Corporate Service",
              avatarSrc:
                "http://img.b2bpic.net/free-photo/smiling-man-sitting-cafe-table-gesturing_1262-1141.jpg",
              imageSrc:
                "http://img.b2bpic.net/free-photo/fashion-designer-is-cutting-off-fabric-with-scissors-he-is-wearing-denim-closeup-photo-shoot_613910-21806.jpg",
            },
            {
              id: "5",
              name: "Lisa Anderson, Wedding Planner",
              date: "Date: 10 September 2024",
              title: "Trusted partner for all my clients",
              quote:
                "I refer all my brides to Fit For A King Tailors. Their expertise with delicate fabrics and their customer care is unmatched. My clients are always thrilled.",
              tag: "Professional Referral",
              avatarSrc:
                "http://img.b2bpic.net/free-photo/close-up-successful-entrepreneur_1098-3855.jpg",
              imageSrc:
                "http://img.b2bpic.net/free-photo/adorable-bride-preparation_1153-7078.jpg",
            },
            {
              id: "6",
              name: "James Williams, Executive",
              date: "Date: 22 August 2024",
              title: "Premium quality at fair prices",
              quote:
                "I travel frequently and always need last-minute alterations. They've never let me down. The craftsmanship rivals high-end tailors in major cities but at fraction of the price.",
              tag: "Executive Client",
              avatarSrc:
                "http://img.b2bpic.net/free-photo/closeup-confident-businessman-turn-face-camera-smiling-selfassured-standing-white-backgro_1258-113227.jpg",
              imageSrc:
                "http://img.b2bpic.net/free-photo/close-up-confident-executive-with-tie_1098-3472.jpg",
            },
          ]}
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardEleven
          title="A Trusted Tailor In Pearland"
          description="Proudly serving the Pearland, Houston, and surrounding communities with exceptional tailoring and alteration services"
          tag="Local Impact"
          tagIcon={MapPin}
          tagAnimation="slide-up"
          metrics={[
            {
              id: "1",
              value: "500+",
              title: "Happy Clients",
              description: "Trusted by hundreds of satisfied customers",
              imageSrc:
                "http://img.b2bpic.net/free-photo/excited-boss-congratulating-woman-with-promotion_1262-5006.jpg",
            },
            {
              id: "2",
              value: "15+",
              title: "Years Experience",
              description: "Over a decade of expert craftsmanship",
              imageSrc:
                "http://img.b2bpic.net/free-photo/close-up-woman-with-luggages_23-2148927418.jpg",
            },
            {
              id: "3",
              value: "2-5",
              title: "Day Turnaround",
              description: "Fast service without compromising quality",
              imageSrc:
                "http://img.b2bpic.net/free-vector/creative-watch-logo-templates_23-2148956618.jpg",
            },
            {
              id: "4",
              value: "100%",
              title: "Satisfaction",
              description: "Guaranteed quality on every project",
              imageSrc:
                "http://img.b2bpic.net/free-photo/cubes-spelling-save-money-table-with-spanish-dinero-bills-coins_181624-20528.jpg",
            },
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="contact-cta" data-section="contact-cta">
        <ContactCTA
          tag="Get in Touch"
          tagIcon={Phone}
          tagAnimation="slide-up"
          title="Ready to Perfect Your Wardrobe?"
          description="Schedule your fitting today and experience the difference expert tailoring makes. Our team in Pearland is ready to help you look and feel your best."
          buttons={[
            { text: "Schedule a Fitting", href: "/contact" },
            { text: "Call (281) 555-0123", href: "tel:+1-281-555-0123" },
          ]}
          buttonAnimation="slide-up"
          background={{ variant: "gradient-bars" }}
          useInvertedBackground={false}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseReveal
          columns={footerColumns}
          copyrightText="© 2025 Fit For A King Tailors. All rights reserved. Professional tailoring and alterations serving Pearland and the greater Houston area."
        />
      </div>
    </ThemeProvider>
  );
}