"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import InlineImageSplitTextAbout from '@/components/sections/about/InlineImageSplitTextAbout';
import FeatureCardOne from '@/components/sections/feature/FeatureCardOne';
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterBase from '@/components/sections/footer/FooterBase';
import { Award, Heart, Mail, Smile, Sparkles } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="smallMedium"
      sizing="mediumLargeSizeMediumTitles"
      background="aurora"
      cardStyle="layered-gradient"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="solid"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="Dentology"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "Services", id: "product" },
            { name: "About", id: "about" },
            { name: "Contact", id: "contact" }
          ]}
          button={{
            text: "Book Appointment",            href: "#contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplitKpi
          title="Welcome to Dentology"
          description="Expert dental care for the whole family. State-of-the-art facilities and compassionate professionals dedicated to your smile."
          background={{ variant: "aurora" }}
          kpis={[
            { value: "15+", label: "Years Experience" },
            { value: "5000+", label: "Happy Patients" },
            { value: "99%", label: "Satisfaction Rate" }
          ]}
          enableKpiAnimation={true}
          tag="Premium Dental Care"
          tagIcon={Smile}
          buttons={[
            { text: "Book Appointment", href: "#contact" },
            { text: "Learn More", href: "#about" }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/crowded-stomatology-waiting-area-with-people-filling-form-dental-consultation_482257-4858.jpg"
          imageAlt="Modern dental clinic reception area"
          imagePosition="right"
        />
      </div>

      <div id="product" data-section="product">
        <ProductCardTwo
          title="Our Dental Services"
          description="Comprehensive range of dental treatments tailored to meet your specific needs and preferences."
          tag="Premium Services"
          tagIcon={Sparkles}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          gridVariant="three-columns-all-equal-width"
          products={[
            {
              id: "1",              brand: "Dentology",              name: "Professional Teeth Whitening",              price: "From $199",              rating: 5,
              reviewCount: "892",              imageSrc: "https://img.b2bpic.net/free-photo/closeup-young-woman-having-her-teeth-whitened-with-ultraviolet-light-dental-clinic_662251-2598.jpg",              imageAlt: "Teeth whitening service"
            },
            {
              id: "2",              brand: "Dentology",              name: "Orthodontic Treatment",              price: "From $2,500",              rating: 5,
              reviewCount: "654",              imageSrc: "https://img.b2bpic.net/free-photo/girl-lying-chair-while-dentist-keeping-ultraviolet-tool_651396-1395.jpg",              imageAlt: "Orthodontic braces treatment"
            },
            {
              id: "3",              brand: "Dentology",              name: "Routine Dental Checkup",              price: "From $99",              rating: 5,
              reviewCount: "1.2k",              imageSrc: "https://img.b2bpic.net/free-photo/patient-dentist_624325-1625.jpg",              imageAlt: "Dental checkup and cleaning"
            }
          ]}
          buttons={[
            { text: "View All Services", href: "#" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <InlineImageSplitTextAbout
          heading={[
            { type: "text", content: "Committed to excellence in" },
            { type: "image", src: "https://img.b2bpic.net/free-photo/full-equiped-medical-cabinet_1303-23912.jpg", alt: "Dentology team" },
            { type: "text", content: "dental healthcare" }
          ]}
          useInvertedBackground="noInvert"
          buttons={[
            { text: "Schedule Visit", href: "#contact" }
          ]}
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardOne
          title="Why Choose Dentology"
          description="Discover what makes us the preferred choice for dental care in the community."
          tag="Our Advantages"
          tagIcon={Award}
          textboxLayout="default"
          animationType="blur-reveal"
          useInvertedBackground="noInvert"
          gridVariant="three-columns-all-equal-width"
          features={[
            {
              title: "Advanced Technology",              description: "Latest dental equipment and techniques for precise, comfortable treatment.",              imageSrc: "https://img.b2bpic.net/free-photo/full-equiped-medical-cabinet_1303-23913.jpg",              imageAlt: "Modern dental technology"
            },
            {
              title: "Patient Comfort First",              description: "Relaxing environment with compassionate care tailored to your needs.",              imageSrc: "https://img.b2bpic.net/free-photo/dentistry-team-office_1303-9359.jpg",              imageAlt: "Comfortable dental treatment area"
            },
            {
              title: "Expert Professionals",              description: "Highly trained dentists with years of experience and continuous education.",              imageSrc: "https://img.b2bpic.net/free-photo/revealing-shot-orthodontic-chair-with-nobody-teeth-x-ray-images-modern-display_482257-14035.jpg",              imageAlt: "Professional dental team"
            }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardSix
          title="Patient Success Stories"
          description="Hear from patients whose smiles have been transformed at Dentology."
          tag="Testimonials"
          tagIcon={Heart}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          speed={40}
          testimonials={[
            {
              id: "1",              name: "Sarah Johnson",              handle: "Verified Patient",              testimonial: "The team at Dentology is exceptional! Professional, caring, and they made me feel completely at ease during my treatment. Highly recommend!",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-pleased-smiling-woman-dentist-s-clinic_329181-20765.jpg",              imageAlt: "Sarah Johnson"
            },
            {
              id: "2",              name: "Michael Chen",              handle: "Verified Patient",              testimonial: "Best dental experience I've had. Dr. and the staff are knowledgeable and truly care about patient wellness. My smile has never looked better!",              imageSrc: "https://img.b2bpic.net/free-photo/closeup-happy-middle-aged-woman-leaning-wall_1262-1743.jpg",              imageAlt: "Michael Chen"
            },
            {
              id: "3",              name: "Emily Rodriguez",              handle: "Verified Patient",              testimonial: "From scheduling to treatment, everything was smooth and professional. The modern facility and friendly atmosphere made my visit stress-free.",              imageSrc: "https://img.b2bpic.net/free-photo/woman-getting-treatment-hairdresser-shop_23-2149230932.jpg",              imageAlt: "Emily Rodriguez"
            },
            {
              id: "4",              name: "David Kim",              handle: "Verified Patient",              testimonial: "Outstanding service and results. The team explains everything clearly and uses the latest techniques. I trust them completely with my dental health.",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-smiley-woman-therapy_23-2148928886.jpg",              imageAlt: "David Kim"
            },
            {
              id: "5",              name: "Lisa Anderson",              handle: "Verified Patient",              testimonial: "Dentology exceeded my expectations. Painless procedures, beautiful results, and staff who genuinely care. My entire family goes there now!",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-pleased-smiling-woman-dentist-s-clinic_329181-20765.jpg",              imageAlt: "Lisa Anderson"
            },
            {
              id: "6",              name: "James Wilson",              handle: "Verified Patient",              testimonial: "Professional environment, advanced technology, and exceptional care. Dr. transformed my smile and my confidence. Couldn't ask for better!",              imageSrc: "https://img.b2bpic.net/free-photo/closeup-happy-middle-aged-woman-leaning-wall_1262-1743.jpg",              imageAlt: "James Wilson"
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Get In Touch"
          tagIcon={Mail}
          title="Ready for Your Smile Transformation?"
          description="Schedule your appointment today and discover why thousands of patients trust Dentology for their dental care."
          background={{ variant: "sparkles-gradient" }}
          useInvertedBackground="noInvert"
          imageSrc="https://img.b2bpic.net/free-photo/beautiful-spacious-office-dentist_8353-9976.jpg"
          imageAlt="Dentology dental office"
          mediaPosition="right"
          inputPlaceholder="your@email.com"
          buttonText="Schedule Now"
          termsText="We respect your privacy. We'll only send appointment confirmations and dental tips."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBase
          logoText="Dentology"
          copyrightText="© 2025 Dentology. All rights reserved."
          columns={[
            {
              title: "Services",              items: [
                { label: "Teeth Whitening", href: "product" },
                { label: "Orthodontics", href: "product" },
                { label: "Checkups", href: "product" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About", href: "about" },
                { label: "Contact", href: "contact" },
                { label: "Testimonials", href: "testimonials" }
              ]
            },
            {
              title: "Legal",              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}