"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
import HeroBillboard from "@/components/sections/hero/HeroBillboard";
import SplitAbout from "@/components/sections/about/SplitAbout";
import FeatureCardOne from "@/components/sections/feature/FeatureCardOne";
import PricingCardNine from "@/components/sections/pricing/PricingCardNine";
import SocialProofOne from "@/components/sections/socialProof/SocialProofOne";
import TestimonialCardOne from "@/components/sections/testimonial/TestimonialCardOne";
import ContactCenter from "@/components/sections/contact/ContactCenter";
import FooterSimple from "@/components/sections/footer/FooterSimple";
import Link from "next/link";
import { CheckCircle, Heart, Sparkles, AlertCircle, Award, Mail, Star, Shield, Compass, Lightbulb } from "lucide-react";

export default function HomePage() {
  const navItems = [
    { name: "About", id: "about" },
    { name: "Services", id: "services" },
    { name: "CE Courses", id: "ce-courses" },
    { name: "Leadership", id: "leadership" },
  ];

  const footerColumns = [
    {
      title: "Services",      items: [
        { label: "Massage Therapy", href: "/services" },
        { label: "CE Courses", href: "/ce-courses" },
        { label: "Leadership Programs", href: "/leadership" },
        { label: "Well-Being Coaching", href: "/services" },
      ],
    },
    {
      title: "Company",      items: [
        { label: "About Susie", href: "/about" },
        { label: "Our Mission", href: "/about" },
        { label: "Credentials", href: "/about" },
        { label: "Contact", href: "/contact" },
      ],
    },
    {
      title: "Resources",      items: [
        { label: "Blog & Insights", href: "#" },
        { label: "CE Course Calendar", href: "/ce-courses" },
        { label: "Corporate Packages", href: "/leadership" },
        { label: "FAQs", href: "#" },
      ],
    },
    {
      title: "Legal",      items: [
        { label: "Privacy Policy", href: "#" },
        { label: "Terms of Service", href: "#" },
        { label: "Code of Ethics", href: "#" },
        { label: "Accessibility", href: "#" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="directional-hover"
      defaultTextAnimation="background-highlight"
      borderRadius="pill"
      contentWidth="mediumSmall"
      sizing="mediumSizeLargeTitles"
      background="circleGradient"
      cardStyle="soft-shadow"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="glass"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="Griffin Wellness"
          navItems={navItems}
          button={{
            text: "Book Now",            href: "https://griffinwellness.acuityscheduling.com"}}
          animateOnLoad={true}
          className="bg-white/80 backdrop-blur-md shadow-sm"
          navItemClassName="text-foreground hover:text-primary-cta transition-colors"
          buttonClassName="bg-primary-cta hover:bg-opacity-90 text-white"
          buttonTextClassName="font-medium"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboard
          title="Empowering Healing. Elevating Leadership. Restoring Well-Being."
          description="Griffin Wellness Solutions offers nationally accredited continuing education, injury prevention & treatment massage therapy, ethics and leadership training, and personalized well-being coaching. Founded by Susie, a trusted expert dedicated to empowering individuals and organizations to thrive."
          background={{ variant: "sparkles-gradient" }}
          tag="Nationally Accredited"
          tagIcon={CheckCircle}
          tagAnimation="slide-up"
          buttons={[
            {
              text: "Book Now",              href: "https://griffinwellness.acuityscheduling.com"},
            {
              text: "Explore CE Courses",              href: "/ce-courses"},
          ]}
          buttonAnimation="slide-up"
          imageSrc="http://img.b2bpic.net/free-photo/full-shot-woman-practicing-facial-yoga_23-2150162801.jpg"
          imageAlt="Serene wellness retreat environment with soft lighting"
          mediaAnimation="slide-up"
          ariaLabel="Griffin Wellness Solutions hero section"
        />
      </div>

      <div id="about" data-section="about">
        <SplitAbout
          title="About Griffin Wellness Solutions"
          description="Founded by Susie, Griffin Wellness Solutions represents a heart-centered approach to professional wellness, education, and leadership development. With over 15 years of expertise in injury prevention & treatment massage therapy, Susie has built a nationally accredited provider organization dedicated to supporting the well-being of individuals and entire organizations."
          tag="Our Mission"
          tagIcon={Heart}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          bulletPoints={[
            {
              title: "Nationally Accredited CE Provider",              description:
                "Offering continuing education courses recognized by professional massage therapy organizations nationwide.",              icon: Award,
            },
            {
              title: "Expert in Injury Prevention & Treatment",              description:
                "Specialized knowledge in therapeutic techniques that prevent injuries and support healing.",              icon: Shield,
            },
            {
              title: "Ethics & Leadership Educator",              description:
                "Training professionals and organizations in ethical leadership, burnout prevention, and cultural transformation.",              icon: Compass,
            },
            {
              title: "Well-Being Coach for Individuals & Organizations",              description:
                "Personalized coaching and organizational wellness programs that restore balance and elevate human potential.",              icon: Lightbulb,
            },
          ]}
          imageSrc="http://img.b2bpic.net/free-photo/smiling-senior-businessman-sitting-conference_1262-2322.jpg?_wi=1"
          imageAlt="Professional wellness coaching environment"
          mediaAnimation="slide-up"
          imagePosition="right"
          ariaLabel="About Griffin Wellness Solutions"
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardOne
          title="Core Services"
          description="Comprehensive offerings designed to support healing, professional growth, and organizational excellence."
          tag="Four Pillars of Wellness"
          tagIcon={Sparkles}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
          features={[
            {
              title: "Injury Prevention & Treatment Massage",              description:
                "Expert therapeutic massage combining advanced techniques with personalized protocols to prevent injuries, accelerate recovery, and restore optimal function.",              imageSrc:
                "http://img.b2bpic.net/free-photo/deep-back-massage-spa-double-touch-care_169016-69849.jpg",              imageAlt: "Professional therapeutic massage session",              button: {
                text: "Learn More",                href: "/services"},
            },
            {
              title: "Live Online CE Courses",              description:
                "Nationally accredited continuing education programs delivered through live virtual instruction with direct integration to Acuity scheduling for seamless registration.",              imageSrc:
                "http://img.b2bpic.net/free-photo/happy-freelance-worker-holding-education-training-class-laptop-from-home_637285-6051.jpg",              imageAlt: "Online educational course platform",              button: {
                text: "Explore Courses",                href: "/ce-courses"},
            },
            {
              title: "Ethics & Leadership Training",              description:
                "Professional development programs equipping leaders and practitioners with ethical frameworks, leadership skills, and cultural competency.",              imageSrc:
                "http://img.b2bpic.net/free-photo/smiling-senior-businessman-sitting-conference_1262-2322.jpg?_wi=2",              imageAlt: "Corporate leadership training session",              button: {
                text: "Inquire Now",                href: "/leadership"},
            },
            {
              title: "Well-Being Coaching",              description:
                "Personalized one-on-one and organizational coaching focused on burnout prevention, resilience building, and sustainable well-being transformation.",              imageSrc:
                "http://img.b2bpic.net/free-photo/couple-performing-yoga-safari-vacation_107420-9663.jpg",              imageAlt: "Well-being coaching session",              button: {
                text: "Schedule Consultation",                href: "https://griffinwellness.acuityscheduling.com"},
            },
          ]}
          gridVariant="two-columns-alternating-heights"
          animationType="slide-up"
          ariaLabel="Griffin Wellness Services"
        />
      </div>

      <div id="booking-urgency" data-section="booking-urgency">
        <PricingCardNine
          title="Book Now – Only 9 Spots Left"
          description="Limited availability for upcoming live online CE classes. Secure your registration today through our streamlined Acuity scheduling system."
          tag="Limited Availability"
          tagIcon={AlertCircle}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="slide-up"
          plans={[
            {
              id: "course-1",              title: "Myofascial Release Masterclass",              price: "$299",              period: "/course",              imageSrc:
                "http://img.b2bpic.net/free-photo/schedule-planner-task-agenda-checklist-concept_53876-124095.jpg?_wi=1",              imageAlt: "Myofascial release technique training",              features: [
                "6-week live online program",                "CE credit hours included",                "Recorded sessions access",                "Practitioner community forum",                "Unlimited Q&A support"],
              button: {
                text: "Register Now",                href: "https://griffinwellness.acuityscheduling.com"},
            },
            {
              id: "course-2",              title: "Ethics in Practice Leadership",              price: "$349",              period: "/course",              imageSrc:
                "http://img.b2bpic.net/free-photo/schedule-planner-task-agenda-checklist-concept_53876-124095.jpg?_wi=2",              imageAlt: "Ethics and leadership training",              features: [
                "8-week comprehensive curriculum",                "Nationally recognized certification",                "Case study analysis sessions",                "Peer mentoring included",                "Career advancement resources"],
              button: {
                text: "Enroll Today",                href: "https://griffinwellness.acuityscheduling.com"},
            },
            {
              id: "course-3",              title: "Burnout Prevention Bootcamp",              price: "$249",              period: "/course",              imageSrc:
                "http://img.b2bpic.net/free-photo/schedule-planner-task-agenda-checklist-concept_53876-124095.jpg?_wi=3",              imageAlt: "Burnout prevention workshop",              features: [
                "4-week intensive program",                "Practical tools & strategies",                "Personalized action plans",                "Ongoing community support",                "One bonus consultation session"],
              button: {
                text: "Join Now",                href: "https://griffinwellness.acuityscheduling.com"},
            },
          ]}
        />
      </div>

      <div id="social-proof" data-section="social-proof">
        <SocialProofOne
          title="Trusted by Professional Organizations"
          description="Griffin Wellness Solutions is recognized and recommended by leading professional organizations, healthcare networks, and corporate wellness leaders."
          tag="Accredited & Recommended"
          tagIcon={Award}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          names={[
            "NCTMB Accredited",            "CE Provider Approved",            "Wellness Leaders Network",            "Corporate Health Alliance",            "Professional Ethics Board",            "Healing Arts Consortium",            "Leadership Institute Partners"]}
          speed={40}
          showCard={true}
          ariaLabel="Trusted partners and accreditations"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardOne
          title="What Practitioners & Leaders Say"
          description="Real feedback from professionals who have transformed their practice, leadership, and well-being through Griffin Wellness Solutions."
          tag="Client Testimonials"
          tagIcon={Star}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
          testimonials={[
            {
              id: "1",              name: "Sarah Mitchell",              role: "Licensed Massage Therapist",              company: "Holistic Healing Center",              rating: 5,
              imageSrc:
                "http://img.b2bpic.net/free-photo/businesswoman-glasses-portrait_1262-1461.jpg",              imageAlt: "Sarah Mitchell, Licensed Massage Therapist"},
            {
              id: "2",              name: "Jennifer Roberts",              role: "Clinic Director",              company: "Sports Recovery Institute",              rating: 5,
              imageSrc:
                "http://img.b2bpic.net/free-photo/confident-young-businesswoman-with-folded-arms_1262-1775.jpg",              imageAlt: "Jennifer Roberts, Clinic Director"},
            {
              id: "3",              name: "Michelle Chen",              role: "Corporate Wellness Manager",              company: "Fortune 500 Tech Company",              rating: 5,
              imageSrc:
                "http://img.b2bpic.net/free-photo/successful-senior-businesswoman-eyeglasses_1262-5856.jpg",              imageAlt: "Michelle Chen, Corporate Wellness Manager"},
            {
              id: "4",              name: "Amanda Foster",              role: "Practice Owner",              company: "Wellness Collective",              rating: 5,
              imageSrc:
                "http://img.b2bpic.net/free-photo/happy-professional_1098-12931.jpg",              imageAlt: "Amanda Foster, Practice Owner"},
            {
              id: "5",              name: "Rachel Thompson",              role: "Health Coach",              company: "Integrative Medicine Center",              rating: 5,
              imageSrc:
                "http://img.b2bpic.net/free-photo/portrait-business-woman_158595-975.jpg",              imageAlt: "Rachel Thompson, Health Coach"},
            {
              id: "6",              name: "Lisa Anderson",              role: "Organizational Development Lead",              company: "Healthcare Network",              rating: 5,
              imageSrc:
                "http://img.b2bpic.net/free-photo/close-up-successful-entrepreneur_1098-3855.jpg",              imageAlt: "Lisa Anderson, Organizational Development Lead"},
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          ariaLabel="Client testimonials"
        />
      </div>

      <div id="newsletter" data-section="newsletter">
        <ContactCenter
          tag="Stay Connected"
          title="Wellness & Leadership Insights"
          description="Subscribe to receive exclusive updates on new CE courses, leadership insights, well-being strategies, and special offers for our growing community of practitioners and organizational leaders."
          tagIcon={Mail}
          tagAnimation="slide-up"
          background={{ variant: "rotated-rays-animated-grid" }}
          useInvertedBackground={false}
          inputPlaceholder="Enter your email"
          buttonText="Subscribe"
          termsText="We respect your privacy. Unsubscribe anytime from our newsletter."
          ariaLabel="Newsletter signup form"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSimple
          columns={footerColumns}
          bottomLeftText="© 2025 Griffin Wellness Solutions. All rights reserved."
          bottomRightText="Founded by Susie | Nationally Accredited Provider"
          ariaLabel="Site footer"
        />
      </div>
    </ThemeProvider>
  );
}