"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import HeroLogo from '@/components/sections/hero/HeroLogo';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import FeatureBorderGlow from '@/components/sections/feature/featureBorderGlow/FeatureBorderGlow';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
import { Heart, Scissors, Home, BookOpen, Stethoscope, Users } from "lucide-react";

export default function HomePage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-shift"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="smallMedium"
      sizing="mediumSizeLargeTitles"
      background="floatingGradient"
      cardStyle="outline"
      primaryButtonStyle="inset-glow"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Funs Home Pets"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Services", id: "/services" },
            { name: "About", id: "/about" },
            { name: "Blog", id: "/blog" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{
            text: "Book Now",
            href: "/contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroLogo
          logoText="Funs Home Pets"
          description="Premium pet care services for your beloved companions"
          buttons={[
            { text: "Explore Services", href: "/services" },
            { text: "Book Today", href: "/contact" }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/full-shot-family-with-cute-dog-outdoors_23-2148996586.jpg"
          imageAlt="Happy family with their pets"
          showDimOverlay={true}
        />
      </div>

      <div id="about" data-section="about">
        <TestimonialAboutCard
          tag="Our Story"
          title="We believe every pet deserves premium care and attention"
          description="Founded in 2018"
          subdescription="Funs Home Pets - Your Pet's Second Home"
          icon={Heart}
          imageSrc="https://img.b2bpic.net/free-photo/close-up-owner-holding-dog-with-bow_23-2148949390.jpg"
          imageAlt="Professional pet grooming service"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="features" data-section="features">
        <FeatureBorderGlow
          title="Our Premium Services"
          description="Comprehensive pet care solutions tailored to your furry friends' needs"
          tag="Services"
          features={[
            {
              icon: Scissors,
              title: "Professional Grooming",
              description: "Expert grooming services using premium products and gentle techniques for all pet types"
            },
            {
              icon: Home,
              title: "Pet Boarding",
              description: "Safe, comfortable lodging with 24/7 supervision and daily activities for your beloved pets"
            },
            {
              icon: BookOpen,
              title: "Obedience Training",
              description: "Certified trainers helping your pets develop good behavior and social skills"
            },
            {
              icon: Stethoscope,
              title: "Veterinary Care",
              description: "Partnered with licensed vets for health consultations and emergency pet care services"
            },
            {
              icon: Users,
              title: "Daycare Programs",
              description: "Socialization and playtime in our safe facility with experienced caregivers and trained staff"
            }
          ]}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFive
          title="What Pet Owners Say"
          description="Hear from our happy customers and their furry companions"
          tag="Reviews"
          testimonials={[
            {
              id: "1",
              name: "Sarah Mitchell, Owner of Max",
              date: "Date: 15 November 2024",
              title: "Best care for my golden retriever!",
              quote: "Funs Home Pets has been amazing with Max. The staff treats him like their own dog, and I can see how happy he is every time I pick him up. Highly recommended!",
              tag: "Premium Member",
              avatarSrc: "https://img.b2bpic.net/free-photo/caucasion-woman-casual-confident-concept_53876-137678.jpg",
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-beautiful-young-couple-with-their-dog-garden_23-2147902068.jpg"
            },
            {
              id: "2",
              name: "James Chen, Owner of Luna & Bella",
              date: "Date: 10 November 2024",
              title: "Professional and caring staff",
              quote: "Both my cats are nervous, but the team at Funs Home Pets handles them with such patience and care. Luna's grooming looks fantastic every time.",
              tag: "Grooming Client",
              avatarSrc: "https://img.b2bpic.net/free-photo/portrait-young-woman_23-2148574874.jpg",
              imageSrc: "https://img.b2bpic.net/free-photo/full-shot-family-with-cute-dog-outdoors_23-2148996586.jpg"
            },
            {
              id: "3",
              name: "Emma Rodriguez, Owner of Rocky",
              date: "Date: 5 November 2024",
              title: "Training transformed my puppy",
              quote: "Rocky was out of control, but after their obedience training program, he's now calm and well-behaved. The trainers are knowledgeable and genuinely care about results.",
              tag: "Training Graduate",
              avatarSrc: "https://img.b2bpic.net/free-photo/pretty-european-woman-casual-knitted-sweater-pink-wall_343596-5759.jpg",
              imageSrc: "https://img.b2bpic.net/free-photo/young-couple-looking-their-cute-dog-park_23-2147902066.jpg"
            },
            {
              id: "4",
              name: "Michael & Lisa Anderson, Owners of Buddy & Daisy",
              date: "Date: 1 November 2024",
              title: "Perfect daycare solution!",
              quote: "Our dogs absolutely love daycare at Funs Home Pets. They come home tired and happy. We feel confident leaving them in such capable hands.",
              tag: "Daycare Regular",
              avatarSrc: "https://img.b2bpic.net/free-photo/beautiful-woman-cafe_273609-12690.jpg",
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-smiling-family-dog_329181-20491.jpg"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>
    </ThemeProvider>
  );
}