"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import HeroLogo from '@/components/sections/hero/HeroLogo';
import TextSplitAbout from '@/components/sections/about/TextSplitAbout';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import FeatureCardSeven from '@/components/sections/feature/FeatureCardSeven';
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';
import ContactFaq from '@/components/sections/contact/ContactFaq';
import FooterBase from '@/components/sections/footer/FooterBase';
import { Heart } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="bounce-effect"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="compact"
      sizing="largeSmallSizeLargeTitles"
      background="plain"
      cardStyle="gradient-bordered"
      primaryButtonStyle="flat"
      secondaryButtonStyle="glass"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="PawsHome"
          navItems={[
            { name: "About", id: "about" },
            { name: "Pets", id: "products" },
            { name: "Services", id: "feature" },
            { name: "Stories", id: "testimonial" },
            { name: "Contact", id: "contact" }
          ]}
          button={{
            text: "Adopt Now",            href: "#products"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroLogo
          logoText="PawsHome"
          description="Find your perfect companion. Give a loving home to a pet in need."
          buttons={[
            { text: "Browse Adoptable Pets", href: "#products" },
            { text: "Learn More", href: "#about" }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/smiley-woman-playing-with-cute-dog-up-adoption_23-2148682991.jpg"
          imageAlt="Happy shelter dogs playing together"
          showDimOverlay={true}
        />
      </div>

      <div id="about" data-section="about">
        <TextSplitAbout
          title="About PawsHome"
          description={[
            "PawsHome Shelter has been dedicated to rescuing, rehabilitating, and rehoming abandoned animals for over 15 years. We believe every pet deserves a second chance and a loving family.",            "Our mission is to create a compassionate community where animals receive proper care, medical treatment, and attention while waiting for their forever homes. We're staffed by passionate volunteers and professionals committed to animal welfare.",            "Through education, community engagement, and professional care, we've successfully placed over 5,000 animals with loving families. Every adoption helps us save more lives."
          ]}
          buttons={[
            { text: "Volunteer With Us", href: "#contact" }
          ]}
          showBorder={true}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardTwo
          title="Meet Our Pets"
          description="Browse our wonderful animals waiting for loving homes. Each profile tells a unique story."
          products={[
            {
              id: "1",              brand: "PawsHome",              name: "Luna - Golden Retriever",              price: "Adoption Fee: $150",              rating: 5,
              reviewCount: "42 loves",              imageSrc: "https://img.b2bpic.net/free-photo/smiley-woman-posing-with-cute-rescue-dog_23-2148682981.jpg",              imageAlt: "Luna, a playful golden retriever puppy"
            },
            {
              id: "2",              brand: "PawsHome",              name: "Whiskers - Tabby Cat",              price: "Adoption Fee: $75",              rating: 5,
              reviewCount: "38 loves",              imageSrc: "https://img.b2bpic.net/free-photo/elegant-fashion-girls-summer-park_1157-21448.jpg",              imageAlt: "Whiskers, a friendly tabby cat"
            },
            {
              id: "3",              brand: "PawsHome",              name: "Hoppy - Rabbit",              price: "Adoption Fee: $60",              rating: 5,
              reviewCount: "25 loves",              imageSrc: "https://img.b2bpic.net/free-photo/smiley-woman-playing-shelter-with-dog-waiting-be-adopted_23-2148682992.jpg",              imageAlt: "Hoppy, a gentle and curious rabbit"
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="blur-reveal"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="feature" data-section="feature">
        <FeatureCardSeven
          title="Our Services"
          description="Comprehensive care and support for your new family member"
          tag="What We Offer"
          features={[
            {
              id: 1,
              title: "Medical Care & Vaccinations",              description: "All our animals receive complete health screenings, vaccinations, and necessary medical treatment before adoption.",              imageSrc: "https://img.b2bpic.net/free-photo/side-view-group-volunteers-taking-care-donations_23-2148687300.jpg"
            },
            {
              id: 2,
              title: "Behavioral Assessment",              description: "We evaluate each animal's temperament and behavior to ensure the perfect match with their forever family.",              imageSrc: "https://img.b2bpic.net/free-photo/side-view-group-volunteers-taking-care-donations_23-2148687300.jpg"
            },
            {
              id: 3,
              title: "Post-Adoption Support",              description: "Our team provides guidance, training resources, and ongoing support to ensure successful transitions.",              imageSrc: "https://img.b2bpic.net/free-photo/side-view-group-volunteers-taking-care-donations_23-2148687300.jpg"
            },
            {
              id: 4,
              title: "Volunteer Opportunities",              description: "Join our community and make a direct impact by helping care for animals in our shelter.",              imageSrc: "https://img.b2bpic.net/free-photo/side-view-group-volunteers-taking-care-donations_23-2148687300.jpg"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonial" data-section="testimonial">
        <TestimonialCardTwo
          title="Success Stories"
          description="Real families sharing their adoption journeys"
          testimonials={[
            {
              id: "1",              name: "Sarah Johnson",              role: "Pet Parent",              testimonial: "Luna has brought so much joy to our family. The team at PawsHome made the adoption process smooth and gave us all the support we needed.",              imageSrc: "https://img.b2bpic.net/free-photo/waist-up-smiling-mother-father-hugging-their-little-son-while-staying-outdoors-together_132075-10370.jpg"
            },
            {
              id: "2",              name: "Michael Chen",              role: "Dog Lover",              testimonial: "The care and attention they give to each animal is remarkable. We knew we were adopting from a place that truly cares.",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-family-lying-bed-christmas-time_329181-5983.jpg"
            },
            {
              id: "3",              name: "Emily Rodriguez",              role: "Cat Enthusiast",              testimonial: "Whiskers is the sweetest addition to our home. PawsHome's staff helped us understand her needs and personality perfectly.",              imageSrc: "https://img.b2bpic.net/free-photo/idyllic-family_1098-1277.jpg"
            },
            {
              id: "4",              name: "David Kim",              role: "Volunteer & Adopter",              testimonial: "I started volunteering and fell in love with one of our rabbits! The team genuinely cares about matching pets with the right families.",              imageSrc: "https://img.b2bpic.net/free-photo/picture-cheerful-young-caucasian-female-male-holds-their-child-hands-smiles-rejoices_132075-10480.jpg"
            },
            {
              id: "5",              name: "Jessica Lee",              role: "Family of Four",              testimonial: "Our kids learned so much about responsibility and compassion. Thank you PawsHome for our forever friend!",              imageSrc: "https://img.b2bpic.net/free-photo/waist-up-smiling-mother-father-hugging-their-little-son-while-staying-outdoors-together_132075-10370.jpg"
            },
            {
              id: "6",              name: "Robert Martinez",              role: "Senior Companion Seeker",              testimonial: "They found the perfect senior cat for me. The compatibility assessment was spot-on and she's been amazing company.",              imageSrc: "https://img.b2bpic.net/free-photo/picture-cheerful-young-caucasian-female-male-holds-their-child-hands-smiles-rejoices_132075-10480.jpg"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactFaq
          ctaTitle="Get in Touch"
          ctaDescription="Have questions about adoption or want to volunteer? We'd love to hear from you."
          ctaButton={{
            text: "Contact Us",            href: "mailto:info@pawshome.org"
          }}
          ctaIcon={Heart}
          faqs={[
            {
              id: "1",              title: "What is the adoption process?",              content: "Our adoption process includes an application, meet-and-greet with the pet, home check, and finalization. It typically takes 3-5 business days to ensure the best match."
            },
            {
              id: "2",              title: "Are the animals already neutered/spayed?",              content: "Yes, all animals adopted from PawsHome are already spayed or neutered, microchipped, and up-to-date on vaccinations."
            },
            {
              id: "3",              title: "Can I return the pet if it doesn't work out?",              content: "Absolutely. We want both pet and family to be happy. If it doesn't work out, we accept returns within 30 days, no questions asked."
            },
            {
              id: "4",              title: "Do you have senior or special needs animals?",              content: "Yes! We have many wonderful senior and special needs animals looking for homes. They make incredibly loving companions."
            },
            {
              id: "5",              title: "How can I volunteer?",              content: "Visit our volunteer page or contact us directly. We offer various roles from animal care to administrative support, flexible with your schedule."
            }
          ]}
          useInvertedBackground="noInvert"
          animationType="slide-up"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBase
          logoText="PawsHome"
          copyrightText="© 2025 PawsHome Shelter | Helping Animals Find Forever Homes"
          columns={[
            {
              title: "Quick Links",              items: [
                { label: "Browse Pets", href: "#products" },
                { label: "Adoption Info", href: "#about" },
                { label: "Services", href: "#feature" }
              ]
            },
            {
              title: "Get Involved",              items: [
                { label: "Volunteer", href: "#contact" },
                { label: "Donate", href: "#" },
                { label: "Sponsor an Animal", href: "#" }
              ]
            },
            {
              title: "Contact",              items: [
                { label: "info@pawshome.org", href: "mailto:info@pawshome.org" },
                { label: "(555) 123-4567", href: "tel:5551234567" },
                { label: "123 Pet Lane, Animal City, AC 12345", href: "#" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}