"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
import HeroCarouselLogo from "@/components/sections/hero/heroCarouselLogo/HeroCarouselLogo";
import SplitAbout from "@/components/sections/about/SplitAbout";
import FeatureCardThree from "@/components/sections/feature/featureCardThree/FeatureCardThree";
import ProductCardThree from "@/components/sections/product/ProductCardThree";
import TestimonialCardOne from "@/components/sections/testimonial/TestimonialCardOne";
import SocialProofOne from "@/components/sections/socialProof/SocialProofOne";
import ContactCenter from "@/components/sections/contact/ContactCenter";
import FooterMedia from "@/components/sections/footer/FooterMedia";
import { Sparkles, Zap, Award, Shield } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="expand-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="compact"
      sizing="mediumSizeLargeTitles"
      background="none"
      cardStyle="solid"
      primaryButtonStyle="flat"
      secondaryButtonStyle="solid"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="SAFAR"
          navItems={[
            { name: "Collections", id: "collections" },
            { name: "Heritage", id: "heritage" },
            { name: "Craftsmanship", id: "craftsmanship" },
            { name: "About", id: "about" }
          ]}
          button={{ text: "Explore Collection", href: "collections" }}
          animateOnLoad={true}
          className="backdrop-blur-sm"
          navItemClassName="text-sm tracking-wide"
          buttonClassName="px-6 py-2"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroCarouselLogo
          logoText="SAFAR"
          description="Timeless Elegance Meets Heritage Craftsmanship. Where South Asian artistry fuses with Italian luxury fabrics to create pieces that transcend trend."
          buttons={[
            { text: "Explore the Collection", href: "collections" },
            { text: "Learn Our Story", href: "heritage" }
          ]}
          slides={[
            {
              imageSrc: "http://img.b2bpic.net/free-photo/groom-green-shirt-touches-his-red-sherwani_8353-775.jpg",              imageAlt: "Safar Heritage Collection - South Asian Craftsmanship"
            },
            {
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-velvet-texture_23-2149305922.jpg",              imageAlt: "Italian Luxury Fabrics - Premium Materials"
            },
            {
              imageSrc: "http://img.b2bpic.net/free-photo/vintage-headlight-lamp-motorcycle_74190-3875.jpg",              imageAlt: "Vintage Luxury Aesthetic - 1970s Inspired Design"
            }
          ]}
          autoplayDelay={4000}
          showDimOverlay={true}
          className="min-h-screen"
          logoClassName="text-6xl md:text-8xl font-extrabold tracking-tighter"
          descriptionClassName="text-lg md:text-xl leading-relaxed"
        />
      </div>

      <div id="heritage" data-section="heritage">
        <SplitAbout
          tag="Our Story"
          title="Heritage Meets Innovation"
          description="Safar celebrates the timeless beauty of South Asian heritage through a contemporary lens. Each piece is a testament to meticulous craftsmanship, blending traditional artistry with the finest Italian fabrics. We create for those who understand that true luxury is not about logos—it's about legacy."
          textboxLayout="default"
          useInvertedBackground={false}
          mediaAnimation="none"
          bulletPoints={[
            {
              title: "South Asian Heritage",              description: "Deep-rooted craftsmanship traditions passed through generations, bringing authenticity to every creation.",              icon: Sparkles
            },
            {
              title: "Italian Luxury Fabrics",              description: "Premium materials sourced from Europe's finest textile mills, ensuring uncompromising quality.",              icon: Zap
            },
            {
              title: "Timeless Design",              description: "Vintage-inspired aesthetics that transcend fleeting trends, inspired by 1970s automotive luxury.",              icon: Award
            },
            {
              title: "Limited Editions",              description: "Each collection is carefully curated to maintain exclusivity and preserve craftsmanship integrity.",              icon: Shield
            }
          ]}
          imageSrc="http://img.b2bpic.net/free-photo/traditional-indian-dish-wedding-day_8353-10044.jpg"
          imageAlt="Safar Heritage Craftsmanship"
          imagePosition="right"
          buttons={[
            { text: "Discover Our Collections", href: "collections" }
          ]}
        />
      </div>

      <div id="collections" data-section="collections">
        <FeatureCardThree
          tag="Collections"
          title="Curated Masterpieces"
          description="Each collection tells a story of craftsmanship and refinement. From heirloom-quality pieces to limited-edition collections, discover the fusion of tradition and innovation."
          textboxLayout="default"
          useInvertedBackground={true}
          gridVariant="four-items-2x2-equal-grid"
          animationType="slide-up"
          features={[
            {
              id: "01",              title: "Heritage Collection",              description: "Traditional South Asian designs elevated with premium Italian fabrics, celebrating ancestral craftsmanship.",              imageSrc: "http://img.b2bpic.net/free-photo/young-indian-woman-wearing-sari_23-2149400868.jpg",              imageAlt: "Heritage Collection - South Asian Design"
            },
            {
              id: "02",              title: "Contemporary Elegance",              description: "Modern silhouettes infused with cultural elements, perfect for the discerning global consumer.",              imageSrc: "http://img.b2bpic.net/free-photo/muscular-build-man-having-strength-training-flipping-large-tire-health-club-there-is-woman-working-out-with-weights-background_637285-909.jpg",              imageAlt: "Contemporary Elegance - Modern Luxury"
            },
            {
              id: "03",              title: "Vintage Revival",              description: "Inspired by 1970s luxury aesthetics, these pieces embody timeless sophistication and understated refinement.",              imageSrc: "http://img.b2bpic.net/free-photo/vertical-shot-beautiful-romantic-gift-fancy-chair_181624-33210.jpg",              imageAlt: "Vintage Revival - 1970s Aesthetic"
            },
            {
              id: "04",              title: "Limited Editions",              description: "Exclusive collaborations with master artisans, available only to those who appreciate true craftsmanship.",              imageSrc: "http://img.b2bpic.net/free-photo/fabric-texture-background_1385-1381.jpg",              imageAlt: "Limited Edition - Exclusive Pieces"
            }
          ]}
        />
      </div>

      <div id="craftsmanship" data-section="craftsmanship">
        <ProductCardThree
          tag="Craftsmanship"
          title="The Art of Creation"
          description="Explore the meticulous processes behind every Safar piece. From hand-selected Italian fabrics to traditional South Asian embellishment techniques, each step reflects our commitment to excellence."
          textboxLayout="default"
          useInvertedBackground={false}
          gridVariant="three-columns-all-equal-width"
          animationType="blur-reveal"
          products={[
            {
              id: "craft-1",              name: "Hand-Selected Fabrics",              price: "Premium Italian Sourcing",              imageSrc: "http://img.b2bpic.net/free-photo/woman-making-origami-with-japanese-paper_23-2149048359.jpg",              imageAlt: "Hand-selected premium fabrics",              initialQuantity: 1
            },
            {
              id: "craft-2",              name: "Artisan Techniques",              price: "Traditional Methods",              imageSrc: "http://img.b2bpic.net/free-photo/brown-fabric_1122-375.jpg",              imageAlt: "Artisan craftsmanship techniques",              initialQuantity: 1
            },
            {
              id: "craft-3",              name: "Heirloom Quality",              price: "Timeless Creation",              imageSrc: "http://img.b2bpic.net/free-photo/woman-knitting-ornaments-with-red-thread_114579-11671.jpg",              imageAlt: "Heirloom quality pieces",              initialQuantity: 1
            }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardOne
          tag="Customer Stories"
          title="Voices of Our Collectors"
          description="Hear from those who have embraced Safar as part of their refined lifestyle. Each testimonial reflects our commitment to creating pieces that resonate with discerning tastes."
          textboxLayout="default"
          useInvertedBackground={false}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          testimonials={[
            {
              id: "1",              name: "Alexandra Sterling",              role: "Luxury Collector",              company: "Paris & London",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/indoor-studio-shot-attractive-pretty-woman-with-light-brown-hair-wearing-black-jacket-with-red-lips_291650-1321.jpg",              imageAlt: "Alexandra Sterling - Luxury Collector"
            },
            {
              id: "2",              name: "Rajesh Kapoor",              role: "Heritage Enthusiast",              company: "Mumbai Luxury Circle",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/stylish-man-dressed-modern-elegant-clothes-correct-his-sunglasses-while-sitting-table-outdoor-cafe-against-background-city-wharf_613910-21024.jpg",              imageAlt: "Rajesh Kapoor - Heritage Enthusiast"
            },
            {
              id: "3",              name: "Isabella Rossi",              role: "Fashion Curator",              company: "Milan Design House",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/confident-young-man-walking-european-city-street_158595-4715.jpg",              imageAlt: "Isabella Rossi - Fashion Curator"
            },
            {
              id: "4",              name: "Marcus Chen",              role: "Entrepreneur",              company: "Singapore Collective",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-businessman-sitting-sofa-waiting-area_107420-95816.jpg",              imageAlt: "Marcus Chen - Entrepreneur"
            }
          ]}
        />
      </div>

      <div id="social-proof" data-section="social-proof">
        <SocialProofOne
          tag="Trusted By"
          title="Recognized by Industry Leaders"
          description="Safar has earned the confidence of luxury lifestyle publications, heritage organizations, and discerning collectors worldwide."
          textboxLayout="default"
          useInvertedBackground={true}
          names={[
            "Vogue Heritage",            "Luxury Magazine",            "Artisan Collective",            "Italian Design Council",            "Heritage Foundation",            "Luxury Quarterly",            "Global Crafts Alliance"
          ]}
          logos={[
            "http://img.b2bpic.net/free-vector/logos-collection-with-vintage-luxury-style_23-2147842742.jpg",            "http://img.b2bpic.net/free-vector/ornamental-vintage-logo-with-frame-set_52683-370.jpg",            "http://img.b2bpic.net/free-vector/wedding-invitation-golden-badge-with-groom-bride-names-elegant-style_53876-99289.jpg",            "http://img.b2bpic.net/free-vector/logos-collection-with-vintage-luxury-style_23-2147842743.jpg",            "http://img.b2bpic.net/free-vector/logo-with-vintage-luxury-style_23-2147840560.jpg",            "http://img.b2bpic.net/free-vector/flat-design-art-deco-vintage-instagram-post-collection_23-2149145827.jpg",            "http://img.b2bpic.net/free-vector/luxury-vip-logo-concept-design-your-brand-with-floral-decoration_1017-11224.jpg"
          ]}
          speed={50}
          showCard={true}
        />
      </div>

      <div id="newsletter" data-section="newsletter">
        <ContactCenter
          tag="Stay Connected"
          title="Join Our Collectors' Circle"
          description="Receive invitations to exclusive collections, heritage stories, and limited-edition releases. Be part of the Safar family."
          tagAnimation="none"
          background={{ variant: "plain" }}
          useInvertedBackground={false}
          inputPlaceholder="Enter your email"
          buttonText="Claim Your Invitation"
          termsText="We respect your privacy. Unsubscribe at any time. By joining, you'll receive curated updates on heritage collections and exclusive releases."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="http://img.b2bpic.net/free-photo/creamy-bird-paradise-leaf-background-design-resource_53876-102382.jpg"
          imageAlt="Safar Luxury - Timeless Elegance"
          logoText="SAFAR"
          copyrightText="© 2025 Safar Luxury Lifestyle. All rights reserved."
          columns={[
            {
              title: "Collections",              items: [
                { label: "Heritage", href: "#heritage" },
                { label: "Contemporary", href: "#collections" },
                { label: "Limited Editions", href: "#collections" },
                { label: "New Arrivals", href: "#collections" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Safar", href: "#heritage" },
                { label: "Our Craft", href: "#craftsmanship" },
                { label: "Sustainability", href: "#" },
                { label: "Careers", href: "#" }
              ]
            },
            {
              title: "Support",              items: [
                { label: "Contact Us", href: "#" },
                { label: "Privacy Policy", href: "#" },
                { label: "Terms & Conditions", href: "#" },
                { label: "Returns & Exchanges", href: "#" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}
