"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import HeroCarouselLogo from '@/components/sections/hero/heroCarouselLogo/HeroCarouselLogo';
import SplitAbout from '@/components/sections/about/SplitAbout';
import FeatureCardOne from '@/components/sections/feature/FeatureCardOne';
import TeamCardTwo from '@/components/sections/team/TeamCardTwo';
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import ContactText from '@/components/sections/contact/ContactText';
import FooterSimple from '@/components/sections/footer/FooterSimple';
import { Award, Zap, Heart, Linkedin, Globe } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="background-highlight"
      borderRadius="rounded"
      contentWidth="medium"
      sizing="largeSmallSizeMediumTitles"
      background="plain"
      cardStyle="inset"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Smile Beverly Hills"
          navItems={[
            {name: "Home", id: "hero"},
            {name: "About", id: "about"},
            {name: "Services", id: "feature"},
            {name: "Team", id: "team"},
            {name: "Testimonials", id: "testimonial"},
            {name: "FAQ", id: "faq"}
          ]}
          button={{
            text: "Book Appointment",            href: "#contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroCarouselLogo
          logoText="SMILE BEVERLY HILLS"
          description="Award-winning cosmetic and restorative dentistry. Transform your smile with cutting-edge technology and exceptional care."
          buttons={[
            {text: "Schedule Consultation", href: "#contact"},
            {text: "Learn More", href: "#about"}
          ]}
          slides={[
            {
              imageSrc: "https://img.b2bpic.net/free-photo/full-equiped-medical-cabinet_1303-23912.jpg",              imageAlt: "Modern dental office in Beverly Hills"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/beautiful-spacious-office-dentist_8353-9976.jpg",              imageAlt: "Patient with beautiful bright smile"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/stylish-beautiful-spacious-dental-clinic_8353-9586.jpg",              imageAlt: "Advanced dental treatment in modern clinic"
            }
          ]}
          autoplayDelay={4000}
          showDimOverlay={true}
          logoLineHeight={1.2}
        />
      </div>

      <div id="about" data-section="about">
        <SplitAbout
          tag="Our Practice"
          title="Excellence in Dental Care Since 1998"
          description="Smile Beverly Hills is Southern California's premier destination for cosmetic and restorative dentistry. Our practice combines cutting-edge technology with personalized patient care, delivering transformative results that enhance both smile aesthetics and oral health."
          buttons={[
            {text: "Meet the Team", href: "#team"},
            {text: "Our Services", href: "#feature"}
          ]}
          bulletPoints={[
            {
              title: "Expert Team",              description: "Board-certified dentists with advanced training in cosmetic and surgical procedures",              icon: Award
            },
            {
              title: "Advanced Technology",              description: "State-of-the-art equipment including digital imaging, CEREC technology, and laser dentistry",              icon: Zap
            },
            {
              title: "Patient-Centered Care",              description: "Personalized treatment plans designed to exceed expectations and ensure comfort",              icon: Heart
            },
            {
              title: "Premium Facility",              description: "Luxury spa-like environment with sedation options and pain management expertise"
            }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/full-equiped-medical-cabinet_1303-23918.jpg"
          imageAlt="Professional dentist in Beverly Hills clinic"
          imagePosition="right"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="feature" data-section="feature">
        <FeatureCardOne
          tag="Services"
          title="Comprehensive Dental Solutions"
          description="From preventive care to advanced restorative procedures, we offer a full range of dental services to maintain and enhance your smile."
          buttons={[
            {text: "Schedule Your Visit", href: "#contact"}
          ]}
          features={[
            {
              title: "Cosmetic Dentistry",              description: "Professional teeth whitening, veneers, bonding, and smile makeovers for a radiant appearance",              imageSrc: "https://img.b2bpic.net/free-photo/full-equiped-medical-cabinet_1303-23916.jpg",              imageAlt: "Cosmetic dentistry transformation"
            },
            {
              title: "Dental Implants",              description: "Permanent tooth replacement solutions that look and function like natural teeth with 25+ years of success",              imageSrc: "https://img.b2bpic.net/free-photo/luxury-modern-apartment-boasts-elegant-furniture-design-generated-by-ai_188544-26999.jpg",              imageAlt: "Dental implant procedure and results"
            },
            {
              title: "Orthodontics & Aligners",              description: "Invisible aligner treatment and traditional orthodontics for perfect teeth alignment at any age",              imageSrc: "https://img.b2bpic.net/free-photo/young-female-dentist-treating-patients-teeth-with-dental-microscope-dentistry-concept_169016-67130.jpg",              imageAlt: "Orthodontic treatment options"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="team" data-section="team">
        <TeamCardTwo
          tag="Our Team"
          title="Meet Our Expert Team"
          description="Award-winning dentists and hygienists dedicated to your oral health and smile transformation"
          members={[
            {
              id: "1",              name: "Dr. Jennifer Martinez",              role: "Founder & Chief Cosmetic Dentist",              description: "25+ years of experience in cosmetic and restorative dentistry with a passion for transforming smiles",              imageSrc: "https://img.b2bpic.net/free-photo/front-view-female-physiotherapist-posing_23-2148780764.jpg",              imageAlt: "Dr. Jennifer Martinez",              socialLinks: [
                {icon: Linkedin, url: "https://linkedin.com"},
                {icon: Globe, url: "https://example.com"}
              ]
            },
            {
              id: "2",              name: "Dr. Michael Chen",              role: "Implant & Surgical Specialist",              description: "Expert in dental implants and complex surgical cases with advanced training from Harvard",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-smiling-young-dentist-dentist-s-clinic_329181-20753.jpg",              imageAlt: "Dr. Michael Chen",              socialLinks: [
                {icon: Linkedin, url: "https://linkedin.com"}
              ]
            },
            {
              id: "3",              name: "Sarah Johnson, RDH",              role: "Lead Dental Hygienist",              description: "Certified hygienist with specialty training in advanced cleanings and gum disease treatment",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-dentist-standing-with-arms-crossed_107420-73977.jpg",              imageAlt: "Sarah Johnson RDH",              socialLinks: [
                {icon: Linkedin, url: "https://linkedin.com"}
              ]
            },
            {
              id: "4",              name: "David Rodriguez, RDA",              role: "Senior Dental Assistant",              description: "Dedicated patient care coordinator ensuring every visit is comfortable and seamless",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-nurse-smiling-work_23-2148757334.jpg",              imageAlt: "David Rodriguez RDA"
            }
          ]}
          gridVariant="four-items-2x2-equal-grid"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonial" data-section="testimonial">
        <TestimonialCardOne
          tag="Patient Stories"
          title="Loved by Our Patients"
          description="See the real results and heartfelt testimonials from patients whose smiles have been transformed"
          testimonials={[
            {
              id: "1",              name: "Amanda Foster",              role: "Business Executive",              company: "CEO, Fashion Tech",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/natural-beauty-young-woman_329181-1207.jpg",              imageAlt: "Amanda Foster testimonial"
            },
            {
              id: "2",              name: "James Mitchell",              role: "Attorney",              company: "Senior Partner, Law Firm",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/happy-mature-woman-talking-her-doctor-medical-clinic_637285-9073.jpg",              imageAlt: "James Mitchell testimonial"
            },
            {
              id: "3",              name: "Nicole Rodriguez",              role: "Marketing Director",              company: "Global Brand Company",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/side-view-smiley-doctor-checking-patient_23-2149726926.jpg",              imageAlt: "Nicole Rodriguez testimonial"
            },
            {
              id: "4",              name: "Lisa Chen",              role: "Entrepreneur",              company: "Founder, Tech Startup",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/this-is-my-way-relax_329181-1143.jpg",              imageAlt: "Lisa Chen testimonial"
            },
            {
              id: "5",              name: "Robert Thompson",              role: "Entertainment Producer",              company: "Film & Television",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/smiling-middle-aged-attractive-woman-showing-thumb-up-outdoors_1262-12526.jpg",              imageAlt: "Robert Thompson testimonial"
            },
            {
              id: "6",              name: "Victoria Alvarez",              role: "Physician",              company: "Westside Medical Center",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/pharmacist-work_23-2150600111.jpg",              imageAlt: "Victoria Alvarez testimonial"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqSplitMedia
          tag="Questions?"
          title="Frequently Asked Questions"
          description="Everything you need to know about our dental services, procedures, and patient care"
          faqs={[
            {
              id: "1",              title: "How often should I visit for cleanings?",              content: "We recommend professional cleanings every 6 months for most patients to maintain optimal oral health and prevent gum disease. However, some patients with specific conditions may benefit from more frequent visits."
            },
            {
              id: "2",              title: "Are dental implants covered by insurance?",              content: "Dental implants coverage varies by insurance plan. Many plans cover a portion of the cost. We work directly with your insurance provider and offer flexible payment plans to make implants accessible."
            },
            {
              id: "3",              title: "How long does the whitening process take?",              content: "In-office professional whitening typically takes 60-90 minutes and delivers dramatic results in a single visit. We also offer take-home professional kits for gradual whitening over 1-2 weeks."
            },
            {
              id: "4",              title: "Is the implant procedure painful?",              content: "No. We use advanced anesthesia and sedation options to ensure you're completely comfortable during the procedure. Most patients report minimal discomfort and are pleasantly surprised by how painless the experience is."
            },
            {
              id: "5",              title: "How long do dental implants last?",              content: "With proper care, dental implants can last 25+ years or even a lifetime. They're the most durable tooth replacement option available and offer superior function compared to bridges or dentures."
            },
            {
              id: "6",              title: "What payment options do you offer?",              content: "We accept all major insurance plans, cash, credit cards, and offer financing options through CareCredit and other providers. We also have membership plans for uninsured patients."
            }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/modern-sauna-with-panoramic-windows-wooden-design_169016-70021.jpg"
          imageAlt="Dental consultation and patient education"
          mediaPosition="left"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="smooth"
          showCard={true}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactText
          text="Ready to transform your smile? Schedule a personalized consultation with our expert team and discover why patients trust Smile Beverly Hills for their most important dental needs."
          animationType="background-highlight"
          buttons={[
            {text: "Book Your Appointment", href: "tel:+13105551234"},
            {text: "Send us a Message", href: "mailto:hello@smilebeverlyhills.com"}
          ]}
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSimple
          columns={[
            {
              title: "Practice",              items: [
                {label: "About Us", href: "#about"},
                {label: "Our Services", href: "#feature"},
                {label: "Meet Our Team", href: "#team"},
                {label: "Patient Testimonials", href: "#testimonial"}
              ]
            },
            {
              title: "Patient Care",              items: [
                {label: "New Patient Info", href: "#contact"},
                {label: "Book Appointment", href: "#contact"},
                {label: "Emergency Care", href: "tel:+13105551234"},
                {label: "Patient Forms", href: "#"}
              ]
            },
            {
              title: "Contact",              items: [
                {label: "Phone: (310) 555-1234", href: "tel:+13105551234"},
                {label: "Email: hello@smilebeverlyhills.com", href: "mailto:hello@smilebeverlyhills.com"},
                {label: "Beverly Hills, CA", href: "#"},
                {label: "Hours: M-F 8am-6pm", href: "#"}
              ]
            },
            {
              title: "Legal",              items: [
                {label: "Privacy Policy", href: "#"},
                {label: "Terms of Service", href: "#"},
                {label: "Accessibility", href: "#"}
              ]
            }
          ]}
          bottomLeftText="© 2025 Smile Beverly Hills. All rights reserved."
          bottomRightText="Transforming smiles. Changing lives."
        />
      </div>
    </ThemeProvider>
  );
}