"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import HeroLogoBillboard from '@/components/sections/hero/HeroLogoBillboard';
import TextAbout from '@/components/sections/about/TextAbout';
import FeatureCardSeven from '@/components/sections/feature/FeatureCardSeven';
import MetricCardEleven from '@/components/sections/metrics/MetricCardEleven';
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterMedia from '@/components/sections/footer/FooterMedia';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="expand-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="sharp"
      contentWidth="mediumSmall"
      sizing="medium"
      background="plain"
      cardStyle="glass-elevated"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="SMART Solutions"
          navItems={[
            { name: "About", id: "about" },
            { name: "Services", id: "services" },
            { name: "Why Us", id: "why-us" },
            { name: "Testimonials", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroLogoBillboard
          logoText="Clear. Smart. Financial Solutions."
          description="Trusted tax, financial, and insurance services for individuals and small businesses in San Diego."
          imageSrc="https://img.b2bpic.net/free-photo/miami-skyscrapers-with-bridge-sea-day_649448-4790.jpg"
          imageAlt="San Diego skyline"
          frameStyle="card"
          logoLineHeight={1.1}
          ariaLabel="SMART Solutions hero section"
        />
      </div>

      <div id="about" data-section="about">
        <TextAbout
          title="At SMART Solutions Financial & Insurance Services, Inc., we provide professional, patient, and personalized financial services. From individual tax preparation to small-business bookkeeping and insurance guidance, we help clients make confident, informed decisions—year after year."
          useInvertedBackground="invertDefault"
          buttons={[
            { text: "Schedule a Consultation", href: "contact" }
          ]}
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardSeven
          title="Our Services"
          description="Comprehensive financial solutions tailored to your needs"
          tag="What We Offer"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          features={[
            {
              id: 1,
              title: "Tax Preparation & Planning",              description: "Personal & small-business tax services with year-round support. We help you maximize deductions and minimize your tax burden.",              imageSrc: "https://img.b2bpic.net/free-photo/teamwork-scene-close-up_23-2147626393.jpg",              imageAlt: "Tax preparation and planning"
            },
            {
              id: 2,
              title: "Business Services",              description: "Bookkeeping, financial guidance, and compliance support. Keep your business finances organized and compliant.",              imageSrc: "https://img.b2bpic.net/free-photo/modern-economists_1098-12944.jpg",              imageAlt: "Business financial services"
            },
            {
              id: 3,
              title: "Insurance Solutions",              description: "Business and personal insurance advisory. Protect what matters most with tailored coverage recommendations.",              imageSrc: "https://img.b2bpic.net/free-photo/full-shot-people-working-laptop_23-2149963926.jpg",              imageAlt: "Insurance advisory services"
            },
            {
              id: 4,
              title: "Financial Consultations",              description: "Clear answers to complex financial questions. Our experts help you understand your options and plan for the future.",              imageSrc: "https://img.b2bpic.net/free-photo/business-partners_1098-17974.jpg",              imageAlt: "Financial consultation"
            }
          ]}
        />
      </div>

      <div id="why-us" data-section="why-us">
        <MetricCardEleven
          title="Why Clients Choose Us"
          description="Proven expertise and commitment to your financial success"
          textboxLayout="default"
          animationType="blur-reveal"
          useInvertedBackground="invertDefault"
          metrics={[
            {
              id: "1",              value: "4.4★",              title: "Client Rating",              description: "Highly trusted by local clients",              imageSrc: "https://img.b2bpic.net/free-photo/business-partners_1098-17974.jpg",              imageAlt: "Professional office environment"
            },
            {
              id: "2",              value: "20+",              title: "Years Experience",              description: "Decades of financial expertise",              imageSrc: "https://img.b2bpic.net/free-photo/miami-skyscrapers-with-bridge-sea-day_649448-4790.jpg",              imageAlt: "San Diego business district"
            },
            {
              id: "3",              value: "500+",              title: "Clients Served",              description: "Long-term relationships built on trust",              imageSrc: "https://img.b2bpic.net/free-photo/modern-economists_1098-12944.jpg",              imageAlt: "Client success stories"
            },
            {
              id: "4",              value: "100%",              title: "Personalized",              description: "No one-size-fits-all approach",              imageSrc: "https://img.b2bpic.net/free-photo/teamwork-scene-close-up_23-2147626393.jpg",              imageAlt: "Customized financial solutions"
            }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardOne
          title="What Our Clients Say"
          description="Real feedback from individuals and business owners we've helped"
          gridVariant="uniform-all-items-equal"
          textboxLayout="default"
          animationType="scale-rotate"
          useInvertedBackground="noInvert"
          testimonials={[
            {
              id: "1",              name: "Sarah Martinez",              role: "Small Business Owner",              company: "Marketing Agency",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/smiling-homosexual-man-official-suit-looking-camera-close-up-shot-happy-gay-getting-dressed-wedding-ceremony-standing-hotel-room-with-his-partner-background-love-emotion-concept_74855-22675.jpg",              imageAlt: "Sarah Martinez"
            },
            {
              id: "2",              name: "James Chen",              role: "CPA",              company: "Tech Startup",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              imageAlt: "James Chen"
            },
            {
              id: "3",              name: "Michelle Rodriguez",              role: "Freelance Consultant",              company: "Independent",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/businesswoman-glasses-portrait_1262-1461.jpg",              imageAlt: "Michelle Rodriguez"
            },
            {
              id: "4",              name: "David Thompson",              role: "CFO",              company: "Family Business",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/blond-business-woman-blue-shirt_23-2148095792.jpg",              imageAlt: "David Thompson"
            },
            {
              id: "5",              name: "Lisa Anderson",              role: "Executive Director",              company: "Non-Profit",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-woman-working-business-with-computer_482257-20185.jpg",              imageAlt: "Lisa Anderson"
            },
            {
              id: "6",              name: "Robert Garcia",              role: "Business Owner",              company: "Retail Company",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/close-up-image-trendy-looking-androgynal-female-with-make-up-hair-combed-back-posing-dressed-oversize-gray-men-s-jacket-looking-with-serious-facial-expression_343059-3174.jpg",              imageAlt: "Robert Garcia"
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Get Started"
          title="Ready to Take Control of Your Finances?"
          description="Schedule your consultation today and discover how SMART Solutions can help you achieve your financial goals."
          inputPlaceholder="Enter your email"
          buttonText="Book Appointment"
          termsText="We respect your privacy. We'll only use your information to schedule your consultation."
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="https://img.b2bpic.net/free-photo/miami-skyscrapers-with-bridge-sea-day_649448-4790.jpg"
          imageAlt="San Diego business skyline"
          logoText="SMART Solutions"
          copyrightText="© 2025 SMART Solutions Financial & Insurance Services, Inc. All rights reserved."
          columns={[
            {
              title: "Services",              items: [
                { label: "Tax Preparation", href: "services" },
                { label: "Bookkeeping", href: "services" },
                { label: "Insurance Solutions", href: "services" },
                { label: "Financial Consulting", href: "services" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "about" },
                { label: "Testimonials", href: "testimonials" },
                { label: "Contact", href: "contact" }
              ]
            },
            {
              title: "Contact Info",              items: [
                { label: "📍 San Diego, CA 92115", href: "#" },
                { label: "📞 (619) 356-4121", href: "tel:6193564121" },
                { label: "📧 info@smartsolutions.com", href: "mailto:info@smartsolutions.com" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}