"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import HeroCarouselLogo from '@/components/sections/hero/heroCarouselLogo/HeroCarouselLogo';
import FeatureCardEight from '@/components/sections/feature/FeatureCardEight';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import MetricCardEleven from '@/components/sections/metrics/MetricCardEleven';
import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterCard from '@/components/sections/footer/FooterCard';
import { Briefcase, Building2, CheckCircle, Star, Mail } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="bounce-effect"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="small"
      sizing="large"
      background="aurora"
      cardStyle="outline"
      primaryButtonStyle="flat"
      secondaryButtonStyle="layered"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Heras"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "Services", id: "services" },
            { name: "About", id: "about" },
            { name: "Reviews", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
          button={{
            text: "Schedule Consultation",            href: "#contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroCarouselLogo
          logoText="HERAS"
          description="Reliable Tax & Administrative Solutions You Can Trust. Serving individuals and small businesses in San Diego with accurate, confidential, and personalized tax and administrative services."
          buttons={[
            { text: "Schedule a Consultation", href: "#contact" },
            { text: "Call (619) 319-0228", href: "tel:619-319-0228" }
          ]}
          slides={[
            {
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-young-office-worker-woman-sitting-office-desk-using-calculator-calculate-something-with-serious-confident-expression-face-working-office_141793-21256.jpg",              imageAlt: "Professional tax and accounting services"
            }
          ]}
          autoplayDelay={5000}
          showDimOverlay={true}
          logoLineHeight={1.2}
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardEight
          title="Our Services"
          description="Comprehensive tax preparation and administrative support tailored to your needs"
          tag="Services"
          tagIcon={Briefcase}
          features={[
            {
              id: 1,
              title: "Tax Preparation",              description: "Individual tax returns, small business tax preparation, filing assistance and compliance, and year-round tax support for complete peace of mind.",              imageSrc: "https://img.b2bpic.net/free-photo/positive-long-haired-woman-working-with-documents-laptop_1398-1767.jpg",              imageAlt: "Tax preparation and filing services"
            },
            {
              id: 2,
              title: "Administrative Solutions",              description: "Business paperwork organization, document preparation and filing, and comprehensive administrative support for growing small businesses.",              imageSrc: "https://img.b2bpic.net/free-photo/visa-application-composition-with-clipboard_23-2149117794.jpg",              imageAlt: "Business administration and organization"
            },
            {
              id: 3,
              title: "IRS Correspondence & Tax Planning",              description: "Professional IRS correspondence assistance, strategic tax planning and guidance, and personalized consultations tailored to your situation.",              imageSrc: "https://img.b2bpic.net/free-photo/working-from-home-time-management-concept_23-2149065330.jpg",              imageAlt: "IRS support and tax planning"
            }
          ]}
          textboxLayout="split"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="about" data-section="about">
        <TestimonialAboutCard
          tag="About Heras"
          tagIcon={Building2}
          title="Locally Owned & Operated Since 2015"
          description="Heras Administrative Solutions is a San Diego–based tax preparation and administrative services company dedicated to helping individuals and small businesses stay organized, compliant, and confident."
          subdescription="Our mission is to provide reliable, professional, and approachable services while building long-term relationships with our clients. 4.6★ Rated by Clients • Confidential & Secure"
          icon={CheckCircle}
          imageSrc="https://img.b2bpic.net/free-photo/cheerful-business-team-watching-presentation-laptop-sitting-workplace-staring-display-smiling-copy-space-business-meeting-concept_74855-11583.jpg"
          imageAlt="Heras Administrative Solutions team"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="why-choose-us" data-section="why-choose-us">
        <MetricCardEleven
          title="Why Choose Heras Administrative Solutions"
          description="We've built our reputation on providing personalized, accurate, and dependable service to the San Diego community."
          metrics={[
            {
              id: "1",              value: "Personalized",              title: "Service",              description: "We take time to understand your unique tax and administrative situation",              imageSrc: "https://img.b2bpic.net/free-photo/positive-long-haired-woman-working-with-documents-laptop_1398-1767.jpg",              imageAlt: "Personalized tax consultation"
            },
            {
              id: "2",              value: "Accuracy &",              title: "Compliance",              description: "Detail-oriented approach with up-to-date knowledge of current tax regulations",              imageSrc: "https://img.b2bpic.net/free-photo/visa-application-composition-with-clipboard_23-2149117794.jpg",              imageAlt: "Accurate tax compliance"
            },
            {
              id: "3",              value: "Local",              title: "Expertise",              description: "Proudly serving the San Diego community for years with established relationships",              imageSrc: "https://img.b2bpic.net/free-photo/working-from-home-time-management-concept_23-2149065330.jpg",              imageAlt: "Local San Diego business expertise"
            },
            {
              id: "4",              value: "Client-",              title: "Focused",              description: "Clear communication and dependable support throughout your engagement with us",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-young-office-worker-woman-sitting-office-desk-using-calculator-calculate-something-with-serious-confident-expression-face-working-office_141793-21256.jpg",              imageAlt: "Focused client service"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          animationType="slide-up"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardThirteen
          title="What Our Clients Say"
          description="Real testimonials from individuals and business owners in San Diego who trust us with their taxes and administrative needs"
          tag="Testimonials"
          tagIcon={Star}
          showRating={true}
          testimonials={[
            {
              id: "1",              name: "Michelle Rodriguez",              handle: "@mrodriguez_sd",              testimonial: "Professional, responsive, and extremely helpful. I finally feel confident about my taxes. Heras took the stress out of tax season and explained everything clearly.",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/medium-shot-woman-posing-indoors_23-2149915935.jpg",              imageAlt: "Michelle Rodriguez - Client testimonial"
            },
            {
              id: "2",              name: "David Chen",              handle: "@dchen_business",              testimonial: "Great experience from start to finish. Everything was explained clearly and handled efficiently. I trust Heras with my business taxes completely.",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/front-view-professional-business-woman-suit_23-2148603020.jpg",              imageAlt: "David Chen - Client testimonial"
            },
            {
              id: "3",              name: "Sarah Martinez",              handle: "@smartinez_freelance",              testimonial: "As a freelancer, tax preparation was overwhelming. Heras made it simple and stress-free. Highly recommend their personalized approach!",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-smiling-successful-businesswoman-looking-into-camera-sitting-restaurant-business-lady-with-stylish-hairstyle-wears-elegant-suit-business-meeting-attractive-appearance_8353-12611.jpg",              imageAlt: "Sarah Martinez - Client testimonial"
            },
            {
              id: "4",              name: "James Wilson",              handle: "@jwilson_smallbiz",              testimonial: "Local, reliable, and genuinely caring about helping small business owners. Heras has been invaluable to my company's financial organization.",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/happy-professional_1098-12931.jpg",              imageAlt: "James Wilson - Client testimonial"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="slide-up"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Get Started"
          tagIcon={Mail}
          title="Ready to Get Your Taxes Handled Right?"
          description="Contact Heras Administrative Solutions today to schedule your consultation. We're here to answer your questions and provide the professional tax and administrative support you deserve. Located in San Diego, CA."
          imageSrc="https://img.b2bpic.net/free-photo/portrait-young-office-worker-woman-sitting-office-desk-using-calculator-calculate-something-with-serious-confident-expression-face-working-office_141793-21256.jpg"
          imageAlt="Professional tax consultation"
          mediaPosition="right"
          inputPlaceholder="Enter your email address"
          buttonText="Sign Up for Updates"
          termsText="By signing up, you agree to receive tax tips and updates from Heras Administrative Solutions. We respect your privacy."
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterCard
          logoText="HERAS"
          copyrightText="© 2025 Heras Administrative Solutions. All Rights Reserved. | 7079 Mission Gorge Rd, Unit G, San Diego, CA 92120 | (619) 319-0228"
        />
      </div>
    </ThemeProvider>
  );
}