"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroOverlay from '@/components/sections/hero/HeroOverlay';
import TextAbout from '@/components/sections/about/TextAbout';
import FeatureProcessSteps from '@/components/sections/feature/FeatureProcessSteps';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import PricingCardThree from '@/components/sections/pricing/PricingCardThree';
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import { Sparkles } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="directional-hover"
      defaultTextAnimation="background-highlight"
      borderRadius="soft"
      contentWidth="smallMedium"
      sizing="mediumLargeSizeLargeTitles"
      background="none"
      cardStyle="glass-depth"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="glass"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="Wellness Chiro"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "About", id: "about" },
            { name: "Services", id: "services" },
            { name: "Pricing", id: "pricing" },
            { name: "Testimonials", id: "testimonials" }
          ]}
          button={{ text: "Book Now", href: "contact" }}
        />
      </div>
      
      <div id="hero" data-section="hero">
        <HeroOverlay
          title="Expert Chiropractic Care for Your Wellness"
          description="Experience professional spinal manipulation and personalized treatment plans designed to relieve pain, restore mobility, and enhance your overall health and well-being."
          tag="Evidence-Based Care"
          imageSrc="https://img.b2bpic.net/free-photo/young-woman-doctor-chiropractor-osteopath-fixing-lying-womans-back-with-hands-movements-visit-manual-therapy-clinic-professional-chiropractor-work_657921-303.jpg"
          imageAlt="Professional chiropractor performing treatment"
          textPosition="bottom-left"
          showBlur={true}
          showDimOverlay={true}
          buttons={[
            { text: "Book Appointment", href: "contact" },
            { text: "Learn More", href: "about" }
          ]}
        />
      </div>
      
      <div id="about" data-section="about">
        <TextAbout
          title="Dedicated to your spinal health and lasting wellness. Our experienced chiropractors combine clinical expertise with a patient-first approach to deliver exceptional results."
          useInvertedBackground="invertDefault"
          buttons={[
            { text: "Meet Our Team", href: "#" },
            { text: "Our Philosophy", href: "#" }
          ]}
        />
      </div>
      
      <div id="process" data-section="process">
        <FeatureProcessSteps
          title="Your Path to Pain-Free Living"
          description="Our three-step treatment approach ensures comprehensive care from initial assessment through full recovery and long-term wellness maintenance."
          tag="Treatment Process"
          steps={[
            {
              number: "01",              title: "Comprehensive Assessment",              tag: "Initial Visit",              description: "Detailed evaluation of your spinal health, posture analysis, and discussion of your health goals and concerns."
            },
            {
              number: "02",              title: "Personalized Treatment Plan",              tag: "Week 1-2",              description: "Custom chiropractic adjustments, therapies, and recommendations tailored to your specific condition and lifestyle."
            },
            {
              number: "03",              title: "Ongoing Wellness Support",              tag: "Ongoing",              description: "Maintenance care, preventive strategies, and lifestyle guidance to ensure lasting results and optimal health."
            }
          ]}
          useInvertedBackground="noInvert"
          buttons={[
            { text: "Schedule Today", href: "contact" }
          ]}
        />
      </div>
      
      <div id="services" data-section="services">
        <ProductCardOne
          title="Our Services"
          description="Comprehensive chiropractic treatments and wellness services designed to address your specific health needs."
          products={[
            {
              id: "1",              name: "Spinal Adjustments",              price: "From $60",              imageSrc: "https://img.b2bpic.net/free-photo/smiley-male-osteopathic-therapist-with-clipboard-female-patient-clinic_23-2148846591.jpg",              imageAlt: "Spinal adjustment treatment"
            },
            {
              id: "2",              name: "Therapeutic Massage",              price: "From $50",              imageSrc: "https://img.b2bpic.net/free-photo/side-view-patient-undergoing-physical-evaluation_23-2150165420.jpg",              imageAlt: "Therapeutic massage therapy"
            },
            {
              id: "3",              name: "Wellness Programs",              price: "From $150",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-smiling-male-doctor_23-2148328451.jpg",              imageAlt: "Wellness and recovery program"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>
      
      <div id="pricing" data-section="pricing">
        <PricingCardThree
          title="Flexible Treatment Plans"
          description="Choose the plan that best fits your wellness goals and budget."
          plans={[
            {
              id: "1",              price: "$150",              name: "Single Visit",              buttons: [
                { text: "Book Now", href: "contact" },
                { text: "Learn More", href: "#" }
              ],
              features: [
                "Initial consultation included",                "Comprehensive spinal assessment",                "One chiropractic adjustment",                "Basic wellness recommendations"
              ]
            },
            {
              id: "2",              badge: "Most Popular",              badgeIcon: Sparkles,
              price: "$400/month",              name: "Monthly Wellness",              buttons: [
                { text: "Get Started", href: "contact" },
                { text: "Learn More", href: "#" }
              ],
              features: [
                "4 adjustments per month",                "Therapeutic massage included",                "Posture correction training",                "Priority scheduling",                "Wellness progress tracking"
              ]
            },
            {
              id: "3",              price: "$850/month",              name: "Premium Care",              buttons: [
                { text: "Get Started", href: "contact" },
                { text: "Learn More", href: "#" }
              ],
              features: [
                "Unlimited adjustments",                "2 massage sessions per month",                "Advanced physical therapy",                "24/7 support access",                "Customized wellness program",                "Nutritional guidance"
              ]
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="testimonials" data-section="testimonials">
        <TestimonialCardOne
          title="What Our Patients Say"
          description="Real stories from patients who have experienced transformation through our care."
          testimonials={[
            {
              id: "1",              name: "Sarah Johnson",              role: "Marketing Manager",              company: "Local Business Owner",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/female-patient-smiling-while-talking-doctor_107420-73983.jpg",              imageAlt: "Patient Sarah Johnson"
            },
            {
              id: "2",              name: "Michael Chen",              role: "Software Engineer",              company: "Tech Professional",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/medium-shot-smiley-woman-clinic_23-2149103560.jpg",              imageAlt: "Patient Michael Chen"
            },
            {
              id: "3",              name: "Emily Rodriguez",              role: "Teacher",              company: "Education Professional",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/side-view-smiley-doctor-checking-patient_23-2149726926.jpg",              imageAlt: "Patient Emily Rodriguez"
            },
            {
              id: "4",              name: "David Kim",              role: "Athlete",              company: "Fitness Enthusiast",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/woman-wearing-fashion-glasses_329181-1227.jpg",              imageAlt: "Patient David Kim"
            },
            {
              id: "5",              name: "Jennifer Walsh",              role: "Healthcare Professional",              company: "Medical Practitioner",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-smiling-woman-posing-white-shirt_23-2149021840.jpg",              imageAlt: "Patient Jennifer Walsh"
            },
            {
              id: "6",              name: "Robert Martinez",              role: "Construction Manager",              company: "Construction Industry",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/natural-beauty-young-woman_329181-1207.jpg",              imageAlt: "Patient Robert Martinez"
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>
      
      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Get In Touch"
          title="Ready to Start Your Wellness Journey?"
          description="Schedule your consultation today and take the first step toward a healthier, pain-free life. Our team is ready to support your wellness goals."
          useInvertedBackground="noInvert"
          inputPlaceholder="Enter your email address"
          buttonText="Schedule Appointment"
          termsText="We respect your privacy. Your information will only be used to contact you about your appointment."
        />
      </div>
      
      <div id="footer" data-section="footer">
        <FooterLogoEmphasis
          logoText="Wellness Chiro"
          columns={[
            {
              items: [
                { label: "Home", href: "hero" },
                { label: "About Us", href: "about" },
                { label: "Services", href: "services" }
              ]
            },
            {
              items: [
                { label: "Treatment Plans", href: "pricing" },
                { label: "Patient Reviews", href: "testimonials" },
                { label: "Contact", href: "contact" }
              ]
            },
            {
              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" },
                { label: "Accessibility", href: "#" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}