"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FaqDouble from '@/components/sections/faq/FaqDouble';
import FeatureCardTwentySix from '@/components/sections/feature/FeatureCardTwentySix';
import FooterCard from '@/components/sections/footer/FooterCard';
import HeroSplit from '@/components/sections/hero/HeroSplit';
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import PricingCardEight from '@/components/sections/pricing/PricingCardEight';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import { Award, Building, CheckCircle, Computer, DollarSign, Facebook, Globe, Grid, Headphones, Laptop, LifeBuoy, Lightbulb, Mail, MapPin, Mouse, Phone, ShieldCheck, Smartphone, Sparkles, Star, Truck } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="text-stagger"
        defaultTextAnimation="background-highlight"
        borderRadius="soft"
        contentWidth="mediumSmall"
        sizing="largeSizeMediumTitles"
        background="blurBottom"
        cardStyle="gradient-bordered"
        primaryButtonStyle="shadow"
        secondaryButtonStyle="glass"
        headingFontWeight="semibold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingInline
      navItems={[
        {
          name: "Home",          id: "#home"},
        {
          name: "Products",          id: "#products"},
        {
          name: "About Us",          id: "#about"},
        {
          name: "Services",          id: "#services"},
        {
          name: "FAQ",          id: "#faq"},
        {
          name: "Contact",          id: "#contact"},
      ]}
      brandName="COMLAND"
      button={{
        text: "Call Us",        href: "tel:0431296969"}}
    />
  </div>

  <div id="home" data-section="home">
      <HeroSplit
      background={{
        variant: "radial-gradient"}}
      imagePosition="right"
      title="კომლენდი / COMLAND"
      description="Your Premier Destination for Quality Electronics and Exceptional Service in Kutaisi, Georgia. Discover the latest tech for your home and office."
      tag="Electronics Store · Kutaisi"
      buttons={[
        {
          text: "Shop Now",          href: "#products"},
        {
          text: "Learn More",          href: "#about"},
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/abstract-blur-defocused-shopping-mall_1203-9508.jpg"
      imageAlt="Modern electronics store interior with products on display"
      mediaAnimation="slide-up"
      fixedMediaHeight={true}
      tagIcon={Building}
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/search-net_1098-13325.jpg",          alt: "Smiling female customer"},
        {
          src: "http://img.b2bpic.net/free-photo/young-man-using-mobile-phone-with-laptop-desk_23-2147955465.jpg",          alt: "Happy male customer"},
        {
          src: "http://img.b2bpic.net/free-photo/portrait-cute-africanamerican-girl-smiling-pleased-showing-okay-sign-mobile-phone-screen-reco_1258-130157.jpg",          alt: "Young woman reviewing tech"},
        {
          src: "http://img.b2bpic.net/free-photo/three-elegant-women-with-shopping-bags-city_1157-38849.jpg",          alt: "Man shopping for accessories"},
        {
          src: "http://img.b2bpic.net/free-photo/man-working-laptop-company_23-2148944269.jpg",          alt: "Professional tech enthusiast"},
      ]}
      avatarText="Join over 10,000 happy customers in Kutaisi"
      marqueeItems={[
        {
          type: "text-icon",          text: "Fast Delivery",          icon: Truck,
        },
        {
          type: "text-icon",          text: "Expert Support",          icon: LifeBuoy,
        },
        {
          type: "text-icon",          text: "Best Prices",          icon: DollarSign,
        },
        {
          type: "text-icon",          text: "Quality Guaranteed",          icon: ShieldCheck,
        },
        {
          type: "text-icon",          text: "Wide Selection",          icon: Grid,
        },
      ]}
    />
  </div>

  <div id="products" data-section="products">
      <FeatureCardTwentySix
      textboxLayout="default"
      useInvertedBackground={true}
      features={[
        {
          title: "Personal Computers",          description: "High-performance desktops for gaming, work, and everyday use.",          imageSrc: "http://img.b2bpic.net/free-photo/coffee-sticky-notes-near-digital-devices_23-2147929681.jpg",          imageAlt: "Modern desktop computer setup",          buttonIcon: Computer,
        },
        {
          title: "Laptops & Notebooks",          description: "Portable powerhouses for productivity and entertainment on the go.",          imageSrc: "http://img.b2bpic.net/free-photo/pretty-blonde-woman-sitting-cafe_273609-6715.jpg",          imageAlt: "Person working on a slim laptop",          buttonIcon: Laptop,
        },
        {
          title: "Peripherals & Components",          description: "Keyboards, mice, monitors, storage, and all the essential upgrades.",          imageSrc: "http://img.b2bpic.net/free-photo/minimalist-computer-desk-setup-with-hard-drive_58702-17219.jpg",          imageAlt: "Computer peripherals like keyboard, mouse, webcam",          buttonIcon: Mouse,
        },
        {
          title: "Audio & Accessories",          description: "Headphones, speakers, chargers, cables, and other digital essentials.",          imageSrc: "http://img.b2bpic.net/free-photo/front-view-man-using-smart-speaker_23-2149936198.jpg",          imageAlt: "Premium headphones and wireless earbuds",          buttonIcon: Headphones,
        },
        {
          title: "Digital Products",          description: "Software, smart devices, and innovative gadgets for modern living.",          imageSrc: "http://img.b2bpic.net/free-photo/person-choosing-where-they-work-from-hybrid-working-model_23-2149483823.jpg",          imageAlt: "Hand holding a smartphone surrounded by smart devices",          buttonIcon: Smartphone,
        },
      ]}
      title="Discover Our Extensive Product Categories"
      description="From cutting-edge personal computers to essential peripherals and accessories, COMLAND offers a diverse range of electronics tailored to your needs."
    />
  </div>

  <div id="about" data-section="about">
      <TestimonialAboutCard
      useInvertedBackground={false}
      tag="Our Commitment"
      title="Your Trust, Our Priority"
      description="At COMLAND, we're dedicated to providing not just products, but a complete customer experience. Our knowledgeable team ensures you get the right advice and support, every time."
      subdescription="Proudly rated 4.7 out of 5 stars based on 22 Google reviews, our community's satisfaction is the heart of our business. Join our growing family of happy customers."
      icon={Star}
      imageSrc="http://img.b2bpic.net/free-photo/happy-excited-female-shoppers-sitting-together-using-tablet-discussing-clothes-purchases-fashion-store-copy-space-consumerism-shopping-concept_74855-11776.jpg"
      imageAlt="Friendly store assistant helping a customer"
      mediaAnimation="opacity"
    />
  </div>

  <div id="brands" data-section="brands">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={true}
      names={[
        "Samsung",        "Apple",        "HP",        "Dell",        "Lenovo",        "Asus",        "Acer",        "LG",        "Sony"]}
      title="Trusted Brands, Reliable Quality"
      description="We partner with leading electronics brands to bring you the best in technology. Shop with confidence, knowing you're getting authentic products."
      speed={35}
      showCard={false}
      tag="Industry Leaders"
      tagIcon={Lightbulb}
    />
  </div>

  <div id="featured" data-section="featured">
      <ProductCardThree
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      carouselMode="buttons"
      products={[
        {
          id: "p-laptop-1",          name: "UltraBook Pro X1",          price: "$1,299.99",          imageSrc: "http://img.b2bpic.net/free-photo/close-up-modern-laptop-screen_23-2147873575.jpg",          imageAlt: "Ultra-thin silver laptop"},
        {
          id: "p-desktop-1",          name: "Gaming PC Beast Z",          price: "$1,899.00",          imageSrc: "http://img.b2bpic.net/free-photo/cryptocurrency-mining-farm_23-2151954729.jpg",          imageAlt: "Powerful gaming desktop PC"},
        {
          id: "p-headset-1",          name: "Wireless Gaming Headset",          price: "$99.99",          imageSrc: "http://img.b2bpic.net/free-photo/close-up-smiling-senior-man-enjoying-music-headphone_23-2147935634.jpg",          imageAlt: "Black wireless gaming headset"},
        {
          id: "p-mouse-1",          name: "Ergonomic Wireless Mouse",          price: "$49.50",          imageSrc: "http://img.b2bpic.net/free-photo/arrow-with-bright-neon-colors_23-2151204927.jpg",          imageAlt: "Ergonomic wireless mouse"},
        {
          id: "p-ssd-1",          name: "External SSD 1TB Ultra",          price: "$119.00",          imageSrc: "http://img.b2bpic.net/free-photo/laptop-with-hard-disk-notebook_53876-74747.jpg",          imageAlt: "Compact external SSD"},
        {
          id: "p-smartwatch-1",          name: "Smart Health Watch",          price: "$179.99",          imageSrc: "http://img.b2bpic.net/free-photo/woman-following-online-fitness-instructor_23-2149236496.jpg",          imageAlt: "Smartwatch displaying health data"},
      ]}
      title="Popular Electronics"
      description="Explore our best-selling laptops, powerful desktops, and essential accessories, hand-picked for their quality and performance."
    />
  </div>

  <div id="services" data-section="services">
      <PricingCardEight
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={true}
      plans={[
        {
          id: "service-basic",          badge: "Intro",          badgeIcon: Sparkles,
          price: "Free",          subtitle: "Basic Diagnostic Check",          buttons: [
            {
              text: "Get Started"},
          ],
          features: [
            "Initial system analysis",            "Basic troubleshooting",            "Estimate for further repairs"],
        },
        {
          id: "service-standard",          badge: "Popular",          badgeIcon: CheckCircle,
          price: "Starting from $50",          subtitle: "Standard Repair & Maintenance",          buttons: [
            {
              text: "Book Now"},
          ],
          features: [
            "Comprehensive diagnostic",            "Hardware/software repair",            "12-month warranty on parts",            "System optimization"],
        },
        {
          id: "service-premium",          badge: "Premium",          badgeIcon: Award,
          price: "$150",          subtitle: "Premium Setup & Support",          buttons: [
            {
              text: "Learn More"},
          ],
          features: [
            "New device setup & configuration",            "Data migration & backup",            "Software installation",            "Priority 24/7 technical support"],
        },
      ]}
      title="Beyond Sales: Expert Services"
      description="COMLAND offers a range of professional services from diagnostics to repairs and custom builds, ensuring your electronics perform at their best."
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqDouble
      textboxLayout="default"
      useInvertedBackground={false}
      faqs={[
        {
          id: "faq-1",          title: "What is your warranty policy?",          content: "Most of our products come with a manufacturer's warranty. Additionally, COMLAND offers a 12-month service warranty on all repairs performed in-store. Please inquire for specific product warranties."},
        {
          id: "faq-2",          title: "What is your return policy?",          content: "Unopened items can be returned within 14 days of purchase with the original receipt for a full refund. Opened or used items may be subject to a restocking fee or store credit, depending on the condition. Certain items like software are non-returnable."},
        {
          id: "faq-3",          title: "Do you offer repair services for all types of electronics?",          content: "We offer repair services for a wide range of electronics, including computers, laptops, and certain peripherals. For specific devices, please contact us or bring your item in for a diagnostic check."},
        {
          id: "faq-4",          title: "Can I order products online?",          content: "Currently, we operate primarily as a physical store to ensure personalized service and support. We are working on expanding our online presence and e-commerce capabilities. Please visit our store for purchases."},
        {
          id: "faq-5",          title: "What payment methods do you accept?",          content: "We accept cash, major credit/debit cards (Visa, Mastercard, American Express), and local bank transfers. Contact us for information on installment plans if available."},
        {
          id: "faq-6",          title: "Do you provide delivery services?",          content: "Yes, we offer local delivery services within Kutaisi and surrounding areas for larger items like desktop computers. Delivery fees may apply depending on your location. Please ask our staff for details."},
      ]}
      title="Common Questions"
      description="Have questions about our products, services, or policies? Find quick answers here or contact us for personalized assistance."
      faqsAnimation="slide-up"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplit
      useInvertedBackground={true}
      background={{
        variant: "downward-rays-static-grid"}}
      tag="Get in Touch"
      title="Visit Our Store or Contact Us"
      description="Find us at our convenient Kutaisi location or reach out via phone and email. Our friendly team is ready to help with all your electronics needs."
      imageSrc="http://img.b2bpic.net/free-photo/best-friends-hanging-out-outdoors_23-2149244667.jpg"
      imageAlt="Exterior of COMLAND electronics store in Kutaisi"
      mediaAnimation="opacity"
      inputPlaceholder="Enter your email"
      buttonText="Send Message"
      termsText="By sending a message, you agree to our Privacy Policy."
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterCard
      logoText="COMLAND"
      copyrightText="© 2025 COMLAND. All rights reserved."
      socialLinks={[
        {
          icon: Facebook,
          href: "https://www.facebook.com/ComLand.com.ge/",          ariaLabel: "Facebook"},
        {
          icon: MapPin,
          href: "https://maps.google.com/?q=Comland+Kutaisi+Rustaveli+97",          ariaLabel: "Google Maps"},
        {
          icon: Globe,
          href: "https://www.comland.ge",          ariaLabel: "Website"},
        {
          icon: Phone,
          href: "tel:0431296969",          ariaLabel: "Phone Number"},
        {
          icon: Mail,
          href: "mailto:comland@comland.ge",          ariaLabel: "Email"},
      ]}
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
