"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroBillboardCarousel from '@/components/sections/hero/HeroBillboardCarousel';
import SplitAbout from '@/components/sections/about/SplitAbout';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
import MetricCardFourteen from '@/components/sections/metrics/MetricCardFourteen';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import { Award, Heart, Home, Mail, Shield, Sparkles, Users } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="expand-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="small"
      sizing="largeSizeMediumTitles"
      background="floatingGradient"
      cardStyle="glass-depth"
      primaryButtonStyle="inset-glow"
      secondaryButtonStyle="layered"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="PawsHome"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "About", id: "about" },
            { name: "Pets", id: "pets" },
            { name: "Stories", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
          button={{
            text: "Adopt Now",            href: "pets"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardCarousel
          title="Find Your Perfect Companion"
          description="Give a loving pet a second chance at happiness. Browse our wonderful animals waiting for their forever homes."
          tag="Adopt Today"
          tagIcon={Heart}
          background={{ variant: "sparkles-gradient" }}
          mediaItems={[
            {
              imageSrc: "https://img.b2bpic.net/free-photo/closeup-shot-cute-kromfohrlander-puppy-sitting-fresh-grass_181624-19827.jpg",              imageAlt: "Happy puppy waiting for adoption"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/selective-focus-shot-adorable-kooikerhondje-dog_181624-55413.jpg",              imageAlt: "Adorable kitten at the shelter"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/beagle-beautiful-shot-dog-grass_1161-359.jpg",              imageAlt: "Cute rabbit ready for a home"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/closeup-shot-adorable-white-puppy-blurred-background_181624-15998.jpg",              imageAlt: "Friendly hamster portrait"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/selective-focus-shot-cute-golden-retriever-puppy-sitting-grass-ground_181624-22002.jpg",              imageAlt: "Playful dog looking for a family"
            }
          ]}
          buttons={[
            { text: "Browse Pets", href: "pets" },
            { text: "Learn More", href: "about" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <SplitAbout
          title="Our Mission: Saving Lives, Creating Bonds"
          description="PawsHome Shelter has been dedicated to rescuing and caring for abandoned animals since 2010. We believe every pet deserves a loving home and we work tirelessly to make that happen."
          tag="About Us"
          tagIcon={Shield}
          useInvertedBackground="noInvert"
          imagePosition="right"
          textboxLayout="default"
          imageSrc="https://img.b2bpic.net/free-photo/smiley-woman-playing-with-cute-dog-up-adoption_23-2148682991.jpg"
          imageAlt="PawsHome shelter with volunteers and happy pets"
          bulletPoints={[
            {
              title: "1000+ Animals Rescued",              description: "We've successfully rescued and rehomed over 1000 animals since our founding.",              icon: Award
            },
            {
              title: "Expert Care",              description: "Our veterinary team provides comprehensive medical care and behavioral support.",              icon: Heart
            },
            {
              title: "Community Driven",              description: "Supported by dedicated volunteers and compassionate donors who share our mission.",              icon: Users
            },
            {
              title: "Forever Homes",              description: "We ensure every pet finds a perfect match through careful adoption matching.",              icon: Home
            }
          ]}
          buttons={[
            { text: "Volunteer With Us", href: "contact" }
          ]}
        />
      </div>

      <div id="pets" data-section="pets">
        <ProductCardFour
          title="Adoptable Pets"
          description="Meet some of our wonderful animals looking for their forever homes. Each pet has a unique personality and story."
          tag="Available Now"
          tagIcon={Sparkles}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          products={[
            {
              id: "max",              name: "Max - Golden Retriever",              price: "Adoption Fee: $150",              variant: "3 years old • Very Friendly",              imageSrc: "https://img.b2bpic.net/free-photo/russkiy-toy-sitting-floor_1398-4633.jpg",              imageAlt: "Golden Retriever Max"
            },
            {
              id: "luna",              name: "Luna - Orange Tabby",              price: "Adoption Fee: $75",              variant: "2 years old • Playful & Curious",              imageSrc: "https://img.b2bpic.net/free-photo/selective-focus-shot-adorable-kooikerhondje-dog-field_181624-29383.jpg",              imageAlt: "Orange Tabby Cat Luna"
            },
            {
              id: "buddy",              name: "Buddy - Beagle",              price: "Adoption Fee: $125",              variant: "1.5 years old • Energetic & Loving",              imageSrc: "https://img.b2bpic.net/free-photo/american-staffordshire-terrier-puppy-table_1150-18208.jpg",              imageAlt: "Beagle Puppy Buddy"
            }
          ]}
          buttons={[
            { text: "View All Pets", href: "contact" }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardOne
          title="Adoption Success Stories"
          description="Real families sharing how PawsHome helped them find their perfect pet and bring joy to their lives."
          tag="Happy Adoptions"
          tagIcon={Heart}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          testimonials={[
            {
              id: "1",              name: "Sarah Johnson",              role: "Dog Owner",              company: "Happy Family",              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=5g6w7m",              imageAlt: "Sarah Johnson with her adopted dog"
            },
            {
              id: "2",              name: "The Martinez Family",              role: "Pet Lovers",              company: "New Beginnings",              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=hmxz7e",              imageAlt: "Martinez family with their new pets"
            },
            {
              id: "3",              name: "Michael Chen",              role: "Cat Enthusiast",              company: "Peaceful Home",              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=k72bqi",              imageAlt: "Michael Chen with his adopted cat"
            },
            {
              id: "4",              name: "Emma Williams",              role: "First-time Adopter",              company: "Joy & Companionship",              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=nmzidr",              imageAlt: "Emma Williams with her rescue pet"
            }
          ]}
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardFourteen
          title="Our impact on animal lives and the community we serve is measured in every successful adoption and life changed."
          tag="Making a Difference"
          useInvertedBackground="noInvert"
          metrics={[
            {
              id: "1",              value: "1,250+",              description: "Animals rescued and rehomed to loving families since 2010."
            },
            {
              id: "2",              value: "98%",              description: "Of our adoptions are successful long-term placements with happy families."
            },
            {
              id: "3",              value: "500+",              description: "Active volunteers dedicating their time to animal care and support."
            },
            {
              id: "4",              value: "$2.5M",              description: "In veterinary care provided to animals annually through community donations."
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Stay Connected"
          tagIcon={Mail}
          title="Join Our Pet-Loving Community"
          description="Subscribe to our newsletter for adoption updates, pet care tips, volunteer opportunities, and heartwarming adoption stories."
          background={{ variant: "sparkles-gradient" }}
          useInvertedBackground="noInvert"
          imageSrc="https://img.b2bpic.net/free-photo/closeup-shot-cute-kromfohrlander-puppy-sitting-fresh-grass_181624-19827.jpg"
          imageAlt="Happy pets and people at PawsHome"
          mediaPosition="right"
          inputPlaceholder="your.email@example.com"
          buttonText="Subscribe"
          termsText="We respect your privacy. Unsubscribe at any time. We promise to only send you helpful pet adoption news and stories."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoReveal
          logoText="PawsHome"
          leftLink={{
            text: "Privacy Policy",            href: "#"
          }}
          rightLink={{
            text: "Contact Us",            href: "#"
          }}
        />
      </div>
    </ThemeProvider>
  );
}