"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleMinimal from '@/components/navbar/NavbarStyleMinimal';
import HeroLogoBillboard from '@/components/sections/hero/HeroLogoBillboard';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import FeatureCardMedia from '@/components/sections/feature/FeatureCardMedia';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
import MetricCardThree from '@/components/sections/metrics/MetricCardThree';
import TeamCardTen from '@/components/sections/team/TeamCardTen';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { CheckCircle, FileCheck, Heart, Home } from "lucide-react";

export default function PetShelterPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="smallMedium"
      sizing="largeSmallSizeLargeTitles"
      background="floatingGradient"
      cardStyle="subtle-shadow"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleMinimal 
          brandName="PawsHome"
          button={{
            text: "Adopt Now",            href: "#contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroLogoBillboard 
          logoText="Find Your Perfect Companion"
          description="Give a deserving pet a loving home. Browse our available animals and start your adoption journey today."
          imageSrc="https://img.b2bpic.net/free-photo/mother-her-daughter-playing-with-dog-family-autumn-park-pet-domestic-animal-lifestyle-concept_1157-42388.jpg"
          imageAlt="Happy pets looking for their forever homes"
          frameStyle="card"
        />
      </div>

      <div id="featured-pets" data-section="featured-pets">
        <ProductCardTwo 
          title="Featured Adoptable Pets"
          description="Meet some of our wonderful animals waiting for their forever homes. Each pet has its own unique personality and charm."
          products={[
            {
              id: "1",              brand: "Dogs",              name: "Max - Golden Retriever",              price: "Adoption Fee",              rating: 5,
              reviewCount: "42 loves",              imageSrc: "https://img.b2bpic.net/free-photo/mother-with-kids-dog-autumn-park_1303-17173.jpg",              imageAlt: "Max, a friendly golden retriever"
            },
            {
              id: "2",              brand: "Cats",              name: "Luna - Tabby Cat",              price: "Adoption Fee",              rating: 5,
              reviewCount: "38 loves",              imageSrc: "https://img.b2bpic.net/free-photo/medium-shot-mother-kid-hugging-dog_23-2148748707.jpg",              imageAlt: "Luna, a playful tabby kitten"
            },
            {
              id: "3",              brand: "Dogs",              name: "Shadow - Black Lab Mix",              price: "Adoption Fee",              rating: 5,
              reviewCount: "35 loves",              imageSrc: "https://img.b2bpic.net/free-photo/young-couple-husky_1328-2400.jpg",              imageAlt: "Shadow, a gentle black dog"
            },
            {
              id: "4",              brand: "Cats",              name: "Whiskers - Orange Kitten",              price: "Adoption Fee",              rating: 5,
              reviewCount: "31 loves",              imageSrc: "https://img.b2bpic.net/free-photo/cousins-spending-time-together-home-with-pet-dog_23-2150167139.jpg",              imageAlt: "Whiskers, an energetic orange kitten"
            },
            {
              id: "5",              brand: "Dogs",              name: "Buddy - Mixed Breed",              price: "Adoption Fee",              rating: 5,
              reviewCount: "45 loves",              imageSrc: "https://img.b2bpic.net/free-photo/young-couple-husky_1328-2398.jpg",              imageAlt: "Buddy, a cheerful mixed breed dog"
            },
            {
              id: "6",              brand: "Dogs",              name: "Pepper - Small Terrier",              price: "Adoption Fee",              rating: 5,
              reviewCount: "28 loves",              imageSrc: "https://img.b2bpic.net/free-photo/young-couple-love-outdoor-stunning-sensual-outdoor-portrait-young-stylish-fashion-couple-posing-summer-field_1328-3774.jpg",              imageAlt: "Pepper, an adorable small terrier"
            }
          ]}
          animationType="slide-up"
          gridVariant="bento-grid"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          buttons={[
            {
              text: "View All Available Pets",              href: "#contact"
            }
          ]}
        />
      </div>

      <div id="why-adopt" data-section="why-adopt">
        <FeatureCardMedia 
          title="Why Choose Adoption?"
          description="Adopting from a shelter means saving a life and gaining an incredible companion. Here's what makes adoption special."
          features={[
            {
              id: "1",              title: "Save a Life",              description: "Every adoption makes room for us to rescue more animals in need. Your choice directly impacts animal welfare in our community.",              tag: "Impact",              imageSrc: "https://img.b2bpic.net/free-photo/young-parents-their-small-daughter-enjoying-with-dog-home-grandparents-are-standing-background_637285-5542.jpg",              imageAlt: "Happy pet adoption"
            },
            {
              id: "2",              title: "Health Screening",              description: "All our pets are vaccinated, microchipped, and given a full health check before adoption. You get peace of mind knowing your new friend is healthy.",              tag: "Care",              imageSrc: "https://img.b2bpic.net/free-photo/young-parents-their-small-daughter-enjoying-with-dog-home-grandparents-are-standing-background_637285-5542.jpg",              imageAlt: "Professional pet care"
            },
            {
              id: "3",              title: "Lifetime Support",              description: "Our team is here for you and your pet for life. We offer adoption support, training resources, and behavioral guidance whenever you need it.",              tag: "Support",              imageSrc: "https://img.b2bpic.net/free-photo/young-parents-their-small-daughter-enjoying-with-dog-home-grandparents-are-standing-background_637285-5542.jpg",              imageAlt: "Pet care support"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFifteen 
          testimonial="Adopting Max changed our lives. He brought so much joy and love to our family. The shelter staff made the process seamless, and their ongoing support has been invaluable. We can't imagine our home without him!"
          rating={5}
          author="Sarah & Tom Johnson, Pet Parents"
          avatars={[
            {
              src: "https://img.b2bpic.net/free-photo/elderly-people-with-cat-pet_23-2150285636.jpg",              alt: "Happy family with their adopted dog"
            },
            {
              src: "https://img.b2bpic.net/free-photo/happy-parents-their-daughters-enjoying-home-having-fun-with-their-dog_637285-2878.jpg",              alt: "Satisfied pet owner with cat"
            },
            {
              src: "https://img.b2bpic.net/free-photo/cousins-spending-time-together-home-with-pet-dog_23-2150167127.jpg",              alt: "Child playing with adopted pet"
            },
            {
              src: "https://img.b2bpic.net/free-photo/cousins-spending-time-together-home-with-pet-dog_23-2150167125.jpg",              alt: "Couple enjoying time with pet"
            }
          ]}
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="adoption-process" data-section="adoption-process">
        <MetricCardThree 
          title="Our Adoption Process"
          description="We've made adoption simple and straightforward. Follow these easy steps to welcome a new family member home."
          metrics={[
            {
              id: "1",              icon: Heart,
              title: "Browse",              value: "Step 1"
            },
            {
              id: "2",              icon: FileCheck,
              title: "Apply",              value: "Step 2"
            },
            {
              id: "3",              icon: Home,
              title: "Meet & Greet",              value: "Step 3"
            },
            {
              id: "4",              icon: CheckCircle,
              title: "Adopt!",              value: "Step 4"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="team" data-section="team">
        <TeamCardTen 
          title="Meet Our Passionate Team"
          tag="Our Team"
          members={[
            {
              id: "1",              name: "Dr. Emily Chen",              imageSrc: "https://img.b2bpic.net/free-photo/brunette-girl-vet-clinic-examine-with-stethoscope-dog-breed-yorkshire-terrier_496169-183.jpg",              imageAlt: "Dr. Emily Chen, Veterinarian"
            },
            {
              id: "2",              name: "Marcus Thompson",              imageSrc: "https://img.b2bpic.net/free-photo/front-view-smiley-woman-holding-goat_23-2149514586.jpg",              imageAlt: "Marcus Thompson, Animal Care Specialist"
            },
            {
              id: "3",              name: "Jessica Rodriguez",              imageSrc: "https://img.b2bpic.net/free-photo/medium-shot-smiley-girl-posing-with-dog_23-2148861609.jpg",              imageAlt: "Jessica Rodriguez, Adoption Coordinator"
            },
            {
              id: "4",              name: "David Kim",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-veterinary-doctor-taking-care-pet_23-2149267966.jpg",              imageAlt: "David Kim, Volunteer Coordinator"
            }
          ]}
          memberVariant="card"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqSplitMedia 
          title="Frequently Asked Questions"
          description="Have questions about adoption? We've answered the most common ones below."
          faqs={[
            {
              id: "1",              title: "What is the adoption process?",              content: "Our adoption process is simple: Browse our available pets, complete an adoption application, meet your potential new family member, and if it's a good fit, finalize the adoption. The whole process typically takes 1-2 weeks."
            },
            {
              id: "2",              title: "What's included in the adoption fee?",              content: "The adoption fee covers vaccinations, microchipping, spaying/neutering, and health screening. Most pets are ready to go home immediately after adoption."
            },
            {
              id: "3",              title: "Can I return a pet if it doesn't work out?",              content: "Yes, we offer a 30-day adjustment period. If the pet isn't the right fit for your family, we'll work with you to find a solution. We want both you and your pet to be happy!"
            },
            {
              id: "4",              title: "Do you have pets for families with allergies?",              content: "Yes! We have hypoallergenic breeds and can help match you with pets that work for your family's needs. Talk to our adoption coordinators about your specific situation."
            },
            {
              id: "5",              title: "Can I visit the shelter to meet pets?",              content: "Absolutely! We welcome visitors by appointment. Call us or use our website to schedule a time that works best for you."
            },
            {
              id: "6",              title: "What if my pet has behavioral issues?",              content: "We provide ongoing behavioral support for all adopted pets. Our trainers and behaviorists are available to help you with any questions or concerns."
            }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/cousins-spending-time-together-home-with-pet-dog_23-2150167126.jpg"
          imageAlt="Pet shelter environment"
          mediaPosition="left"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="smooth"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia 
          imageSrc="https://img.b2bpic.net/free-photo/cousins-spending-time-together-home-with-pet-dog_23-2150167126.jpg"
          imageAlt="Pet shelter community"
          columns={[
            {
              title: "About",              items: [
                {
                  label: "Our Mission",                  href: "#about"
                },
                {
                  label: "Our Team",                  href: "#team"
                },
                {
                  label: "Success Stories",                  href: "#testimonials"
                }
              ]
            },
            {
              title: "Adoption",              items: [
                {
                  label: "Browse Pets",                  href: "#featured-pets"
                },
                {
                  label: "Adoption Process",                  href: "#adoption-process"
                },
                {
                  label: "Application",                  href: "#contact"
                }
              ]
            },
            {
              title: "Support",              items: [
                {
                  label: "FAQ",                  href: "#faq"
                },
                {
                  label: "Donate",                  href: "#contact"
                },
                {
                  label: "Volunteer",                  href: "#contact"
                }
              ]
            }
          ]}
          logoText="PawsHome"
          copyrightText="© 2025 PawsHome Pet Shelter. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}