"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered";
import HeroBillboardTestimonial from "@/components/sections/hero/HeroBillboardTestimonial";
import MetricCardEleven from "@/components/sections/metrics/MetricCardEleven";
import InlineImageSplitTextAbout from "@/components/sections/about/InlineImageSplitTextAbout";
import FeatureCardSixteen from "@/components/sections/feature/FeatureCardSixteen";
import TeamCardOne from "@/components/sections/team/TeamCardOne";
import TestimonialCardSix from "@/components/sections/testimonial/TestimonialCardSix";
import FaqSplitMedia from "@/components/sections/faq/FaqSplitMedia";
import ContactCenter from "@/components/sections/contact/ContactCenter";
import FooterCard from "@/components/sections/footer/FooterCard";
import { Calendar, Heart, HelpCircle, Stethoscope, Star, Users } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="expand-hover"
      defaultTextAnimation="background-highlight"
      borderRadius="soft"
      contentWidth="medium"
      sizing="large"
      background="circleGradient"
      cardStyle="soft-shadow"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="Awasar Dental"
          navItems={[
            { name: "About", id: "about" },
            { name: "Services", id: "services" },
            { name: "Doctor", id: "doctor" },
            { name: "Reviews", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
          button={{
            text: "Book Appointment",            href: "contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardTestimonial
          title="Your Smile Deserves Expert Care"
          description="Trusted family dental care in Newtown, Kolkata. Led by Dr. Priyadarshi Vaibhav — known for precision, compassion, and painless treatments."
          tag="Premium Dental Care"
          tagIcon={Heart}
          tagAnimation="slide-up"
          imageSrc="http://img.b2bpic.net/free-photo/female-patient-having-procedure-done-dentist_23-2148985822.jpg"
          imageAlt="Beautiful smile and professional dental care"
          mediaAnimation="blur-reveal"
          buttons={[
            { text: "Book Appointment", href: "contact" },
            { text: "Call Clinic", href: "https://wa.me/919876543210" }
          ]}
          buttonAnimation="slide-up"
          testimonials={[
            {
              name: "Abhijit Ghosh",              handle: "Patient since 2021",              testimonial: "Dr. Vaibhav is extremely professional, knowledgeable, and always takes time to answer all questions thoroughly.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/happy-smiling-young-woman-outdoor-with-headphones_624325-2758.jpg?_wi=1",              imageAlt: "smiling patient happy dental treatment"
            },
            {
              name: "Reshmi Basu",              handle: "Family Patient",              testimonial: "Our entire family has been seeing Dr. Vaibhav for years. We couldn't be in better hands.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/doctor-writing-reports-while-discussing-with-patient_107420-74005.jpg?_wi=1",              imageAlt: "confident woman bright smile dental"
            },
            {
              name: "Pallab Sarkar",              handle: "Patient",              testimonial: "My mother's wisdom tooth extraction was smooth and painless. Healing took just a few days.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/family-eating-together-night_23-2149331979.jpg?_wi=1",              imageAlt: "elderly patient happy dental care"
            },
            {
              name: "Ashish Singhal",              handle: "Patient",              testimonial: "Professional care with personal attention. The most reliable dentist I've visited.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/gynecologist-performing-ultrasound-consultation_23-2149353033.jpg?_wi=1",              imageAlt: "young man confident smile dental"
            }
          ]}
          testimonialRotationInterval={5000}
          useInvertedBackground={false}
          background={{ variant: "glowing-orb" }}
        />
      </div>

      <div id="trust-badges" data-section="trust-badges">
        <MetricCardEleven
          metrics={[
            {
              id: "1",              value: "5.0",              title: "Google Rating",              description: "Trusted by hundreds of satisfied patients",              imageSrc: "http://img.b2bpic.net/free-photo/happy-smiling-young-woman-outdoor-with-headphones_624325-2758.jpg?_wi=2",              imageAlt: "smiling patient happy dental treatment"
            },
            {
              id: "2",              value: "15+",              title: "Years Experience",              description: "Dr. Priyadarshi Vaibhav's clinical expertise",              imageSrc: "http://img.b2bpic.net/free-photo/doctor-writing-reports-while-discussing-with-patient_107420-74005.jpg?_wi=2",              imageAlt: "confident woman bright smile dental"
            },
            {
              id: "3",              value: "100%",              title: "Hygiene Standard",              description: "Modern clinic with sterilized equipment",              imageSrc: "http://img.b2bpic.net/free-photo/reflection-female-dentist-looking-through-microscope-mirror_23-2147906022.jpg",              imageAlt: "modern dental clinic clean environment"
            }
          ]}
          animationType="slide-up"
          title="Why Patients Trust Awasar Dental"
          description="Built on principles of expertise, compassion, and patient care excellence"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="about" data-section="about">
        <InlineImageSplitTextAbout
          heading={[
            { type: "text", content: "Where Expertise Meets Compassion" }
          ]}
          useInvertedBackground={false}
          buttons={[
            { text: "Learn More", href: "#services" }
          ]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardSixteen
          title="Complete Dental Care Under One Roof"
          description="Comprehensive dental solutions from routine checkups to complex surgical procedures, all delivered with precision and care."
          tag="Services"
          tagIcon={Stethoscope}
          tagAnimation="slide-up"
          negativeCard={{
            items: [
              "Limited treatment options",              "Impersonal approach",              "Outdated techniques",              "Poor hygiene standards"
            ]
          }}
          positiveCard={{
            items: [
              "Root canal & extractions",              "Dental implants & crowns",              "Zirconia restorations",              "Family dental care",              "Painless procedures",              "Expert Dr. Vaibhav"
            ]
          }}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="doctor" data-section="doctor">
        <TeamCardOne
          title="Meet Your Dentist"
          description="Dr. Priyadarshi Vaibhav brings expertise, gentle care, and patient-first philosophy to every treatment. Known for precision, compassion, and creating lasting relationships with families across Kolkata."
          tag="Our Doctor"
          tagIcon={Users}
          tagAnimation="slide-up"
          members={[
            {
              id: "1",              name: "Dr. Priyadarshi Vaibhav",              role: "Lead Dentist",              imageSrc: "http://img.b2bpic.net/free-photo/portrait-handsome-dentist-wearing-blue-uniform-standing-dentist-clinic_613910-18496.jpg",              imageAlt: "professional male dentist portrait medical"
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          buttons={[
            { text: "Book with Doctor", href: "contact" }
          ]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardSix
          title="Patient Reviews"
          description="Real stories from families who trust us with their smiles"
          tag="5-Star Testimonials"
          tagIcon={Star}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          testimonials={[
            {
              id: "1",              name: "Abhijit Ghosh",              handle: "@abhijit_g",              testimonial: "Dr. Vaibhav is extremely professional, knowledgeable, and always takes time to answer all questions thoroughly. Highly recommend!",              imageSrc: "http://img.b2bpic.net/free-photo/happy-smiling-young-woman-outdoor-with-headphones_624325-2758.jpg?_wi=3",              imageAlt: "smiling patient happy dental treatment"
            },
            {
              id: "2",              name: "Reshmi Basu",              handle: "@reshmi_family",              testimonial: "Our entire family has been seeing Dr. Vaibhav for years. We couldn't be in better hands for all our dental needs.",              imageSrc: "http://img.b2bpic.net/free-photo/doctor-writing-reports-while-discussing-with-patient_107420-74005.jpg?_wi=3",              imageAlt: "confident woman bright smile dental"
            },
            {
              id: "3",              name: "Pallab Sarkar",              handle: "@pallab_s",              testimonial: "My mother's wisdom tooth extraction was smooth and painless. Healing took just a few days. Excellent care!",              imageSrc: "http://img.b2bpic.net/free-photo/family-eating-together-night_23-2149331979.jpg?_wi=2",              imageAlt: "elderly patient happy dental care"
            },
            {
              id: "4",              name: "Ashish Singhal",              handle: "@ashish_dental",              testimonial: "Professional care with personal attention. The most reliable dentist I've visited. Very hygienic clinic.",              imageSrc: "http://img.b2bpic.net/free-photo/gynecologist-performing-ultrasound-consultation_23-2149353033.jpg?_wi=2",              imageAlt: "young man confident smile dental"
            },
            {
              id: "5",              name: "R. Sinha",              handle: "@r_sinha",              testimonial: "Very hygienic clinic and the doctor is extremely patient and understanding. Felt completely comfortable.",              imageSrc: "http://img.b2bpic.net/free-photo/happy-smiling-young-woman-outdoor-with-headphones_624325-2758.jpg?_wi=4",              imageAlt: "smiling patient happy dental treatment"
            },
            {
              id: "6",              name: "Ananya Dey",              handle: "@ananya_d",              testimonial: "Best dental experience I've had. Clear explanations, gentle treatment, and follow-up care that shows genuine concern.",              imageSrc: "http://img.b2bpic.net/free-photo/doctor-writing-reports-while-discussing-with-patient_107420-74005.jpg?_wi=4",              imageAlt: "confident woman bright smile dental"
            }
          ]}
          animationType="slide-up"
          speed={40}
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqSplitMedia
          title="Frequently Asked Questions"
          description="Get answers to common questions about our treatments and services"
          tag="FAQ"
          tagIcon={HelpCircle}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          imageSrc="http://img.b2bpic.net/free-photo/young-african-american-man-guy-visiting-dentist-s-office-prevention-oral-cavity-man-famale-doctor-while-checkup-teeth_1157-42060.jpg"
          imageAlt="Doctor consultation"
          mediaAnimation="blur-reveal"
          mediaPosition="right"
          faqs={[
            {
              id: "1",              title: "Is root canal treatment painful?",              content: "Modern techniques make RCT comfortable and almost painless. Dr. Vaibhav uses advanced anesthesia and gentle methods to ensure your comfort throughout the procedure."
            },
            {
              id: "2",              title: "How often should I get dental cleaning?",              content: "Dentists recommend professional cleaning every 6 months for most people. However, those with gum disease may need more frequent visits. Dr. Vaibhav will recommend the best schedule for your needs."
            },
            {
              id: "3",              title: "Are dental implants safe?",              content: "Yes, dental implants are a safe and effective solution for missing teeth when placed by an experienced dentist. Dr. Vaibhav has extensive experience with implant procedures."
            },
            {
              id: "4",              title: "What makes your clinic hygienic?",              content: "We follow strict sterilization protocols, use modern equipment, maintain clean treatment rooms, and adhere to international hygiene standards for patient safety."
            },
            {
              id: "5",              title: "Do you treat children?",              content: "Yes, we provide family dental care including treatments for children. We create a comfortable environment to make their dental visits pleasant and fear-free."
            },
            {
              id: "6",              title: "How do I book an appointment?",              content: "You can call us, message via WhatsApp, or use our online booking system. We offer flexible scheduling to accommodate your availability."
            }
          ]}
          faqsAnimation="slide-up"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Ready to Smile?"
          tagIcon={Calendar}
          tagAnimation="slide-up"
          title="Book Your Consultation Today"
          description="Schedule an appointment with Dr. Priyadarshi Vaibhav. Your healthier smile starts here."
          background={{ variant: "rotated-rays-animated-grid" }}
          useInvertedBackground={false}
          inputPlaceholder="Enter your email"
          buttonText="Schedule Appointment"
          termsText="We respect your privacy. Unsubscribe at any time."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterCard
          logoText="Awasar Dental"
          copyrightText="© 2025 Awasar Dental Clinic. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}
