"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered";
import HeroSplitDualMedia from "@/components/sections/hero/HeroSplitDualMedia";
import MediaAbout from "@/components/sections/about/MediaAbout";
import ProductCardTwo from "@/components/sections/product/ProductCardTwo";
import FeatureCardSix from "@/components/sections/feature/FeatureCardSix";
import SocialProofOne from "@/components/sections/socialProof/SocialProofOne";
import TestimonialCardThirteen from "@/components/sections/testimonial/TestimonialCardThirteen";
import ContactSplit from "@/components/sections/contact/ContactSplit";
import FooterBaseCard from "@/components/sections/footer/FooterBaseCard";
import { Laptop, Zap, Award, Wrench, CheckCircle, Star, Phone } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="elastic-effect"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="small"
      sizing="largeSizeMediumTitles"
      background="circleGradient"
      cardStyle="gradient-mesh"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="Azka Laptop"
          navItems={[
            { name: "Beranda", id: "hero" },
            { name: "Tentang", id: "about" },
            { name: "Produk", id: "products" },
            { name: "Layanan", id: "services" },
            { name: "Hubungi Kami", id: "contact" }
          ]}
          button={{ text: "Hubungi Sekarang", href: "https://wa.me/6285729216565" }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplitDualMedia
          title="Laptop Premium dengan Harga Terjangkau"
          description="Temukan koleksi laptop terlengkap di Yogyakarta dengan kualitas terbaik dan layanan purna jual profesional. Kami menyediakan berbagai pilihan dari brand ternama dengan garansi resmi dan support teknis 24/7."
          tag="Azka Laptop - Solusi Teknologi Anda"
          tagIcon={Laptop}
          tagAnimation="slide-up"
          buttons={[
            { text: "Lihat Produk", href: "#products" },
            { text: "Hubungi Kami", href: "https://wa.me/6285729216565" }
          ]}
          buttonAnimation="slide-up"
          mediaItems={[
            {
              imageSrc: "http://img.b2bpic.net/free-photo/flat-lay-desk-concept-with-copy-space_23-2148459650.jpg",              imageAlt: "Laptop Premium Showcase"
            },
            {
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-businessman-writing-clipboard-using-digital-tablet-desk_23-2148052589.jpg",              imageAlt: "Laptop Teknologi Modern"
            }
          ]}
          mediaAnimation="slide-up"
          rating={5}
          ratingText="Dipercaya oleh ribuan pelanggan di Yogyakarta"
          background={{ variant: "plain" }}
        />
      </div>

      <div id="about" data-section="about">
        <MediaAbout
          title="Tentang Azka Laptop"
          description="Azka Laptop adalah toko laptop terpercaya di Yogyakarta yang telah melayani ribuan pelanggan sejak tahun 2015. Kami berkomitmen untuk memberikan laptop berkualitas dengan harga kompetitif dan layanan purna jual terbaik di kelasnya."
          tag="Tentang Kami"
          tagIcon={Award}
          tagAnimation="slide-up"
          buttons={[
            { text: "Pelajari Lebih Lanjut", href: "#services" }
          ]}
          buttonAnimation="slide-up"
          imageSrc="http://img.b2bpic.net/free-photo/some-serious-devices-polygraph-examiner-works-office-with-his-lie-detector-s-equipment_146671-17254.jpg"
          imageAlt="Tim profesional Azka Laptop"
          useInvertedBackground={false}
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardTwo
          title="Koleksi Laptop Pilihan"
          description="Jelajahi rangkaian laptop premium dari brand ternama dengan spesifikasi tinggi dan harga kompetitif. Semua produk dijamin original dengan garansi resmi."
          tag="Produk Unggulan"
          tagIcon={Zap}
          tagAnimation="slide-up"
          buttons={[
            { text: "Lihat Semua", href: "https://www.instagram.com/azkalaptopjogja" }
          ]}
          buttonAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          products={[
            {
              id: "product-gaming",              brand: "ASUS ROG",              name: "Thinkpad ALL varian  ",              price: "Rp 1.599.999 - 7.899.999 ",              rating: 5,
              reviewCount: "247",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B0QBU8kUUTAGam4cR4VKtOaYla/uploaded-1773624419954-y8q22dsj.jpg",              imageAlt: "ASUS ROG Gaming Laptop"
            },
            {
              id: "product-business",              brand: "Dell",              name: "Business Ultrabook Pro",              price: "Rp 12.499.000",              rating: 5,
              reviewCount: "189",              imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-reading-digital-magazine_23-2150162708.jpg",              imageAlt: "Dell Business Laptop"
            },
            {
              id: "product-creative",              brand: "Lenovo",              name: "Asus TUF ",              price: "Rp 10,2999,999 - Rp 15,7999,999",              rating: 5,
              reviewCount: "156",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B0QBU8kUUTAGam4cR4VKtOaYla/uploaded-1773624976649-21t39buz.jpg",              imageAlt: "Lenovo Creative Laptop"
            }
          ]}
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardSix
          title="Layanan Unggulan Kami"
          description="Azka Laptop menyediakan layanan lengkap untuk semua kebutuhan laptop Anda dengan teknisi berpengalaman dan peralatan modern."
          tag="Layanan Profesional"
          tagIcon={Wrench}
          tagAnimation="slide-up"
          buttons={[
            { text: "Pesan Layanan", href: "https://wa.me/6285729216565" }
          ]}
          buttonAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          features={[
            {
              id: 1,
              title: "Perbaikan & Maintenance",              description: "Servis lengkap untuk semua jenis kerusakan laptop dengan garansi perbaikan dan suku cadang original.",              imageSrc: "http://img.b2bpic.net/free-psd/computer-phones-repair-services-landing-page_23-2148715632.jpg",              imageAlt: "Layanan Perbaikan Laptop"
            },
            {
              id: 2,
              title: "Upgrade & Modifikasi",              description: "Tingkatkan performa laptop Anda dengan upgrade RAM, SSD, atau komponen lainnya sesuai kebutuhan.",              imageSrc: "http://img.b2bpic.net/free-photo/young-company-analyst-office-watching-business-presentation-pc_482257-118998.jpg",              imageAlt: "Layanan Upgrade Laptop"
            },
            {
              id: 3,
              title: "Konsultasi & Support",              description: "Dapatkan konsultasi teknis gratis dan support 24/7 untuk membantu Anda memilih laptop yang tepat.",              imageSrc: "http://img.b2bpic.net/free-photo/annoyed-businesswoman-talking-partner-phone_74855-1097.jpg",              imageAlt: "Layanan Konsultasi"
            }
          ]}
        />
      </div>

      <div id="social-proof" data-section="social-proof">
        <SocialProofOne
          title="Brand Ternama yang Kami Jual"
          description="Kami adalah authorized dealer resmi untuk berbagai brand laptop ternama dunia dengan produk original bergaransi."
          tag="Mitra Resmi"
          tagIcon={CheckCircle}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
          names={["Dell", "HP", "Lenovo", "ASUS", "MSI", "Acer", "Apple"]}
          logos={[
            "http://img.b2bpic.net/free-vector/technology-logo-template-with-abstract-shapes_23-2148240848.jpg",            "http://img.b2bpic.net/free-vector/logo-template-design_1289-149.jpg",            "http://img.b2bpic.net/free-psd/technology-template-design_23-2151662154.jpg",            "http://img.b2bpic.net/free-vector/flat-design-computer-logo-template_23-2149184092.jpg",            "http://img.b2bpic.net/free-vector/technology-logo-collection-gradient-style_52683-14095.jpg",            "http://img.b2bpic.net/free-vector/gradient-laptop-logo-template_23-2148999274.jpg",            "http://img.b2bpic.net/free-psd/gradient-geometric-business-card-template-design_23-2151867633.jpg"
          ]}
          speed={40}
          showCard={true}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardThirteen
          title="Kepuasan Pelanggan Kami"
          description="Ribuan pelanggan telah mempercayai Azka Laptop untuk kebutuhan laptop dan layanan purna jual mereka."
          tag="Testimoni"
          tagIcon={Star}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          showRating={true}
          animationType="slide-up"
          testimonials={[
            {
              id: "1",              name: "Budi Santoso",              handle: "@budisantoso_jogja",              testimonial: "Saya sangat puas dengan layanan Azka Laptop. Laptop yang saya beli benar-benar berkualitas dan customer servicenya responsif. Highly recommended!",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/portrait-person-football-game_23-2149015523.jpg",              imageAlt: "Budi Santoso"
            },
            {
              id: "2",              name: "Siti Nurhaliza",              handle: "@sitinurhaliza_web",              testimonial: "Perbaikan laptop saya selesai dalam waktu singkat dengan harga yang sangat reasonable. Teknisinya profesional dan berpengalaman.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/smiling-african-american-girl-sitting-cafe_1262-3083.jpg?_wi=1",              imageAlt: "Siti Nurhaliza"
            },
            {
              id: "3",              name: "Ahmad Wijaya",              handle: "@ahmadwijaya_design",              testimonial: "Sebagai content creator, saya butuh laptop yang powerful. Tim Azka Laptop sangat membantu mengarahkan saya ke spesifikasi yang tepat.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/smiling-african-american-girl-sitting-cafe_1262-3083.jpg?_wi=2",              imageAlt: "Ahmad Wijaya"
            },
            {
              id: "4",              name: "Dewi Lestari",              handle: "@dewilestari_photo",              testimonial: "Upgrade RAM di toko ini cepat dan profesional. Saya sudah jadi pelanggan setia Azka Laptop selama 3 tahun terakhir.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/business-woman-sitting-table_23-2148095754.jpg",              imageAlt: "Dewi Lestari"
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Hubungi Kami"
          title="Dapatkan Penawaran Terbaik"
          description="Silakan hubungi kami melalui WhatsApp, Instagram, atau kunjungi langsung toko kami di Yogyakarta. Tim kami siap membantu Anda 24/7."
          tagIcon={Phone}
          tagAnimation="slide-up"
          background={{ variant: "radial-gradient" }}
          useInvertedBackground={true}
          mediaAnimation="slide-up"
          mediaPosition="right"
          inputPlaceholder="Masukkan email Anda"
          buttonText="Kirim"
          termsText="Dengan mengirim form ini, Anda setuju dengan kebijakan privasi kami."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseCard
          logoText="Azka Laptop"
          copyrightText="© 2025 Azka Laptop Yogyakarta. Semua hak cipta dilindungi."
          columns={[
            {
              title: "Produk",              items: [
                { label: "Laptop Gaming", href: "#products" },
                { label: "Laptop Business", href: "#products" },
                { label: "Laptop Creator", href: "#products" }
              ]
            },
            {
              title: "Layanan",              items: [
                { label: "Perbaikan", href: "#services" },
                { label: "Upgrade", href: "#services" },
                { label: "Konsultasi", href: "#services" }
              ]
            },
            {
              title: "Kontak",              items: [
                { label: "WhatsApp: +6285729216565", href: "https://wa.me/6285729216565" },
                { label: "Instagram: @azkalaptopjogja", href: "https://www.instagram.com/azkalaptopjogja" },
                { label: "Yogyakarta, Indonesia", href: "#" }
              ]
            },
            {
              title: "Kebijakan",              items: [
                { label: "Kebijakan Privasi", href: "#" },
                { label: "Syarat & Ketentuan", href: "#" },
                { label: "Garansi Produk", href: "#" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}