"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FaqDouble from '@/components/sections/faq/FaqDouble';
import FeatureCardOne from '@/components/sections/feature/FeatureCardOne';
import FooterBase from '@/components/sections/footer/FooterBase';
import HeroSplit from '@/components/sections/hero/HeroSplit';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
import TextAbout from '@/components/sections/about/TextAbout';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="hover-bubble"
        defaultTextAnimation="background-highlight"
        borderRadius="rounded"
        contentWidth="mediumLarge"
        sizing="medium"
        background="grid"
        cardStyle="gradient-radial"
        primaryButtonStyle="double-inset"
        secondaryButtonStyle="glass"
        headingFontWeight="light"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleApple
      navItems={[
        {
          name: "Home",
          id: "hero",
        },
        {
          name: "About",
          id: "about",
        },
        {
          name: "Products",
          id: "products",
        },
        {
          name: "Contact",
          id: "contact",
        },
      ]}
      brandName="Texas Souvenirs"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroSplit
      background={{
        variant: "radial-gradient",
      }}
      title="Take a Bit of Texas Home With You"
      description="Discover our hidden gem in Lewisville. From handcrafted magnets to local apparel, find the perfect memento from your Texas journey."
      buttons={[
        {
          text: "Shop Souvenirs",
          href: "#products",
        },
      ]}
      imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=nfayho"
      imageAlt="Texas themed gift shop rustic"
      mediaAnimation="slide-up"
      avatars={[
        {
          src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=gvhiew",
          alt: "happy souvenir shop customer portrait",
        },
        {
          src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=ok306l",
          alt: "Texas gift shop happy visitor",
        },
        {
          src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=57cby5",
          alt: "satisfied customer Texas shop",
        },
        {
          src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=ygcs77",
          alt: "happy shopper souvenir boutique",
        },
        {
          src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=ofyzis",
          alt: "satisfied tourist Texas store",
        },
      ]}
      avatarText="Trusted by over 500+ happy Texas travelers"
      marqueeItems={[
        {
          type: "text",
          text: "Locally Owned",
        },
        {
          type: "text",
          text: "Authentic Gifts",
        },
        {
          type: "text",
          text: "Handcrafted Items",
        },
        {
          type: "text",
          text: "Texas Proud",
        },
        {
          type: "text",
          text: "Visit Lewisville",
        },
      ]}
    />
  </div>

  <div id="about" data-section="about">
      <TextAbout
      useInvertedBackground={true}
      title="Your Friendly Local Gift Shop"
    />
  </div>

  <div id="features" data-section="features">
      <FeatureCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      features={[
        {
          title: "Unique Finds",
          description: "Easy to find something special you won't see anywhere else.",
          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=7fsc1y",
          imageAlt: "unique Texas souvenir magnet",
        },
        {
          title: "Quality Apparel",
          description: "Soft, durable, and stylish Texas-themed shirts for everyone.",
          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=j8bmgl",
          imageAlt: "high quality Texas shirt",
        },
        {
          title: "Authentic Gifts",
          description: "From postcards to collectibles, carry Texas memories home.",
          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=38vaw3",
          imageAlt: "Texas postcard and cards",
        },
      ]}
      title="Why Visitors Love Us"
      description="We pride ourselves on offering unique, high-quality treasures that celebrate the heart of the Lone Star State."
    />
  </div>

  <div id="products" data-section="products">
      <ProductCardTwo
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="four-items-2x2-equal-grid"
      useInvertedBackground={true}
      products={[
        {
          id: "p1",
          brand: "Souvenir",
          name: "Texas Star Magnet",
          price: "$4.99",
          rating: 5,
          reviewCount: "24",
          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=axhnix",
          imageAlt: "Texas metal magnet gift",
        },
        {
          id: "p2",
          brand: "Souvenir",
          name: "State Flag Keychain",
          price: "$6.50",
          rating: 5,
          reviewCount: "18",
          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=frxnp2",
          imageAlt: "Texas keychain souvenir",
        },
        {
          id: "p3",
          brand: "Apparel",
          name: "Lone Star T-Shirt",
          price: "$19.99",
          rating: 4,
          reviewCount: "42",
          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=llhdxc",
          imageAlt: "Texas graphic t-shirt",
        },
        {
          id: "p4",
          brand: "Stationery",
          name: "Texas Landscape Postcards",
          price: "$2.99",
          rating: 5,
          reviewCount: "30",
          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=hf2ynh",
          imageAlt: "Texas postcards set",
        },
        {
          id: "p5",
          brand: "Home",
          name: "Texas Landmark Mug",
          price: "$12.99",
          rating: 4,
          reviewCount: "15",
          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=tukyxo",
          imageAlt: "Texas coffee mug souvenir",
        },
        {
          id: "p6",
          brand: "Decor",
          name: "Texas Star Ornament",
          price: "$8.50",
          rating: 5,
          reviewCount: "10",
          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=9hbo76",
          imageAlt: "Texas flag art ornament",
        },
      ]}
      title="Popular Texas Treasures"
      description="A curated collection of our best-selling souvenirs."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardFive
      textboxLayout="default"
      useInvertedBackground={false}
      testimonials={[
        {
          id: "1",
          name: "Ivaylo Vasilev",
          date: "4 months ago",
          title: "Local Guide",
          quote: "Perfect stop if you want to take a bit of Texas home with you.",
          tag: "5 Stars",
          avatarSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=gvhiew",
          avatarAlt: "happy souvenir shop customer portrait",
          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=nfayho",
          imageAlt: "happy souvenir shop customer portrait",
        },
        {
          id: "2",
          name: "Anass Abounouh",
          date: "5 months ago",
          title: "Local Guide",
          quote: "I met Nancy, she was amazing and super nice to talk to.",
          tag: "5 Stars",
          avatarSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=ok306l",
          avatarAlt: "Texas gift shop happy visitor",
          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=uuy244",
          imageAlt: "happy souvenir shop customer portrait",
        },
        {
          id: "3",
          name: "Jyotsna Sareen",
          date: "4 years ago",
          title: "Local Guide",
          quote: "Hidden gem for Texas/Dallas souvenirs in reasonable price.",
          tag: "5 Stars",
          avatarSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=57cby5",
          avatarAlt: "satisfied customer Texas shop",
          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=7fsc1y",
          imageAlt: "happy souvenir shop customer portrait",
        },
        {
          id: "4",
          name: "Visitor A",
          date: "1 year ago",
          title: "Traveler",
          quote: "Great service and prices and selections for souvenirs.",
          tag: "5 Stars",
          avatarSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=ygcs77",
          avatarAlt: "happy shopper souvenir boutique",
          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=j8bmgl",
          imageAlt: "happy souvenir shop customer portrait",
        },
        {
          id: "5",
          name: "Visitor B",
          date: "2 years ago",
          title: "Collector",
          quote: "The owner is very kind, we found a lot of souvenirs of Texas.",
          tag: "5 Stars",
          avatarSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=ofyzis",
          avatarAlt: "satisfied tourist Texas store",
          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=38vaw3",
          imageAlt: "happy souvenir shop customer portrait",
        },
      ]}
      title="What Our Visitors Say"
      description="Join our community of happy explorers."
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqDouble
      textboxLayout="default"
      useInvertedBackground={true}
      faqs={[
        {
          id: "1",
          title: "Where are you located?",
          content: "We are at 2401 S Stemmons Fwy #2138, Lewisville, TX, inside The Vista Shopping Center.",
        },
        {
          id: "2",
          title: "What are your hours?",
          content: "We are open daily and close at 7 PM.",
        },
        {
          id: "3",
          title: "Do you offer in-store shopping?",
          content: "Yes, we invite you to visit our shop and browse our unique selection.",
        },
      ]}
      title="Frequently Asked Questions"
      description="Have questions? We're here to help."
      faqsAnimation="slide-up"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplitForm
      useInvertedBackground={false}
      title="Reach Out To Us"
      description="Questions about our inventory or planning a visit? Send us a message."
      inputs={[
        {
          name: "name",
          type: "text",
          placeholder: "Your Name",
          required: true,
        },
        {
          name: "email",
          type: "email",
          placeholder: "Your Email",
          required: true,
        },
      ]}
      textarea={{
        name: "message",
        placeholder: "How can we help?",
        rows: 4,
        required: true,
      }}
      imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=qzvnyy"
      imageAlt="friendly Texas shop staff"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBase
      columns={[
        {
          title: "Navigation",
          items: [
            {
              label: "Home",
              href: "#hero",
            },
            {
              label: "Products",
              href: "#products",
            },
          ],
        },
        {
          title: "Contact",
          items: [
            {
              label: "Lewisville, TX",
              href: "#",
            },
            {
              label: "+1 214-488-4080",
              href: "tel:+12144884080",
            },
          ],
        },
      ]}
      logoText="Texas Souvenirs"
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
