"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
import MediaSplitTabsAbout from '@/components/sections/about/MediaSplitTabsAbout';
import FeatureCardEight from '@/components/sections/feature/FeatureCardEight';
import TeamCardThree from '@/components/sections/team/TeamCardThree';
import TestimonialCardEight from '@/components/sections/testimonial/TestimonialCardEight';
import MetricCardFive from '@/components/sections/metrics/MetricCardFive';
import ContactText from '@/components/sections/contact/ContactText';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import { Linkedin } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-shift"
      defaultTextAnimation="background-highlight"
      borderRadius="pill"
      contentWidth="mediumSmall"
      sizing="medium"
      background="none"
      cardStyle="gradient-bordered"
      primaryButtonStyle="layered-depth"
      secondaryButtonStyle="glass"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Sullivan & Associates"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "About", id: "about" },
            { name: "Services", id: "services" },
            { name: "Team", id: "team" },
            { name: "Testimonials", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
          button={{
            text: "Schedule Consultation",
            href: "contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboard
          title="Premier Legal Excellence in New York City"
          description="Trusted counsel for complex corporate, litigation, and commercial matters. Over 25 years serving NYC businesses and individuals with integrity and results."
          tag="Est. 1998"
          buttons={[
            { text: "Schedule Consultation", href: "contact" },
            { text: "Our Services", href: "services" }
          ]}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766938896016-15kyl7s5.jpg"
          imageAlt="Modern law office in New York City"
          frameStyle="card"
        />
      </div>

      <div id="about" data-section="about">
        <MediaSplitTabsAbout
          title="About Sullivan & Associates"
          description="Delivering exceptional legal solutions tailored to your unique needs"
          tabs={[
            {
              id: "expertise",
              label: "Our Expertise",
              description: "With over two decades of combined experience, our team specializes in corporate law, litigation, and commercial transactions. We pride ourselves on deep industry knowledge and strategic problem-solving."
            },
            {
              id: "approach",
              label: "Our Approach",
              description: "We believe in building long-term partnerships with our clients. Our collaborative approach ensures that your legal strategy aligns perfectly with your business goals and values."
            },
            {
              id: "commitment",
              label: "Our Commitment",
              description: "Excellence, integrity, and transparency guide every decision we make. We're committed to protecting your interests while maintaining the highest ethical standards."
            }
          ]}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766938357059-679lptt9.jpg"
          imageAlt="Sullivan & Associates legal team collaborating"
          imagePosition="right"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardEight
          title="Our Legal Services"
          description="A comprehensive range of legal expertise to serve your evolving needs"
          tag="Practice Areas"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          features={[
            {
              id: 1,
              title: "Corporate & Commercial Law",
              description: "From business formation to complex transactions, we guide companies through every stage of growth and strategic development.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766890617949-iq0qbvod.jpg"
            },
            {
              id: 2,
              title: "Litigation & Dispute Resolution",
              description: "Aggressive representation in civil litigation, employment disputes, and commercial conflicts with proven track records of favorable outcomes.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766890618746-4oj97n04.jpg"
            },
            {
              id: 3,
              title: "Contract & Negotiations",
              description: "Expert drafting and negotiation of complex agreements ensuring your interests are protected and terms are favorable.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766938358115-yf0y3wcs.jpg"
            },
            {
              id: 4,
              title: "Court Representation",
              description: "Skilled courtroom advocacy in state and federal courts, with extensive experience in high-stakes legal matters.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766938358973-7tc9sh0t.jpg"
            }
          ]}
        />
      </div>

      <div id="team" data-section="team">
        <TeamCardThree
          title="Our Team"
          description="Award-winning attorneys dedicated to your success"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="slide-up"
          members={[
            {
              id: "1",
              name: "Robert Sullivan",
              role: "Managing Partner & Senior Counsel",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766938360058-t14h8v9a.jpg",
              imageAlt: "Robert Sullivan, Managing Partner",
              socialLinks: [
                { icon: Linkedin, url: "https://linkedin.com" }
              ]
            },
            {
              id: "2",
              name: "Margaret Chen",
              role: "Partner, Litigation",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766938360888-2w3tfic9.jpg",
              imageAlt: "Margaret Chen, Litigation Partner",
              socialLinks: [
                { icon: Linkedin, url: "https://linkedin.com" }
              ]
            },
            {
              id: "3",
              name: "David Martinez",
              role: "Partner, Corporate Law",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766938356113-opfze8l1.jpg",
              imageAlt: "David Martinez, Corporate Partner",
              socialLinks: [
                { icon: Linkedin, url: "https://linkedin.com" }
              ]
            },
            {
              id: "4",
              name: "Jessica Williams",
              role: "Associate, Commercial Contracts",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766938361855-kj239hd9.jpg",
              imageAlt: "Jessica Williams, Associate Attorney",
              socialLinks: [
                { icon: Linkedin, url: "https://linkedin.com" }
              ]
            }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardEight
          title="Client Success Stories"
          description="Trusted by leading businesses and individuals throughout New York"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          testimonials={[
            {
              id: "1",
              name: "James Patterson",
              role: "CEO",
              company: "TechVentures Inc.",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766938362756-wc4s3kcx.jpg",
              imageAlt: "James Patterson testimonial"
            },
            {
              id: "2",
              name: "Sarah Klein",
              role: "Founder",
              company: "Klein & Associates Consulting",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766140101670-ttp7xdlv.jpg",
              imageAlt: "Sarah Klein testimonial"
            },
            {
              id: "3",
              name: "Michael Torres",
              role: "General Counsel",
              company: "Metropolitan Manufacturing",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766938357059-679lptt9.jpg",
              imageAlt: "Michael Torres testimonial"
            },
            {
              id: "4",
              name: "Linda Brooks",
              role: "Business Owner",
              company: "Brooks Real Estate Group",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766140152452-p4x3ah4p.jpg",
              imageAlt: "Linda Brooks testimonial"
            },
            {
              id: "5",
              name: "Christopher Lee",
              role: "CFO",
              company: "Financial Solutions Corp",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766140103339-f3be0gdh.jpg",
              imageAlt: "Christopher Lee testimonial"
            },
            {
              id: "6",
              name: "Amanda Johnson",
              role: "Executive Director",
              company: "Community Development Partners",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766320184384-whnns6as.jpg",
              imageAlt: "Amanda Johnson testimonial"
            }
          ]}
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardFive
          title="Our Impact in Numbers"
          description="Delivering measurable results for our clients"
          tag="Key Metrics"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="slide-up"
          metrics={[
            {
              id: "1",
              value: "25+",
              description: "Years of combined legal expertise and industry leadership"
            },
            {
              id: "2",
              value: "500+",
              description: "Successful cases resolved with favorable outcomes"
            },
            {
              id: "3",
              value: "98%",
              description: "Client satisfaction rate and repeat business rate"
            },
            {
              id: "4",
              value: "$2B+",
              description: "Total value of transactions and settlements handled"
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactText
          text="Ready to move forward with your legal matter? Contact our team today for a confidential consultation."
          animationType="background-highlight"
          buttons={[
            { text: "Schedule Your Consultation", href: "mailto:info@sullivanassociates.com" },
            { text: "Call (212) 555-0123", href: "tel:+12125550123" }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoReveal
          logoText="Sullivan & Associates"
        />
      </div>
    </ThemeProvider>
  );
}