"use client"
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import HeroLogo from '@/components/sections/hero/HeroLogo';
import SplitAboutMetric from '@/components/sections/about/SplitAboutMetric';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import MetricCardEleven from '@/components/sections/metrics/MetricCardEleven';
import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="smallMedium"
      sizing="largeSmallSizeLargeTitles"
      background="none"
      cardStyle="elevated-accent-light"
      primaryButtonStyle="neon-glow-border"
      secondaryButtonStyle="solid"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="Webild"
          navItems={[
            { name: "About", id: "about" },
            { name: "Features", id: "features" },
            { name: "Testimonials", id: "testimonials" },
            { name: "Contact", id: "contact" },
            { name: "Pricing", id: "pricing" }
          ]}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroLogo
          logoText="Webild"
          description="Building the future of web design with innovative solutions and cutting-edge technology"
          buttons={[
            { text: "Get Started", href: "contact" },
            { text: "Learn More", href: "features" }
          ]}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767716848559-8dipwpcj.jpg"
          imageAlt="Modern workspace and innovation"
          showDimOverlay={true}
        />
      </div>

      <div id="about" data-section="about">
        <SplitAboutMetric
          title="A Legacy Of Timeless Excellence"
          description={[
            "Webild pioneers the future of digital design and development. With a commitment to crafting timeless digital experiences, we've established ourselves as leaders in building elegant, scalable solutions that stand the test of time."
          ]}
          metrics={[
            { label: "Projects Delivered", value: "500+" },
            { label: "Client Satisfaction Rate", value: "98%" }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardTwo
          title="Premium Solutions"
          description="Explore our curated collection of professional design and development services"
          products={[
            {
              id: "1",              brand: "Webild Premium",              name: "Custom Web Design",              price: "$5,000",              rating: 5,
              reviewCount: "2.3k",              imageSrc: "https://img.b2bpic.net/free-vector/100-guarantee-badge-label-collection_52683-51024.jpg",              imageAlt: "Custom web design service"
            },
            {
              id: "2",              brand: "Webild Pro",              name: "Full-Stack Development",              price: "$8,500",              rating: 5,
              reviewCount: "1.8k",              imageSrc: "https://img.b2bpic.net/free-vector/gradient-golden-luxury-labels-collection_23-2149035835.jpg",              imageAlt: "Full-stack development service"
            },
            {
              id: "3",              brand: "Webild Elite",              name: "Enterprise Solutions",              price: "$15,000",              rating: 5,
              reviewCount: "945",              imageSrc: "https://img.b2bpic.net/free-vector/premium-labels-collection_1209-170.jpg",              imageAlt: "Enterprise solution package"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardEleven
          title="Our Impact"
          description="Measurable results that demonstrate our commitment to excellence and client success"
          metrics={[
            {
              id: "1",              value: "500+",              title: "Projects Completed",              description: "Successfully delivered across diverse industries and markets",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767716860391-8o7t8vfr.jpg",              imageAlt: "Project completion metrics"
            },
            {
              id: "2",              value: "$50M+",              title: "Client Revenue Generated",              description: "Through optimized digital solutions and strategic implementations",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767716862463-pxefnhmt.jpg",              imageAlt: "Revenue growth metrics"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardThirteen
          title="What Our Clients Say"
          description="Real feedback from businesses we've helped transform"
          testimonials={[
            {
              id: "1",              name: "Sarah Johnson",              handle: "@sarahjohnson",              testimonial: "Webild transformed our digital presence completely. Their innovative approach and attention to detail exceeded all expectations. Highly recommend!",              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767716854780-4hg643sa.jpg",              imageAlt: "Sarah Johnson testimonial"
            },
            {
              id: "2",              name: "Michael Chen",              handle: "@mchen_tech",              testimonial: "Working with Webild was a game-changer. They delivered our project on time and the results speak for themselves. True professionals.",              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767716855990-2d90w2l5.jpg",              imageAlt: "Michael Chen testimonial"
            },
            {
              id: "3",              name: "Emily Rodriguez",              handle: "@emilyrodriguez",              testimonial: "The team at Webild understood our vision perfectly and brought it to life beautifully. Outstanding service and support throughout.",              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767711802548-atxknmjb.jpg",              imageAlt: "Emily Rodriguez testimonial"
            },
            {
              id: "4",              name: "David Kim",              handle: "@davidkim",              testimonial: "Best investment we made for our business. Webild's expertise and creativity delivered measurable results that directly impacted our bottom line.",              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767711804205-v2izc9e0.jpg",              imageAlt: "David Kim testimonial"
            }
          ]}
          showRating={true}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertCard"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Get in Touch"
          description="Ready to transform your digital presence? Contact our team today and let's discuss your project requirements."
          inputs={[
            { name: "name", type: "text", placeholder: "Your Name", required: true },
            { name: "email", type: "email", placeholder: "Your Email", required: true }
          ]}
          textarea={{
            name: "message",            placeholder: "Tell us about your project...",            rows: 5,
            required: true
          }}
          useInvertedBackground="noInvert"
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767716857730-5oy5o4yo.jpg"
          imageAlt="Contact us section"
          buttonText="Send Message"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseCard
          logoText="Webild"
          columns={[
            {
              title: "Product",              items: [
                { label: "Features", href: "#features" },
                { label: "Pricing", href: "#pricing" },
                { label: "Solutions", href: "#products" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About", href: "#about" },
                { label: "Testimonials", href: "#testimonials" },
                { label: "Contact", href: "#contact" }
              ]
            },
            {
              title: "Resources",              items: [
                { label: "Blog", href: "/blog" },
                { label: "Documentation", href: "/docs" },
                { label: "FAQ", href: "/faq" }
              ]
            },
            {
              title: "Legal",              items: [
                { label: "Privacy Policy", href: "/privacy" },
                { label: "Terms of Service", href: "/terms" },
                { label: "Cookie Policy", href: "/cookies" }
              ]
            }
          ]}
          copyrightText="© 2025 Webild. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}