"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroSplitDualMedia from '@/components/sections/hero/HeroSplitDualMedia';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
import TeamCardTwo from '@/components/sections/team/TeamCardTwo';
import FeatureHoverPattern from '@/components/sections/feature/featureHoverPattern/FeatureHoverPattern';
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterSimple from '@/components/sections/footer/FooterSimple';
import { Heart, Sparkles, TrendingUp, CheckCircle, Shield, Award, Users, Smile, HandshakeIcon, Zap, Star, Linkedin, Mail } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="slide-background"
      defaultTextAnimation="background-highlight"
      borderRadius="sharp"
      contentWidth="small"
      sizing="mediumLargeSizeMediumTitles"
      background="floatingGradient"
      cardStyle="outline"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="layered"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="PawsHome"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "Pets", id: "pets" },
            { name: "About", id: "about" },
            { name: "Stories", id: "stories" },
            { name: "Contact", id: "contact" }
          ]}
          button={{ text: "Adopt Now", href: "contact" }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplitDualMedia
          title="Give a Pet a Loving Home"
          description="Find your perfect companion at PawsHome. Discover the joy of pet adoption and change a life today. Every pet deserves a loving family."
          tag="Pet Adoption"
          tagIcon={Heart}
          background={{ variant: "plain" }}
          mediaItems={[
            {
              imageSrc: "https://img.b2bpic.net/free-photo/full-shot-women-dog-posing_23-2148977468.jpg",              imageAlt: "Happy adopted pets"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/front-view-cute-dogs-costumes_23-2148423680.jpg",              imageAlt: "Family with adopted pet"
            }
          ]}
          rating={5}
          ratingText="Trusted by families nationwide"
          buttons={[
            { text: "Browse Pets", href: "pets" },
            { text: "Learn More", href: "about" }
          ]}
        />
      </div>

      <div id="pets" data-section="pets">
        <ProductCardFour
          title="Meet Our Pets"
          description="Browse our available animals looking for their forever homes"
          tag="Available Now"
          tagIcon={Sparkles}
          products={[
            {
              id: "1",              name: "Max",              price: "Adoption Fee $150",              variant: "Golden Retriever · 3 years",              imageSrc: "https://img.b2bpic.net/free-photo/happy-pet-dogs-playing-park_1359-280.jpg",              imageAlt: "Max the Golden Retriever"
            },
            {
              id: "2",              name: "Luna",              price: "Adoption Fee $120",              variant: "Husky · 2 years",              imageSrc: "https://img.b2bpic.net/free-photo/direct-look-into-face-toller-dog-action_493961-844.jpg",              imageAlt: "Luna the Husky"
            },
            {
              id: "3",              name: "Whiskers",              price: "Adoption Fee $80",              variant: "Orange Tabby · 1 year",              imageSrc: "https://img.b2bpic.net/free-photo/beautiful-portrait-golden-retriever-park_181624-42402.jpg",              imageAlt: "Whiskers the Orange Tabby"
            },
            {
              id: "4",              name: "Shadow",              price: "Adoption Fee $75",              variant: "Black & White · 8 months",              imageSrc: "https://img.b2bpic.net/free-photo/person-enjoying-warm-nostalgic-sunset_52683-100692.jpg",              imageAlt: "Shadow the Black & White cat"
            }
          ]}
          textboxLayout="default"
          gridVariant="four-items-2x2-equal-grid"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          buttons={[
            { text: "View All Pets", href: "#" }
          ]}
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardOne
          title="Our Impact"
          description="Making a difference in the lives of animals every single day"
          tag="By The Numbers"
          tagIcon={TrendingUp}
          metrics={[
            {
              id: "1",              value: "2,450",              title: "Pets Adopted",              description: "Happy homes found",              icon: Heart
            },
            {
              id: "2",              value: "580",              title: "Lives Saved",              description: "Animals rescued this year",              icon: Shield
            },
            {
              id: "3",              value: "95%",              title: "Success Rate",              description: "Successful placements",              icon: CheckCircle
            },
            {
              id: "4",              value: "12",              title: "Years Strong",              description: "Serving our community",              icon: Award
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="team" data-section="team">
        <TeamCardTwo
          title="Meet Our Dedicated Team"
          description="Passionate professionals committed to animal welfare and adoption success"
          tag="Our Team"
          tagIcon={Users}
          members={[
            {
              id: "1",              name: "Dr. Sarah Chen",              role: "Veterinary Director",              description: "15+ years in animal healthcare. Ensures all our pets receive excellent medical care.",              imageSrc: "https://img.b2bpic.net/free-photo/dog-routine-medical-examination_329181-10373.jpg",              imageAlt: "Dr. Sarah Chen",              socialLinks: [
                { icon: Linkedin, url: "https://linkedin.com" },
                { icon: Mail, url: "mailto:sarah@pawshome.org" }
              ]
            },
            {
              id: "2",              name: "Marcus Williams",              role: "Adoption Counselor",              description: "Passionate about matching pets with perfect families. Expert in adoption support.",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-pretty-medical-nurse-smiling-camera-hospital-office-wearing-blue-uniform-healthcare-practitioner-sitting-desk-using-computer-modern-clinic-looking-monitor-medicine_482257-15886.jpg",              imageAlt: "Marcus Williams",              socialLinks: [
                { icon: Linkedin, url: "https://linkedin.com" },
                { icon: Mail, url: "mailto:marcus@pawshome.org" }
              ]
            },
            {
              id: "3",              name: "Emily Rodriguez",              role: "Volunteer Coordinator",              description: "Leads our volunteer program. Builds community engagement for animal care.",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-veterinary-doctor-taking-care-pet_23-2149267842.jpg",              imageAlt: "Emily Rodriguez",              socialLinks: [
                { icon: Linkedin, url: "https://linkedin.com" },
                { icon: Mail, url: "mailto:emily@pawshome.org" }
              ]
            },
            {
              id: "4",              name: "James Park",              role: "Dog Trainer",              description: "Specializes in behavior and training. Prepares pets for their new homes.",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-veterinarian-taking-care-dog_23-2149100190.jpg",              imageAlt: "James Park",              socialLinks: [
                { icon: Linkedin, url: "https://linkedin.com" },
                { icon: Mail, url: "mailto:james@pawshome.org" }
              ]
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="features" data-section="features">
        <FeatureHoverPattern
          title="Why Adopt From Us"
          description="Discover the benefits of choosing PawsHome for your next family member"
          tag="Our Promise"
          tagIcon={Smile}
          features={[
            {
              icon: CheckCircle,
              title: "Health Guaranteed",              description: "All pets receive comprehensive veterinary care and health certificates before adoption."
            },
            {
              icon: Heart,
              title: "Perfect Matching",              description: "Our experts match you with the ideal pet based on lifestyle and preferences."
            },
            {
              icon: HandshakeIcon,
              title: "Lifetime Support",              description: "We provide ongoing support and guidance throughout your pet's life with us."
            },
            {
              icon: Shield,
              title: "Safe & Trusted",              description: "All adoptions include a trial period and satisfaction guarantee for peace of mind."
            },
            {
              icon: Users,
              title: "Community Care",              description: "Join thousands of happy families who found their perfect companion with us."
            },
            {
              icon: Zap,
              title: "Quick Process",              description: "Simple, transparent adoption process that gets you home with your new pet quickly."
            }
          ]}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardSix
          title="Happy Adoptions"
          description="Real stories from families who found their perfect pet at PawsHome"
          tag="Success Stories"
          tagIcon={Star}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          testimonials={[
            {
              id: "1",              name: "Jessica Thompson",              handle: "@jessicahappy",              testimonial: "Finding Max was the best decision ever. The team made the entire process smooth and supportive. He's brought so much joy to our family!",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-young-woman_23-2148574874.jpg",              imageAlt: "Jessica Thompson"
            },
            {
              id: "2",              name: "David Martinez",              handle: "@davidloves_luna",              testimonial: "Luna has transformed our lives completely. The care and attention from PawsHome staff was incredible. Highly recommend to anyone considering adoption!",              imageSrc: "https://img.b2bpic.net/free-photo/caucasion-woman-casual-confident-concept_53876-137678.jpg",              imageAlt: "David Martinez"
            },
            {
              id: "3",              name: "Amanda Lee",              handle: "@amanda_whiskers",              testimonial: "Adopting Whiskers was seamless thanks to the fantastic team at PawsHome. They truly care about matching pets with the right families.",              imageSrc: "https://img.b2bpic.net/free-photo/positive-blond-girl-shows-tongue-winks-camera-makes-happy-funny-face-stands-against-white-background_176420-46979.jpg",              imageAlt: "Amanda Lee"
            },
            {
              id: "4",              name: "Robert Chen",              handle: "@robert_shadow_love",              testimonial: "Shadow has brought happiness to our home beyond measure. The support from PawsHome continues even after adoption. Fantastic organization!",              imageSrc: "https://img.b2bpic.net/free-photo/beautiful-woman-cafe_273609-12690.jpg",              imageAlt: "Robert Chen"
            },
            {
              id: "5",              name: "Sophie Garcia",              handle: "@sophie_pet_parent",              testimonial: "The adoption counselors understood exactly what we needed. Our new puppy is perfect for our family. Thank you PawsHome for everything!",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-young-woman_23-2148574874.jpg",              imageAlt: "Sophie Garcia"
            },
            {
              id: "6",              name: "Michael Adams",              handle: "@michael_adopted",              testimonial: "PawsHome made my adoption journey special. Their dedication to animal welfare is evident. Best decision I've made. Highly recommend!",              imageSrc: "https://img.b2bpic.net/free-photo/caucasion-woman-casual-confident-concept_53876-137678.jpg",              imageAlt: "Michael Adams"
            }
          ]}
          animationType="slide-up"
          speed={40}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Start Your Adoption Journey"
          description="Ready to find your perfect pet? Fill out the form below and our team will help match you with an ideal companion."
          useInvertedBackground="invertDefault"
          imageSrc="https://img.b2bpic.net/free-photo/man-with-greyhound-dog-home-couch_23-2150283078.jpg"
          imageAlt="Person with adopted pet"
          mediaPosition="right"
          inputs={[
            {
              name: "fullName",              type: "text",              placeholder: "Your Full Name",              required: true
            },
            {
              name: "email",              type: "email",              placeholder: "Your Email Address",              required: true
            },
            {
              name: "phone",              type: "tel",              placeholder: "Phone Number",              required: true
            },
            {
              name: "petInterest",              type: "text",              placeholder: "What type of pet are you interested in?",              required: false
            }
          ]}
          textarea={{
            name: "message",            placeholder: "Tell us about your lifestyle and what you're looking for in a pet...",            rows: 5,
            required: true
          }}
          buttonText="Submit Application"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSimple
          columns={[
            {
              title: "Quick Links",              items: [
                { label: "Home", href: "#hero" },
                { label: "Available Pets", href: "#pets" },
                { label: "About Us", href: "#features" },
                { label: "Contact", href: "#contact" }
              ]
            },
            {
              title: "Adoption",              items: [
                { label: "Adoption Process", href: "#" },
                { label: "Browse Pets", href: "#pets" },
                { label: "Application", href: "#contact" },
                { label: "Success Stories", href: "#testimonials" }
              ]
            },
            {
              title: "Support",              items: [
                { label: "FAQ", href: "#" },
                { label: "Contact Us", href: "#contact" },
                { label: "Volunteer", href: "#" },
                { label: "Donate", href: "#" }
              ]
            },
            {
              title: "About",              items: [
                { label: "Our Mission", href: "#" },
                { label: "Our Team", href: "#team" },
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" }
              ]
            }
          ]}
          bottomLeftText="© 2025 PawsHome Pet Shelter. All rights reserved."
          bottomRightText="Caring for pets, enriching lives."
        />
      </div>
    </ThemeProvider>
  );
}