"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import InlineImageSplitTextAbout from '@/components/sections/about/InlineImageSplitTextAbout';
import FeatureCardOne from '@/components/sections/feature/FeatureCardOne';
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterBase from '@/components/sections/footer/FooterBase';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="smallMedium"
      sizing="mediumLargeSizeMediumTitles"
      background="aurora"
      cardStyle="layered-gradient"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="solid"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="Elevate Madrid"
          navItems={[
            { name: "Services", id: "services" },
            { name: "About", id: "about" },
            { name: "Work", id: "work" },
            { name: "Testimonials", id: "testimonials" }
          ]}
          button={{
            text: "Get Started",            href: "contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplitKpi
          title="Strategic Marketing Solutions for Madrid's Leading Brands"
          description="We craft data-driven strategies and compelling creative campaigns that transform businesses. From brand positioning to digital excellence, we help you stand out in Madrid's competitive market."
          background={{ variant: "plain" }}
          kpis={[
            { value: "150+", label: "Campaigns Delivered" },
            { value: "95%", label: "Client Satisfaction" },
            { value: "3x", label: "Average ROI Growth" }
          ]}
          enableKpiAnimation={true}
          tag="Elevate Your Brand"
          buttons={[
            { text: "Let's Talk", href: "contact" },
            { text: "See Our Work", href: "work" }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/empty-meeting-office-space-enterprise-used-workers-attend-conferences_482257-115920.jpg"
          imageAlt="Creative marketing team workspace"
          imagePosition="right"
        />
      </div>

      <div id="services" data-section="services">
        <ProductCardTwo
          title="Our Services"
          description="Comprehensive marketing solutions designed to elevate your brand and drive measurable results."
          tag="What We Offer"
          products={[
            {
              id: "1",              brand: "Strategy",              name: "Brand Strategy & Positioning",              price: "From €2,500",              rating: 5,
              reviewCount: "48",              imageSrc: "https://img.b2bpic.net/free-photo/team-work-process-young-business-managers-crew-working-with-new-startup-project-labtop-wood-table-typing-keyboard-texting-message-analyze-graph-plans_1423-85.jpg",              imageAlt: "Brand strategy consultation"
            },
            {
              id: "2",              brand: "Creative",              name: "Digital Design & Creative",              price: "From €3,200",              rating: 5,
              reviewCount: "52",              imageSrc: "https://img.b2bpic.net/free-vector/gradient-ui-ux-background_52683-68958.jpg",              imageAlt: "Digital design services"
            },
            {
              id: "3",              brand: "Content",              name: "Content Marketing & SEO",              price: "From €1,800",              rating: 5,
              reviewCount: "41",              imageSrc: "https://img.b2bpic.net/free-photo/working-office_1150-129.jpg",              imageAlt: "Content marketing strategy"
            }
          ]}
          textboxLayout="default"
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          buttons={[
            { text: "Explore All Services", href: "services" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <InlineImageSplitTextAbout
          heading={[
            { type: "text", content: "We're a creative collective based in Madrid, passionate about" },
            { type: "image", src: "https://img.b2bpic.net/free-photo/disabled-man-wheelchair-working-his-office-job_23-2149571107.jpg", alt: "Team collaboration" },
            { type: "text", content: "transforming brands through strategic thinking and beautiful execution." }
          ]}
          useInvertedBackground="noInvert"
          buttons={[
            { text: "Learn Our Story", href: "about" },
            { text: "Contact Us", href: "contact" }
          ]}
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardOne
          title="Our Approach"
          description="A strategic framework that combines data, creativity, and proven methodologies to deliver exceptional results."
          tag="How We Work"
          features={[
            {
              title: "Strategic Discovery",              description: "We deeply understand your market, audience, and competitive landscape to build a solid foundation for success.",              imageSrc: "https://img.b2bpic.net/free-photo/business-scene-top-view_23-2147626514.jpg",              imageAlt: "Strategic planning process"
            },
            {
              title: "Creative Execution",              description: "Our talented team brings your vision to life with stunning design, compelling copy, and innovative campaigns.",              imageSrc: "https://img.b2bpic.net/free-vector/people-starting-business-project-illustrated_23-2148865215.jpg",              imageAlt: "Creative execution and design"
            },
            {
              title: "Data & Analytics",              description: "We measure everything. Continuous optimization ensures your campaigns perform better and smarter every single day.",              imageSrc: "https://img.b2bpic.net/free-vector/line-graph-with-line-graph-that-says-number-s_698780-1079.jpg",              imageAlt: "Analytics and performance tracking"
            }
          ]}
          textboxLayout="default"
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardSix
          title="Loved by Brands Across Madrid"
          description="See what our clients have to say about working with us and the impact we've created for their businesses."
          tag="Client Testimonials"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          testimonials={[
            {
              id: "1",              name: "Carmen Rodríguez",              handle: "Founder, Tech Startup Madrid",              testimonial: "Elevate Madrid transformed our brand from unknown to industry leader. Their strategic approach and creative execution exceeded all expectations.",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              imageAlt: "Carmen Rodríguez"
            },
            {
              id: "2",              name: "Miguel Santos",              handle: "CEO, Luxury Retail Group",              testimonial: "Working with this team was seamless. They understood our premium positioning and delivered campaigns that resonated with our target audience perfectly.",              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: "Miguel Santos"
            },
            {
              id: "3",              name: "Elena García",              handle: "Marketing Director, E-commerce",              testimonial: "The ROI improvement was remarkable. Their data-driven approach and creative excellence have become integral to our marketing success.",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-competitive-employee_1098-2870.jpg",              imageAlt: "Elena García"
            },
            {
              id: "4",              name: "Jorge Moreno",              handle: "Director, Design Agency",              testimonial: "These guys get it. They combine strategic thinking with beautiful design in a way that's rare. Highly recommend for any ambitious brand.",              imageSrc: "https://img.b2bpic.net/free-photo/positive-confident-businessman-posing-outside_74855-1183.jpg",              imageAlt: "Jorge Moreno"
            },
            {
              id: "5",              name: "Sofia Alvarez",              handle: "COO, Professional Services Firm",              testimonial: "Outstanding partnership. Their team is collaborative, innovative, and genuinely invested in our success. Results speak for themselves.",              imageSrc: "https://img.b2bpic.net/free-photo/closeup-handsome-middle-aged-business-leader_1262-4822.jpg",              imageAlt: "Sofia Alvarez"
            },
            {
              id: "6",              name: "Antonio Fernández",              handle: "Founder, Social Impact Startup",              testimonial: "They brought our mission to life with authenticity and creativity. Their campaigns created real engagement and meaningful impact.",              imageSrc: "https://img.b2bpic.net/free-photo/positive-middle-aged-business-leader-window_1262-5388.jpg",              imageAlt: "Antonio Fernández"
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Let's Connect"
          title="Ready to Elevate Your Brand?"
          description="We'd love to hear about your project and discuss how we can help you achieve your marketing goals. Reach out today."
          background={{ variant: "plain" }}
          useInvertedBackground="noInvert"
          imageSrc="https://img.b2bpic.net/free-photo/empty-corporate-high-end-office-job-interviews-recruitment-process_482257-103043.jpg"
          imageAlt="Team meeting and collaboration"
          mediaPosition="right"
          inputPlaceholder="your@email.com"
          buttonText="Start Conversation"
          termsText="We respect your privacy. We'll only use your email to discuss your project and send you relevant updates."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBase
          logoText="Elevate Madrid"
          copyrightText="© 2025 Elevate Madrid. All rights reserved."
          columns={[
            {
              title: "Services",              items: [
                { label: "Brand Strategy", href: "services" },
                { label: "Digital Design", href: "services" },
                { label: "Content Marketing", href: "services" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "about" },
                { label: "Our Work", href: "work" },
                { label: "Team", href: "about" }
              ]
            },
            {
              title: "Connect",              items: [
                { label: "hello@elevatemadrid.com", href: "contact" },
                { label: "Instagram", href: "https://instagram.com" },
                { label: "LinkedIn", href: "https://linkedin.com" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}