"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import HeroLogo from '@/components/sections/hero/HeroLogo';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import InlineImageSplitTextAbout from '@/components/sections/about/InlineImageSplitTextAbout';
import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo';
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { Sparkles, Star, Shield } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="mediumLarge"
      sizing="medium"
      background="aurora"
      cardStyle="inset"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="solid"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="alto"
          navItems={[
            { name: "Shop", id: "featured-products" },
            { name: "About", id: "about" },
            { name: "Testimonials", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroLogo
          logoText="alto"
          description="Premium clothing for the modern lifestyle. Discover our curated collection of timeless pieces designed for you."
          buttons={[
            { text: "Shop Now", href: "featured-products" },
            { text: "Learn More", href: "about" }
          ]}
          imageSrc="http://img.b2bpic.net/free-photo/fulllength-portrait-stylish-darkskinned-curly-woman-white-pants-jacket-top-posing-dressing-room-young-lady-leans-hanger_197531-27803.jpg?_wi=1"
          imageAlt="Alto clothing collection showcase"
          showDimOverlay={true}
        />
      </div>

      <div id="featured-products" data-section="featured-products">
        <ProductCardFour
          title="Featured Collection"
          description="Handpicked pieces that define modern style"
          tag="New Arrivals"
          tagIcon={Sparkles}
          products={[
            {
              id: "1",              name: "Essential Crew Neck Tee",              price: "$45",              variant: "Black, Navy, White",              imageSrc: "http://img.b2bpic.net/free-photo/young-african-american-woman-with-dark-curly-hair-sunglasses-tshirt-pretty-woman-with-blond-hair-shirt-dreamily-looking-camera-while-spending-time-together_574295-5031.jpg",              imageAlt: "Essential crew neck t-shirt",              isFavorited: false
            },
            {
              id: "2",              name: "Premium Wool Jacket",              price: "$180",              variant: "Charcoal, Camel",              imageSrc: "http://img.b2bpic.net/free-photo/young-woman-demonstrating-upper-cloths_1303-24480.jpg",              imageAlt: "Premium wool jacket",              isFavorited: false
            },
            {
              id: "3",              name: "Classic Denim Jeans",              price: "$89",              variant: "Dark Indigo, Light Wash",              imageSrc: "http://img.b2bpic.net/free-photo/wide-assortment-jeans-hanging-store_627829-6053.jpg",              imageAlt: "Classic denim jeans",              isFavorited: false
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          buttons={[{ text: "View All", href: "#" }]}
        />
      </div>

      <div id="about" data-section="about">
        <InlineImageSplitTextAbout
          heading={[
            { type: "text", content: "Crafted with precision," },
            { type: "image", src: "http://img.b2bpic.net/free-photo/industrial-mannequin-drawings_482257-85237.jpg", alt: "Alto brand" },
            { type: "text", content: "designed for you" }
          ]}
          useInvertedBackground={true}
          buttons={[
            { text: "Our Story", href: "#" },
            { text: "Sustainability", href: "#" }
          ]}
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardTwo
          title="By The Numbers"
          description="Join thousands of satisfied customers worldwide"
          metrics={[
            { id: "1", value: "50K+", description: "Happy Customers" },
            { id: "2", value: "200+", description: "Unique Designs" },
            { id: "3", value: "98%", description: "Satisfaction Rate" },
            { id: "4", value: "5★", description: "Average Rating" }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardOne
          title="What Customers Say"
          description="Real feedback from people who love alto"
          tag="Reviews"
          tagIcon={Star}
          testimonials={[
            {
              id: "1",              name: "Sarah Mitchell",              role: "Fashion Designer",              company: "Creative Studio",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/confident-beautiful-young-businesswoman-looking-camera-head-shot-portrait_1163-4928.jpg?_wi=1",              imageAlt: "Sarah Mitchell"
            },
            {
              id: "2",              name: "James Chen",              role: "Marketing Executive",              company: "Tech Startup",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg?_wi=1",              imageAlt: "James Chen"
            },
            {
              id: "3",              name: "Emma Rodriguez",              role: "Lifestyle Blogger",              company: "Fashion Collective",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/confident-beautiful-young-businesswoman-looking-camera-head-shot-portrait_1163-4928.jpg?_wi=2",              imageAlt: "Emma Rodriguez"
            },
            {
              id: "4",              name: "David Park",              role: "Entrepreneur",              company: "Independent",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg?_wi=2",              imageAlt: "David Park"
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
        />
      </div>

      <div id="social-proof" data-section="social-proof">
        <SocialProofOne
          title="Trusted By Leading Brands"
          description="Partnered with industry leaders and influencers"
          tag="Partners"
          tagIcon={Shield}
          textboxLayout="default"
          useInvertedBackground={false}
          names={["Vogue", "GQ Magazine", "Hypebeast", "Fashionista", "Style Journal", "Trend Weekly", "Design Hub"]}
          speed={40}
          showCard={true}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Join Our Community"
          description="Subscribe to our newsletter for exclusive offers, new arrivals, and style tips delivered straight to your inbox."
          inputs={[
            { name: "email", type: "email", placeholder: "Enter your email", required: true },
            { name: "name", type: "text", placeholder: "Your name", required: false }
          ]}
          useInvertedBackground={true}
          imageSrc="http://img.b2bpic.net/free-photo/fulllength-portrait-stylish-darkskinned-curly-woman-white-pants-jacket-top-posing-dressing-room-young-lady-leans-hanger_197531-27803.jpg?_wi=2"
          imageAlt="Newsletter signup"
          mediaAnimation="slide-up"
          mediaPosition="left"
          buttonText="Subscribe"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="http://img.b2bpic.net/free-photo/fulllength-portrait-stylish-darkskinned-curly-woman-white-pants-jacket-top-posing-dressing-room-young-lady-leans-hanger_197531-27803.jpg?_wi=3"
          imageAlt="Alto collection"
          logoText="alto"
          copyrightText="© 2025 alto. All rights reserved."
          columns={[
            {
              title: "Shop",              items: [
                { label: "New Arrivals", href: "#" },
                { label: "Bestsellers", href: "#" },
                { label: "Collections", href: "#" },
                { label: "Sale", href: "#" }
              ]
            },
            {
              title: "About",              items: [
                { label: "Our Story", href: "#" },
                { label: "Sustainability", href: "#" },
                { label: "Careers", href: "#" },
                { label: "Press", href: "#" }
              ]
            },
            {
              title: "Support",              items: [
                { label: "Contact Us", href: "#" },
                { label: "FAQ", href: "#" },
                { label: "Shipping Info", href: "#" },
                { label: "Privacy Policy", href: "#" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}
