"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FaqSplitText from '@/components/sections/faq/FaqSplitText';
import FeatureCardTwentySix from '@/components/sections/feature/FeatureCardTwentySix';
import FooterCard from '@/components/sections/footer/FooterCard';
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import PricingCardOne from '@/components/sections/pricing/PricingCardOne';
import TeamCardEleven from '@/components/sections/team/TeamCardEleven';
import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCardTen';
import TextAbout from '@/components/sections/about/TextAbout';
import { Facebook, Heart, Instagram, LifeBuoy, Mail, Phone, Shield, CheckCircle, Star, Zap, AlertCircle, Smile } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="directional-hover"
        defaultTextAnimation="reveal-blur"
        borderRadius="rounded"
        contentWidth="smallMedium"
        sizing="mediumLarge"
        background="none"
        cardStyle="inset"
        primaryButtonStyle="flat"
        secondaryButtonStyle="radial-glow"
        headingFontWeight="medium"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingInline
      navItems={[
        {
          name: "Home",          id: "#home"},
        {
          name: "Services",          id: "#services"},
        {
          name: "Team",          id: "#team"},
        {
          name: "Pricing",          id: "#pricing"},
        {
          name: "Testimonials",          id: "#testimonials"},
        {
          name: "FAQs",          id: "#faqs"},
        {
          name: "Contact",          id: "#contact"},
      ]}
      brandName="Always Dental Care"
      button={{
        text: "Book an Appointment",        href: "#contact"}}
    />
  </div>

  <div id="home" data-section="home">
      <HeroBillboard
      background={{
        variant: "plain"}}
      title="Always Dental Care: Your Smile, Our Priority"
      description="Providing comprehensive, compassionate dental services in Barbados with expertise and a gentle touch. Experience the difference personalized care makes."
      buttons={[
        {
          text: "Book an Appointment",          href: "#contact"},
        {
          text: "Our Services",          href: "#services"},
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/young-female-patient-bed-physiotherapy-center_1139-1121.jpg"
      imageAlt="Modern dental clinic interior with a dental chair"
      mediaAnimation="opacity"
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/dentist-process-dental-services-dental-office-dental-treatment_1321-2973.jpg",          alt: "Patient smiling after dental visit"},
        {
          src: "http://img.b2bpic.net/free-photo/cheeks-hurt-from-laughing-smiling-portrait-amused-happy-upbeat-attractive-bearded-adult-male-olive-t-shirt-touching-face-grinning-having-fun-being-great-mood-white-wall_176420-22607.jpg",          alt: "Happy man with healthy teeth"},
        {
          src: "http://img.b2bpic.net/free-photo/beautiful-girl-sitting-dentist-s-office_1157-28567.jpg",          alt: "Satisfied woman at dental checkup"},
        {
          src: "http://img.b2bpic.net/free-photo/little-boy-dentist-chair-children-dental_627829-9375.jpg",          alt: "Child smiling at dentist"},
        {
          src: "http://img.b2bpic.net/free-photo/portrait-romantic-elderly-lesbian-couple_52683-100045.jpg",          alt: "Elderly patient with a happy smile"},
      ]}
      avatarText="Join our happy patients!"
      marqueeItems={[
        {
          type: "text",          text: "Compassionate Care"},
        {
          type: "text",          text: "Expert Dentists"},
        {
          type: "text",          text: "Modern Technology"},
        {
          type: "text",          text: "Pain-Free Experience"},
        {
          type: "text",          text: "Healthy Smiles for Life"},
      ]}
    />
  </div>

  <div id="about" data-section="about">
      <TextAbout
      useInvertedBackground={false}
      title="Experience Compassionate Dental Care"
    />
  </div>

  <div id="services" data-section="services">
      <FeatureCardTwentySix
      textboxLayout="default"
      useInvertedBackground={true}
      features={[
        {
          title: "Cleaning & Prevention",          description: "Maintain optimal oral health with our professional cleanings, fluoride treatments, and personalized oral hygiene advice.",          imageSrc: "http://img.b2bpic.net/free-photo/young-blonde-female-suffering-from-toothache-casual-clothes-isolated_176474-81430.jpg",          imageAlt: "Dental hygienist performing teeth cleaning",          buttonIcon: CheckCircle,
        },
        {
          title: "Fillings, Crowns & Bridges",          description: "Restore damaged teeth with natural-looking fillings, durable crowns, and custom bridges to regain function and aesthetics.",          imageSrc: "http://img.b2bpic.net/free-photo/dentist-treats-childs-tooth-using-rubber-dam-installing-filling-tooth_169016-67007.jpg",          imageAlt: "Dentist working on a dental filling",          buttonIcon: Star,
        },
        {
          title: "Dental Implants",          description: "Replace missing teeth with secure, long-lasting dental implants that look, feel, and function like your natural teeth.",          imageSrc: "http://img.b2bpic.net/free-photo/covid-19-coronavirus-disease-healthcare-workers-concept-close-up-hopeful-happy-smiling-asian-female-doctor-personal-protective-equipment-take-off-respirator-have-skin-damage_1258-86815.jpg",          imageAlt: "Dental implant procedure diagram",          buttonIcon: Zap,
        },
        {
          title: "Root Canal Treatment",          description: "Alleviate pain and save infected teeth with our precise and comfortable root canal therapy, preserving your natural smile.",          imageSrc: "http://img.b2bpic.net/free-photo/dentist-treats-childs-tooth-using-rubber-dam-closeup-tooth-treatment_169016-67007.jpg",          imageAlt: "Root canal treatment illustration",          buttonIcon: Shield,
        },
        {
          title: "Extractions & Emergency Care",          description: "Prompt and gentle care for urgent dental issues and necessary tooth extractions, ensuring your comfort and relief.",          imageSrc: "http://img.b2bpic.net/free-photo/dentist-treats-childs-tooth-using-rubber-dam-closeup-tooth-treatment_169016-66856.jpg",          imageAlt: "Dentist performing a tooth extraction during emergency",          buttonIcon: AlertCircle,
        },
        {
          title: "Dentures",          description: "Custom-fitted dentures to restore your smile's appearance and chewing ability, offering comfort and confidence.",          imageSrc: "http://img.b2bpic.net/free-photo/headportrait-happy-beautiful-mature-female-marketing-expert-with-stylish-short-haircut-having-rest-break-while-working-office_343059-3710.jpg",          imageAlt: "Patient smiling with new custom-fitted dentures",          buttonIcon: Smile,
        },
      ]}
      title="Comprehensive Dental Services"
      description="From routine check-ups to advanced restorative procedures, our clinic offers a full spectrum of dental treatments tailored to your needs. Your oral health is in capable hands."
    />
  </div>

  <div id="team" data-section="team">
      <TeamCardEleven
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      groups={[
        {
          id: "dentists",          groupTitle: "Dentists",          members: [
            {
              id: "dentist-1",              title: "Dr. Sarah Johnson",              subtitle: "Lead Dentist",              detail: "Dr. Johnson is passionate about restorative and cosmetic dentistry, committed to creating beautiful, healthy smiles.",              imageSrc: "http://img.b2bpic.net/free-photo/smiling-young-doctor-holding-stethoscope_23-2148352073.jpg",              imageAlt: "Dr. Sarah Johnson"},
          ]
        },
        {
          id: "support-staff",          groupTitle: "Support Staff",          members: [
            {
              id: "hygienist-1",              title: "Maria Chen",              subtitle: "Dental Hygienist",              detail: "Maria ensures our patients receive thorough cleanings and valuable advice for maintaining oral hygiene.",              imageSrc: "http://img.b2bpic.net/free-photo/pretty-woman-playing-with-party-accesories_1187-3745.jpg",              imageAlt: "Maria Chen, Dental Hygienist"},
            {
              id: "receptionist-1",              title: "David Lee",              subtitle: "Office Manager",              detail: "David manages our clinic operations and ensures a smooth, positive experience from scheduling to billing.",              imageSrc: "http://img.b2bpic.net/free-photo/female-business-colleagues-with-face-masks-working-office-reading-email-computer_637285-5283.jpg",              imageAlt: "David Lee, Office Manager"},
          ]
        },
      ]}
      title="Meet Our Dedicated Dental Team"
      description="Our friendly and highly skilled team is committed to providing you with exceptional dental care in a welcoming environment. We're here to make you feel comfortable and confident in your treatment."
    />
  </div>

  <div id="pricing" data-section="pricing">
      <PricingCardOne
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={true}
      plans={[
        {
          id: "basic-checkup",          badge: "Essential",          badgeIcon: Heart,
          price: "$150 BBD",          subtitle: "Routine Dental Check-up",          features: [
            "Comprehensive Oral Exam",            "Professional Teeth Cleaning",            "Personalized Hygiene Tips"],
        },
        {
          id: "restorative-plus",          badge: "Value",          badgeIcon: Shield,
          price: "Starting at $300 BBD",          subtitle: "Fillings & Minor Restorations",          features: [
            "Single Amalgam or Composite Filling",            "Local Anesthesia",            "Post-Treatment Consultation"],
        },
        {
          id: "emergency-relief",          badge: "Urgent",          badgeIcon: LifeBuoy,
          price: "Starting at $250 BBD",          subtitle: "Emergency Consultation & Assessment",          features: [
            "Rapid Pain Assessment",            "Diagnosis & Treatment Plan",            "Prescription (if needed)"],
        },
      ]}
      title="Transparent Pricing for Your Dental Needs"
      description="We offer clear, upfront pricing for common dental services, ensuring you can make informed decisions about your oral health without surprises."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardTen
      textboxLayout="default"
      useInvertedBackground={false}
      testimonials={[
        {
          id: "1",          title: "Exceptional Care!",          quote: "The team at Always Dental Care is simply wonderful. From the moment I walked in, I felt at ease. Dr. Johnson is incredibly skilled and gentle. Highly recommend!",          name: "Sarah P.",          role: "Satisfied Patient",          imageSrc: "http://img.b2bpic.net/free-photo/happy-woman-lying-relaxing-sofa-home_171337-19452.jpg",          imageAlt: "Sarah P."},
        {
          id: "2",          title: "My New Favorite Dentist",          quote: "I've always been anxious about dental visits, but Always Dental Care changed that. The staff is so understanding, and the environment is very calming. Thank you!",          name: "Michael D.",          role: "Happy Client",          imageSrc: "http://img.b2bpic.net/free-photo/lifestyle-summer-people-emotions-concept-enthusiastic-handsome-male-model-with-happy-smile-white-teeth-standing-casual-t-shirt-yellow-background-satisfied_1258-60040.jpg",          imageAlt: "Michael D."},
        {
          id: "3",          title: "Professional and Friendly",          quote: "Always Dental Care provides top-notch service. My cleaning was thorough, and I received great advice on maintaining my oral health. A truly professional and friendly clinic.",          name: "Emily R.",          role: "Regular Patient",          imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-senior-woman_23-2149207200.jpg",          imageAlt: "Emily R."},
        {
          id: "4",          title: "Quick Emergency Appointment",          quote: "Had a dental emergency and they fit me in right away. The pain was managed effectively, and the team was incredibly supportive. Lifesavers!",          name: "David K.",          role: "Emergency Patient",          imageSrc: "http://img.b2bpic.net/free-photo/young-beautiful-smiling-hipster-woman-trendy-summer-white-tshirt-sexy-carefree-woman-posing-street-background-cap-sunset-positive-model-outdoors-cheerful-happywinking_158538-25987.jpg",          imageAlt: "David K."},
        {
          id: "5",          title: "Best in Barbados!",          quote: "After years of searching, I've found my permanent dental home. The quality of care, the friendly faces, and the advanced technology make this the best dental clinic in Barbados.",          name: "Jessica L.",          role: "Long-term Patient",          imageSrc: "http://img.b2bpic.net/free-photo/family-sitting-sofa-smiling_1098-1328.jpg",          imageAlt: "Jessica L."},
      ]}
      title="What Our Patients Say"
      description="Hear directly from our happy patients about their experiences at Always Dental Care. We pride ourselves on creating lasting smiles and positive relationships."
    />
  </div>

  <div id="faqs" data-section="faqs">
      <FaqSplitText
      useInvertedBackground={true}
      faqs={[
        {
          id: "q1",          title: "What are your operating hours?",          content: "We are open Monday to Friday, from 9 AM to 3 PM. Please call us to schedule an appointment."},
        {
          id: "q2",          title: "Do you accept dental insurance?",          content: "Yes, we work with most major dental insurance providers. Please contact our office with your insurance details so we can verify your coverage."},
        {
          id: "q3",          title: "How often should I visit the dentist?",          content: "For most patients, we recommend a routine check-up and cleaning every six months to maintain optimal oral health."},
        {
          id: "q4",          title: "What should I do in a dental emergency?",          content: "If you experience a dental emergency, please call us immediately at +1 246-537-9555. We prioritize emergency cases to provide prompt relief."},
      ]}
      sideTitle="Frequently Asked Questions"
      sideDescription="Find quick answers to common questions about our services, appointments, and what to expect during your visit."
      faqsAnimation="slide-up"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactCenter
      useInvertedBackground={false}
      background={{
        variant: "radial-gradient"}}
      tag="Get In Touch"
      title="Schedule Your Visit Today"
      description="Ready to achieve a healthier, brighter smile? Contact Always Dental Care to book your appointment. We look forward to welcoming you!"
      inputPlaceholder="Enter your email"
      buttonText="Send Message"
      termsText="By clicking Send Message you're confirming that you agree with our Terms and Conditions."
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterCard
      logoText="Always Dental Care"
      copyrightText="© 2024 Always Dental Care Services Barbados. All rights reserved."
      socialLinks={[
        {
          icon: Facebook,
          href: "#",          ariaLabel: "Facebook"},
        {
          icon: Instagram,
          href: "#",          ariaLabel: "Instagram"},
        {
          icon: Mail,
          href: "mailto:info@alwaysdentalcare.bb",          ariaLabel: "Email"},
        {
          icon: Phone,
          href: "tel:+12465379555",          ariaLabel: "Phone"},
      ]}
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
