"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroOverlay from '@/components/sections/hero/HeroOverlay';
import TextAbout from '@/components/sections/about/TextAbout';
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';
import FooterCard from '@/components/sections/footer/FooterCard';
import { Rocket, Star, Linkedin, Twitter, Instagram } from 'lucide-react';
import Link from 'next/link';

export default function HomePage() {
  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="reveal-blur"
      borderRadius="rounded"
      contentWidth="small"
      sizing="medium"
      background="none"
      cardStyle="inset"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="solid"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={[
            { name: "Services", id: "/services" },
            { name: "Portfolio", id: "/portfolio" },
            { name: "Team", id: "/team" },
            { name: "Contact", id: "/contact" }
          ]}
          brandName="Pinnacle"
          bottomLeftText="Elevate Your Brand"
          bottomRightText="hello@pinnacle.marketing"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroOverlay
          title="Transform Your Brand into Market Leader"
          description="Strategic marketing solutions that drive growth, engagement, and measurable results for ambitious brands."
          tag="Full-Service Marketing Agency"
          tagIcon={Rocket}
          imageSrc="https://img.b2bpic.net/free-photo/teammates-working-late-office_23-2148991369.jpg"
          imageAlt="marketing agency team brainstorm office"
          textPosition="bottom-left"
          showBlur={true}
          showDimOverlay={false}
          buttons={[
            { text: "Start Your Strategy", href: "/contact" },
            { text: "View Our Work", href: "/portfolio" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <TextAbout
          title="We craft bold, data-driven marketing strategies that elevate brands and captivate audiences. With expertise across digital, creative, and analytics, we turn insights into impact."
          useInvertedBackground="invertDefault"
          buttons={[
            { text: "Learn Our Approach", href: "/services" },
            { text: "Schedule Consultation", href: "/contact" }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwelve
          cardTitle="Trusted by leading brands and forward-thinking companies"
          cardTag="Client Success Stories"
          cardTagIcon={Star}
          useInvertedBackground="noInvert"
          testimonials={[
            { id: "1", name: "Emily Stanford", imageSrc: "https://img.b2bpic.net/free-photo/happy-young-professional-posing-office_1262-21170.jpg", imageAlt: "Emily Stanford" },
            { id: "2", name: "David Park", imageSrc: "https://img.b2bpic.net/free-photo/positive-middle-aged-business-leader-window_1262-5388.jpg", imageAlt: "David Park" },
            { id: "3", name: "Lisa Thompson", imageSrc: "https://img.b2bpic.net/free-photo/close-up-businessman-with-tie_1098-2867.jpg", imageAlt: "Lisa Thompson" },
            { id: "4", name: "Robert Gonzalez", imageSrc: "https://img.b2bpic.net/free-photo/positive-confident-businessman-posing-outside_74855-1183.jpg", imageAlt: "Robert Gonzalez" }
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterCard
          logoText="Pinnacle"
          copyrightText="© 2025 Pinnacle Marketing. All rights reserved."
          socialLinks={[
            { icon: Linkedin, href: "https://linkedin.com/company/pinnacle-marketing", ariaLabel: "LinkedIn" },
            { icon: Twitter, href: "https://twitter.com/pinnacle_mkt", ariaLabel: "Twitter" },
            { icon: Instagram, href: "https://instagram.com/pinnacle.marketing", ariaLabel: "Instagram" }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}