"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroOverlay from '@/components/sections/hero/HeroOverlay';
import TextAbout from '@/components/sections/about/TextAbout';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import FeatureCardEight from '@/components/sections/feature/FeatureCardEight';
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';
import FaqBase from '@/components/sections/faq/FaqBase';
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import { Heart, TrendingUp, Users } from "lucide-react";

export default function PetShelterPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="background-highlight"
      borderRadius="pill"
      contentWidth="mediumLarge"
      sizing="mediumLargeSizeLargeTitles"
      background="blurBottom"
      cardStyle="subtle-shadow"
      primaryButtonStyle="inset-glow"
      secondaryButtonStyle="layered"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="Happy Paws"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "About", id: "about" },
            { name: "Adopt", id: "featured" },
            { name: "Stories", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
          button={{ text: "Start Adoption", href: "contact" }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroOverlay
          title="Find Your Perfect Companion"
          description="Welcome to Happy Paws Shelter. Discover loving pets waiting for their forever homes. Every adoption saves a life and brings joy to a family."
          tag="Open Hearts, Open Homes"
          imageSrc="http://img.b2bpic.net/free-photo/young-parents-their-small-daughter-enjoying-with-dog-home-grandparents-are-standing-background_637285-5542.jpg?_wi=1"
          imageAlt="Happy families with adopted pets"
          textPosition="center"
          showBlur={true}
          showDimOverlay={true}
          buttons={[
            { text: "Browse Pets", href: "featured" },
            { text: "Learn More", href: "about" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <TextAbout
          tag="About Happy Paws"
          title="Dedicated to giving every animal a loving home. For over 20 years, we've rescued, rehabilitated, and rehomed thousands of pets. Our mission is to connect compassionate families with animals in need."
          useInvertedBackground={false}
          buttons={[
            { text: "Our Story", href: "#" },
            { text: "Volunteer", href: "#" }
          ]}
        />
      </div>

      <div id="featured" data-section="featured">
        <ProductCardThree
          title="Meet Our Pets"
          description="Browse our available animals looking for loving homes"
          tag="New Arrivals"
          products={[
            {
              id: "1",              name: "Max - Golden Retriever Mix",              price: "Adoption Fee: $150",              imageSrc: "http://img.b2bpic.net/free-photo/happy-couple-guys-playing-with-their-dog-backyard-grass-cheerful-old-dog_158595-6547.jpg?_wi=1",              imageAlt: "Max, a friendly golden retriever mix",              initialQuantity: 1
            },
            {
              id: "2",              name: "Luna - Tabby Cat",              price: "Adoption Fee: $75",              imageSrc: "http://img.b2bpic.net/free-photo/little-boy-holds-black-white-kitty-his-shoulder_8353-8632.jpg?_wi=1",              imageAlt: "Luna, a beautiful tabby cat",              initialQuantity: 1
            },
            {
              id: "3",              name: "Hop - Holland Lop Rabbit",              price: "Adoption Fee: $50",              imageSrc: "http://img.b2bpic.net/free-photo/girl-plays-with-domestic-rabbit-street-pet-concept_169016-62268.jpg?_wi=1",              imageAlt: "Hop, an adorable Holland Lop rabbit",              initialQuantity: 1
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="benefits" data-section="benefits">
        <FeatureCardEight
          title="Why Choose Adoption"
          description="Adopting from a shelter is rewarding in countless ways"
          tag="Benefits of Adoption"
          features={[
            {
              id: 1,
              title: "Save a Life",              description: "Shelter animals desperately need homes. Your adoption directly saves a life and opens shelter space for another animal in need.",              imageSrc: "http://img.b2bpic.net/free-photo/woman-playing-with-rescue-dogs-shelter_23-2148682984.jpg"
            },
            {
              id: 2,
              title: "Health Screening",              description: "All our pets receive veterinary care, vaccinations, and health checks before adoption, ensuring your new companion is healthy.",              imageSrc: "http://img.b2bpic.net/free-photo/happy-couple-guys-playing-with-their-dog-backyard-grass-cheerful-old-dog_158595-6547.jpg?_wi=2"
            },
            {
              id: 3,
              title: "Expert Support",              description: "Our team provides ongoing support and guidance to help your pet adjust to their new home. We're here every step of the way.",              imageSrc: "http://img.b2bpic.net/free-photo/little-boy-holds-black-white-kitty-his-shoulder_8353-8632.jpg?_wi=2"
            },
            {
              id: 4,
              title: "Lower Costs",              description: "Adoption fees are significantly lower than breeder prices, and your pet is already spayed/neutered and vaccinated.",              imageSrc: "http://img.b2bpic.net/free-photo/girl-plays-with-domestic-rabbit-street-pet-concept_169016-62268.jpg?_wi=2"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardOne
          title="Our Impact"
          description="Happy Paws Shelter by the numbers"
          tag="Success Stats"
          metrics={[
            {
              id: "1",              value: "5000",              title: "Animals Rescued",              description: "Pets given second chances at life",              icon: Heart
            },
            {
              id: "2",              value: "4800",              title: "Happy Adoptions",              description: "Families united with their companions",              icon: Users
            },
            {
              id: "3",              value: "98",              title: "Success Rate",              description: "Pets thriving in their forever homes",              icon: TrendingUp
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwelve
          testimonials={[
            {
              id: "1",              name: "Sarah Mitchell",              imageSrc: "http://img.b2bpic.net/free-photo/young-parents-their-small-daughter-enjoying-with-dog-home-grandparents-are-standing-background_637285-5542.jpg?_wi=2"
            },
            {
              id: "2",              name: "James and Lisa Chen",              imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-couple-with-cute-cat_23-2149078326.jpg"
            },
            {
              id: "3",              name: "Emma Rodriguez",              imageSrc: "http://img.b2bpic.net/free-photo/little-girl-holds-puppy-her-arms_8353-153.jpg"
            },
            {
              id: "4",              name: "Michael Thompson",              imageSrc: "http://img.b2bpic.net/free-photo/happy-smiling-young-couple-hugging-their-dog-bridge_158595-6533.jpg"
            }
          ]}
          cardTitle="Over 4,800 families have found their perfect match through Happy Paws Shelter"
          cardTag="Success Stories"
          cardAnimation="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="process" data-section="process">
        <FaqBase
          title="How to Adopt"
          description="Our straightforward adoption process makes bringing your new pet home easy"
          tag="Adoption Steps"
          faqs={[
            {
              id: "1",              title: "What are the adoption requirements?",              content: "We require a valid photo ID, proof of residence, and a brief application. Adoptions are available to those 18 years and older. We conduct home visits for animals with special needs to ensure the right match."
            },
            {
              id: "2",              title: "What's included with adoption?",              content: "Your adoption fee includes microchipping, spay/neuter surgery, up-to-date vaccinations, flea and tick treatment, and a 30-day free trial of our pet insurance. We also provide a welcome packet with care tips."
            },
            {
              id: "3",              title: "Can I return a pet if it doesn't work out?",              content: "Yes, we want every adoption to be successful. If you need to return your pet for any reason within the first month, we offer a full refund and happily re-home the animal."
            },
            {
              id: "4",              title: "How long does the adoption process take?",              content: "Most adoptions are completed within 24-48 hours of application approval. Our team reviews applications carefully to ensure the best matches. For popular pets, first-come-first-served applies."
            },
            {
              id: "5",              title: "Do you have breed restrictions?",              content: "We do not adopt out animals that are aggressive or unsuitable for family life. We focus on matching the right animal with the right home. Our staff can help you find the perfect pet for your lifestyle."
            },
            {
              id: "6",              title: "What if I have questions after adoption?",              content: "Our adoption support team is available 24/7 via phone, email, or in-person visits. We provide free behavioral consultations and veterinary guidance for the first year of adoption."
            }
          ]}
          textboxLayout="default"
          useInvertedBackground={false}
          faqsAnimation="slide-up"
          showCard={true}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCTA
          tag="Ready to Adopt?"
          tagIcon={Heart}
          title="Start Your Journey Today"
          description="Begin your adoption application or visit us at Happy Paws Shelter. Our team is ready to help you find your perfect companion. Open Monday-Saturday, 10am-6pm."
          buttons={[
            { text: "Apply Now", href: "#" },
            { text: "Visit Us", href: "#" }
          ]}
          background={{ variant: "plain" }}
          useInvertedBackground={false}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseCard
          logoText="Happy Paws"
          columns={[
            {
              title: "Organization",              items: [
                { label: "About Us", href: "#about" },
                { label: "Our Mission", href: "#" },
                { label: "Volunteer", href: "#" },
                { label: "Donate", href: "#" }
              ]
            },
            {
              title: "Adoption",              items: [
                { label: "Available Pets", href: "#featured" },
                { label: "How to Adopt", href: "#process" },
                { label: "Adoption Fee", href: "#" },
                { label: "FAQ", href: "#" }
              ]
            },
            {
              title: "Connect",              items: [
                { label: "Contact Us", href: "#contact" },
                { label: "Visit Us", href: "#" },
                { label: "Phone: (555) 123-4567", href: "#" },
                { label: "Email: info@happypaws.org", href: "#" }
              ]
            },
            {
              title: "Legal",              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" },
                { label: "Accessibility", href: "#" }
              ]
            }
          ]}
          copyrightText="© 2025 Happy Paws Shelter. All rights reserved. Dedicated to animal welfare and adoption."
        />
      </div>
    </ThemeProvider>
  );
}