"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroBillboardTestimonial from '@/components/sections/hero/HeroBillboardTestimonial';
import AboutMetric from '@/components/sections/about/AboutMetric';
import FeatureCardTwentySeven from '@/components/sections/feature/FeatureCardTwentySeven';
import MetricCardTen from '@/components/sections/metrics/MetricCardTen';
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterCard from '@/components/sections/footer/FooterCard';
import { Sparkles, Zap, CheckCircle, Star, Mail, Linkedin, Twitter, Instagram, TrendingUp, Users, Globe, Award, Quote } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="directional-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="soft"
      contentWidth="compact"
      sizing="largeSmallSizeLargeTitles"
      background="circleGradient"
      cardStyle="solid"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="solid"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="Connections"
          navItems={[
            { name: "About", id: "about" },
            { name: "Services", id: "services" },
            { name: "Testimonials", id: "testimonials" },
            { name: "Contact", id: "contact" },
            { name: "Work", id: "work" }
          ]}
          button={{ text: "Get Started", href: "contact" }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardTestimonial
          title="Connect With Your Audience"
          description="We create meaningful connections between brands and their customers through strategic design, innovative digital solutions, and compelling storytelling."
          tag="Creative Agency"
          tagIcon={Sparkles}
          tagAnimation="slide-up"
          background={{ variant: "circleGradient" }}
          imageSrc="http://img.b2bpic.net/free-photo/team-diverse-coworkers-modern-office-discuss-their-project-together_93675-133516.jpg"
          imageAlt="Modern agency collaboration workspace"
          mediaAnimation="slide-up"
          useInvertedBackground={false}
          buttons={[
            { text: "Explore Our Work", href: "work" },
            { text: "Let's Talk", href: "contact" }
          ]}
          buttonAnimation="slide-up"
          testimonials={[
            {
              name: "Sarah Mitchell",              handle: "CEO, Digital Ventures",              testimonial: "Connections Agency transformed how we engage with our clients. Outstanding work!",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              imageAlt: "professional portrait business avatar corporate profile headshot"
            },
            {
              name: "Michael Chen",              handle: "Founder, Tech Innovations",              testimonial: "Their strategic approach and creative excellence exceeded all our expectations.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              imageAlt: "professional portrait business avatar corporate profile headshot"
            }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <AboutMetric
          title="We connect brands with purpose through innovative strategy, compelling design, and measurable results."
          metrics={[
            { icon: TrendingUp, label: "Projects Completed", value: "150+" },
            { icon: Users, label: "Happy Clients", value: "85+" },
            { icon: Globe, label: "Countries Served", value: "12" },
            { icon: Award, label: "Awards Won", value: "28" }
          ]}
          metricsAnimation="slide-up"
          useInvertedBackground={true}
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardTwentySeven
          title="Our Services"
          description="We offer comprehensive solutions to elevate your brand and connect you with your audience."
          tag="Services"
          tagIcon={Zap}
          tagAnimation="slide-up"
          features={[
            {
              id: "strategy",              title: "Strategic Consulting",              description: "We develop comprehensive brand strategies that align with your business goals, market positioning, and audience insights to drive meaningful growth.",              imageSrc: "http://img.b2bpic.net/free-photo/business-executives-reviewing-marketing-trends_482257-121143.jpg",              imageAlt: "Strategic planning and consulting"
            },
            {
              id: "design",              title: "Creative Design",              description: "From brand identity to digital interfaces, our design team creates compelling visuals that capture attention and communicate your unique value proposition.",              imageSrc: "http://img.b2bpic.net/free-photo/assemble-manufacturing-production-business-pattern_53876-133939.jpg",              imageAlt: "Creative design solutions"
            },
            {
              id: "development",              title: "Web Development",              description: "We build modern, responsive websites and digital products that deliver seamless user experiences and drive conversions for your business.",              imageSrc: "http://img.b2bpic.net/free-photo/programming-software-code-application-technology-concept_53876-123931.jpg",              imageAlt: "Web development and technology"
            }
          ]}
          gridVariant="uniform-4-items"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          buttons={[
            { text: "Learn More", href: "#" }
          ]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="work" data-section="work">
        <MetricCardTen
          title="Featured Campaigns"
          description="Explore some of our most successful projects and the results we delivered."
          tag="Case Studies"
          tagIcon={CheckCircle}
          tagAnimation="slide-up"
          metrics={[
            {
              id: "1",              title: "E-Commerce Redesign",              subtitle: "Luxury Retail Brand · Complete Platform Overhaul",              category: "Design & Development",              value: "+165% Conversions",              buttons: [
                { text: "View Case Study", href: "#" }
              ]
            },
            {
              id: "2",              title: "Brand Strategy Launch",              subtitle: "Tech Startup · Market Positioning",              category: "Strategy",              value: "$2.5M Funding",              buttons: [
                { text: "View Case Study", href: "#" }
              ]
            },
            {
              id: "3",              title: "Social Media Campaign",              subtitle: "Fashion Brand · Digital Marketing",              category: "Marketing",              value: "8.2M Impressions",              buttons: [
                { text: "View Case Study", href: "#" }
              ]
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwo
          title="Client Success Stories"
          description="Hear from our partners about their experience working with Connections Agency."
          tag="Testimonials"
          tagIcon={Star}
          tagAnimation="slide-up"
          testimonials={[
            {
              id: "1",              name: "Sarah Mitchell",              role: "CEO, Digital Ventures",              testimonial: "Connections Agency didn't just deliver a website—they delivered a brand experience that resonates with our customers. Exceptional team!",              icon: Quote,
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              imageAlt: "professional portrait business avatar corporate profile headshot"
            },
            {
              id: "2",              name: "Michael Chen",              role: "Founder, Tech Innovations",              testimonial: "Their strategic insights transformed our market positioning. The results speak for themselves—a true partnership.",              icon: Quote,
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              imageAlt: "professional portrait business avatar corporate profile headshot"
            },
            {
              id: "3",              name: "Emma Rodriguez",              role: "Marketing Director, Creative Co",              testimonial: "From concept to execution, every detail was handled with professionalism and creativity. Highly recommend!",              icon: Quote,
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              imageAlt: "professional portrait business avatar corporate profile headshot"
            },
            {
              id: "4",              name: "David Kim",              role: "CTO, Innovation Labs",              testimonial: "The team understood our vision perfectly and delivered solutions that exceeded expectations. Outstanding collaboration.",              icon: Quote,
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              imageAlt: "professional portrait business avatar corporate profile headshot"
            },
            {
              id: "5",              name: "Lisa Thompson",              role: "VP Product, Growth Hub",              testimonial: "Best agency partnership we've had. Creative, strategic, and results-driven. They're now part of our core team.",              icon: Quote,
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              imageAlt: "professional portrait business avatar corporate profile headshot"
            },
            {
              id: "6",              name: "James Wilson",              role: "Founder, Brand Evolution",              testimonial: "Connections Agency brings both creative excellence and business acumen. A rare combination in the industry.",              icon: Quote,
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              imageAlt: "professional portrait business avatar corporate profile headshot"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Stay Connected"
          tagIcon={Mail}
          title="Ready to Transform Your Brand?"
          description="Subscribe to our newsletter for industry insights, case studies, and exclusive updates. We share valuable strategies and creative inspiration directly to your inbox."
          background={{ variant: "sparkles-gradient" }}
          useInvertedBackground={false}
          imageSrc="http://img.b2bpic.net/free-photo/e-mail-global-communications-connection-social-networking-concept_53876-134026.jpg"
          imageAlt="Contact and newsletter signup"
          mediaAnimation="slide-up"
          mediaPosition="right"
          inputPlaceholder="Enter your email"
          buttonText="Subscribe"
          termsText="We respect your privacy. Unsubscribe at any time."
          tagAnimation="slide-up"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterCard
          logoText="Connections"
          copyrightText="© 2025 Connections Agency. All rights reserved."
          socialLinks={[
            { icon: Linkedin, href: "https://linkedin.com/company/connections-agency", ariaLabel: "LinkedIn" },
            { icon: Twitter, href: "https://twitter.com/connectionsagency", ariaLabel: "Twitter" },
            { icon: Instagram, href: "https://instagram.com/connectionsagency", ariaLabel: "Instagram" },
            { icon: Mail, href: "mailto:hello@connectionsagency.ch", ariaLabel: "Email" }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}
