"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroBillboardRotatedCarousel from '@/components/sections/hero/HeroBillboardRotatedCarousel';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import MetricCardSeven from '@/components/sections/metrics/MetricCardSeven';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import { Heart, Sparkles, Award, Mail } from "lucide-react";

export default function PetShelterPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="bounce-effect"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="medium"
      sizing="mediumLargeSizeMediumTitles"
      background="none"
      cardStyle="inset"
      primaryButtonStyle="flat"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          brandName="PawsPlace"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "Adopt", id: "product" },
            { name: "About", id: "metric" },
            { name: "Stories", id: "testimonial" },
            { name: "Contact", id: "contact" }
          ]}
          bottomLeftText="Giving pets loving homes"
          bottomRightText="info@pawsplace.org"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardRotatedCarousel
          title="Find Your Perfect Companion"
          description="Every animal deserves a loving home. Browse our adoptable pets and start your journey today."
          tag="Open for Adoptions"
          tagIcon={Heart}
          buttons={[
            { text: "Browse Pets", href: "#product" },
            { text: "Learn More", href: "#metric" }
          ]}
          carouselItems={[
            {
              id: "1",              imageSrc: "https://img.b2bpic.net/free-photo/closeup-adorable-five-purebred-italian-bracco-puppy-dogs-basket-meadow_181624-53406.jpg",              imageAlt: "Adorable puppies"
            },
            {
              id: "2",              imageSrc: "https://img.b2bpic.net/free-photo/funny-newborn-puppies-sleep-near-basket-blanket_169016-12359.jpg",              imageAlt: "Playful kittens"
            },
            {
              id: "3",              imageSrc: "https://img.b2bpic.net/free-photo/cute-group-beagle-puppy-sitting-panting_1150-18200.jpg",              imageAlt: "Happy family with dog"
            },
            {
              id: "4",              imageSrc: "https://img.b2bpic.net/free-photo/selective-focus-shot-two-cute-cocker-spaniel-puppies-with-pink-blue-bows-wooden-bowl_181624-43662.jpg",              imageAlt: "Cute rabbits"
            },
            {
              id: "5",              imageSrc: "https://img.b2bpic.net/free-photo/four-cute-golden-retriever-puppies-resting-grass-ground_181624-26268.jpg",              imageAlt: "Friendly cat"
            },
            {
              id: "6",              imageSrc: "https://img.b2bpic.net/free-photo/closeup-shot-cute-fluffy-border-collie-puppies_181624-50967.jpg",              imageAlt: "Playful puppies"
            }
          ]}
          autoPlay={true}
          autoPlayInterval={4000}
        />
      </div>

      <div id="product" data-section="product">
        <ProductCardThree
          title="Meet Our Available Animals"
          description="Meet some of the wonderful pets waiting for their forever homes. Each one is unique and ready to bring joy to your life."
          tag="Featured Adoptables"
          tagIcon={Sparkles}
          buttons={[{ text: "View All", href: "#" }]}
          products={[
            {
              id: "1",              name: "Max - Golden Retriever",              price: "Adoption Fee",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-black-dachshund-puppies_342744-529.jpg",              imageAlt: "Max the Golden Retriever",              initialQuantity: 1,
              isFavorited: false
            },
            {
              id: "2",              name: "Buddy - Beagle Mix",              price: "Adoption Fee",              imageSrc: "https://img.b2bpic.net/free-photo/funny-newborn-puppies-sleep-near-basket-blanket_169016-11523.jpg",              imageAlt: "Buddy the Beagle Mix",              initialQuantity: 1,
              isFavorited: false
            },
            {
              id: "3",              name: "Whiskers - Orange Tabby",              price: "Adoption Fee",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-five-adorable-golden-retriever-puppies_53876-64780.jpg",              imageAlt: "Whiskers the Orange Cat",              initialQuantity: 1,
              isFavorited: false
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="metric" data-section="metric">
        <MetricCardSeven
          title="Our Impact"
          description="Since our founding, we've been committed to finding loving homes for animals in need."
          tag="Success Stories"
          tagIcon={Award}
          metrics={[
            {
              id: "1",              value: "2,847",              title: "Animals Adopted",              items: ["Dogs, cats, rabbits, and more", "Successful matches made", "Lives transformed"]
            },
            {
              id: "2",              value: "98%",              title: "Adoption Success Rate",              items: ["Happy families", "Lasting relationships", "Community impact"]
            },
            {
              id: "3",              value: "15+",              title: "Years of Service",              items: ["Dedicated staff", "Passionate volunteers", "Continuous growth"]
            },
            {
              id: "4",              value: "500+",              title: "Animals Rescued",              items: ["From difficult situations", "Provided medical care", "Now thriving"]
            }
          ]}
          gridVariant="four-items-2x2-equal-grid"
          animationType="scale-rotate"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="testimonial" data-section="testimonial">
        <TestimonialCardFive
          title="Stories of Love and Joy"
          description="Hear from families whose lives have been transformed by their new companions."
          tag="Happy Adopters"
          tagIcon={Heart}
          testimonials={[
            {
              id: "1",              name: "Sarah Johnson, Mom of Two",              date: "Date: December 2024",              title: "Max brought our family together",              quote: "When we adopted Max, we didn't know how much joy a dog could bring to our lives. He's been the perfect addition to our family and has taught our children so much about love and responsibility.",              tag: "Dog Parent",              avatarSrc: "https://img.b2bpic.net/free-photo/portrait-young-woman_23-2148574874.jpg",              avatarAlt: "Sarah Johnson",              imageSrc: "https://img.b2bpic.net/free-photo/dog-cute-group-beagle-puppy-sitting-panting_1150-18198.jpg",              imageAlt: "Family playing with Max"
            },
            {
              id: "2",              name: "Michael Chen, Tech Professional",              date: "Date: November 2024",              title: "Whiskers saved my lonely days",              quote: "Working from home can be isolating, but Whiskers has been my constant companion. She greets me every morning and has become my best friend. I can't imagine life without her.",              tag: "Cat Lover",              avatarSrc: "https://img.b2bpic.net/free-photo/caucasion-woman-casual-confident-concept_53876-137678.jpg",              avatarAlt: "Michael Chen",              imageSrc: "https://img.b2bpic.net/free-photo/beagles-puppies-yawning_1150-18201.jpg",              imageAlt: "Michael with his cat"
            },
            {
              id: "3",              name: "Emma Wilson, Young Professional",              date: "Date: October 2024",              title: "A best friend for life",              quote: "Adopting Buddy was the best decision I ever made. He's energetic, loving, and has helped me get more exercise and meet new people in our neighborhood. He's truly my best friend.",              tag: "Dog Owner",              avatarSrc: "https://img.b2bpic.net/free-photo/positive-blond-girl-shows-tongue-winks-camera-makes-happy-funny-face-stands-against-white-background_176420-46979.jpg",              avatarAlt: "Emma Wilson",              imageSrc: "https://img.b2bpic.net/free-photo/closeup-adorable-three-purebred-italian-bracco-puppy-dogs-standing-stone-stairs_181624-52127.jpg",              imageAlt: "Emma playing with Buddy"
            },
            {
              id: "4",              name: "Robert Martinez, Retiree",              date: "Date: September 2024",              title: "A peaceful companion in my golden years",              quote: "As I retired, I needed companionship. Bailey, my senior dog from the shelter, has been absolutely perfect. We take long walks together and enjoy quiet evenings. She's given me a new purpose.",              tag: "Senior Dog Adopter",              avatarSrc: "https://img.b2bpic.net/free-photo/young-woman-smiling_176474-95672.jpg",              avatarAlt: "Robert Martinez",              imageSrc: "https://img.b2bpic.net/free-photo/shallow-focus-shot-old-golden-retriever-with-four-puppies-resting-grass-ground_181624-20942.jpg",              imageAlt: "Robert with his senior dog"
            },
            {
              id: "5",              name: "Lisa Anderson, Animal Lover",              date: "Date: August 2024",              title: "Small pet, big love",              quote: "I adopted Fluffy, our rabbit, thinking it would be a low-commitment pet. Instead, she's become a beloved family member with so much personality. Rescue animals truly are special.",              tag: "Small Pet Parent",              avatarSrc: "https://img.b2bpic.net/free-photo/stylish-woman-wearing-yellow-bandana_273609-13341.jpg",              avatarAlt: "Lisa Anderson",              imageSrc: "https://img.b2bpic.net/free-photo/dog-cute-group-beagle-puppy-sitting-panting_1150-18202.jpg",              imageAlt: "Lisa with her rabbit"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Stay Connected"
          title="Join Our Community"
          description="Subscribe to our newsletter for adoption updates, pet care tips, and stories about our rescue animals. Help us find homes for more pets in need."
          tagIcon={Mail}
          imageSrc="https://img.b2bpic.net/free-photo/closeup-shot-labrador-retriever-puppies-mother-green-grass_181624-57165.jpg"
          imageAlt="Shelter animals"
          mediaPosition="right"
          inputPlaceholder="Enter your email"
          buttonText="Subscribe"
          termsText="We respect your privacy. Unsubscribe at any time."
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseCard
          logoText="PawsPlace"
          columns={[
            {
              title: "Adopt",              items: [
                { label: "Available Pets", href: "#product" },
                { label: "Adoption Process", href: "#" },
                { label: "Success Stories", href: "#testimonial" }
              ]
            },
            {
              title: "About",              items: [
                { label: "Our Mission", href: "#metric" },
                { label: "Our Team", href: "#" },
                { label: "News", href: "#" }
              ]
            },
            {
              title: "Support",              items: [
                { label: "Donate", href: "#" },
                { label: "Volunteer", href: "#" },
                { label: "Foster a Pet", href: "#" }
              ]
            },
            {
              title: "Contact",              items: [
                { label: "Email", href: "mailto:info@pawsplace.org" },
                { label: "Phone", href: "tel:+1234567890" },
                { label: "Location", href: "#" }
              ]
            }
          ]}
          copyrightText="© 2025 PawsPlace. Giving animals loving homes since 2010."
        />
      </div>
    </ThemeProvider>
  );
}