"use client"

import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroBillboardRotatedCarousel from '@/components/sections/hero/HeroBillboardRotatedCarousel';
import MediaAbout from '@/components/sections/about/MediaAbout';
import FeatureCardFourteen from '@/components/sections/feature/FeatureCardFourteen';
import MetricCardSix from '@/components/sections/metrics/MetricCardSix';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import FaqBase from '@/components/sections/faq/FaqBase';
import ContactText from '@/components/sections/contact/ContactText';
import FooterBaseSocial from '@/components/sections/footer/FooterBaseSocial';
import { ThemeProvider } from '@/providers/themeProvider/ThemeProvider';
import { Sparkles, Code, TrendingUp, Server, Users, CheckCircle, Award, HelpCircle, Linkedin, Twitter, Github, Mail } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="directional-hover"
      defaultTextAnimation="reveal-blur"
      borderRadius="sharp"
      contentWidth="medium"
      sizing="mediumSizeExtraLargeTitles"
      background="animatedGrid"
      cardStyle="solid-accent-light"
      primaryButtonStyle="outline"
      secondaryButtonStyle="solid"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          navItems={[
            { name: "Home", id: "home" },
            { name: "Services", id: "services" },
            { name: "About", id: "about" },
            { name: "Clients", id: "clients" },
            { name: "Contact", id: "contact" }
          ]}
          button={{ text: "Get Started", href: "contact" }}
          brandName="TechCorp IT"
        />
      </div>
      
      <div id="hero" data-section="hero">
        <HeroBillboardRotatedCarousel
          title="Enterprise IT Solutions for Modern Businesses"
          description="Secure, scalable infrastructure and consulting services designed to accelerate your digital transformation and maximize operational efficiency."
          tag="Next Generation Technology"
          tagIcon={Sparkles}
          buttons={[
            { text: "Explore Services", href: "services" },
            { text: "Schedule Consultation", href: "contact" }
          ]}
          carouselItems={[
            {
              id: "1",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766671663412-vcvoumst.jpg",
              imageAlt: "Cloud computing infrastructure"
            },
            {
              id: "2",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766671664239-nljbmnny.jpg",
              imageAlt: "Cybersecurity solutions"
            },
            {
              id: "3",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766671665201-0hrgdi0a.jpg",
              imageAlt: "Software development"
            },
            {
              id: "4",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766671665997-erx8jm6d.jpg",
              imageAlt: "IT infrastructure management"
            },
            {
              id: "5",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766671666797-rde6t68a.jpg",
              imageAlt: "Business consulting"
            },
            {
              id: "6",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766671667749-qposyvhl.jpg",
              imageAlt: "Digital transformation"
            }
          ]}
          autoPlay={true}
          autoPlayInterval={4000}
        />
      </div>
      
      <div id="about" data-section="about">
        <MediaAbout
          title="Trusted IT Partner Since 2008"
          description="We empower enterprises with cutting-edge technology solutions and expert guidance. Our team of certified professionals delivers secure, scalable infrastructure and strategic consulting to drive innovation and growth."
          tag="About Our Company"
          buttons={[{ text: "Learn Our Approach", href: "services" }]}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766140098536-9jc7ywck.jpg"
          imageAlt="TechCorp IT team working together"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="services" data-section="services">
        <FeatureCardFourteen
          features={[
            {
              id: "1",
              title: "Cloud Solutions",
              description: "Migrate to secure, scalable cloud infrastructure with AWS, Azure, and Google Cloud expertise.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766671668564-73aoxdy0.jpg",
              imageAlt: "Cloud computing services"
            },
            {
              id: "2",
              title: "Cybersecurity",
              description: "Enterprise-grade security with threat detection, compliance, and incident response capabilities.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766671670585-otby9a2d.jpg",
              imageAlt: "Cybersecurity protection"
            },
            {
              id: "3",
              title: "IT Consulting",
              description: "Strategic guidance on digital transformation, infrastructure optimization, and technology roadmap planning.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766671669291-6ugtgkbo.jpg",
              imageAlt: "Business IT consulting"
            },
            {
              id: "4",
              title: "24/7 Support",
              description: "Round-the-clock technical support with rapid response times and dedicated account management.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766671671668-xcblzx0p.jpg",
              imageAlt: "Technical support services"
            }
          ]}
          title="Comprehensive IT Services"
          description="From cloud infrastructure to cybersecurity, we deliver end-to-end solutions tailored to your business needs."
          tag="Services"
          tagIcon={Code}
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="metrics" data-section="metrics">
        <MetricCardSix
          metrics={[
            {
              id: "1",
              value: "99.99%",
              tag: "Uptime",
              tagIcon: Server,
              title: "System Availability"
            },
            {
              id: "2",
              value: "500+",
              tag: "Clients",
              tagIcon: Users,
              title: "Enterprise Customers"
            },
            {
              id: "3",
              value: "2000+",
              tag: "Projects",
              tagIcon: CheckCircle,
              title: "Successful Implementations"
            },
            {
              id: "4",
              value: "16+",
              tag: "Years",
              tagIcon: Award,
              title: "Industry Experience"
            }
          ]}
          title="Our Track Record"
          description="Years of proven expertise delivering enterprise IT solutions to Fortune 500 companies."
          tag="Metrics"
          tagIcon={TrendingUp}
          gridVariant="uniform-all-items-equal"
          textboxLayout="default"
          animationType="slide-up"
          containerStyle="default"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="clients" data-section="clients">
        <SocialProofOne
          logos={[
            "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766140108208-9jx2n5py.jpg",
            "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766671672784-jeuaz3vx.jpg",
            "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766140105432-6wcp77a1.jpg",
            "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183582037-814qymx8.jpg",
            "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183581068-iklr7ul7.jpg",
            "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766185073175-imh155jb.jpg",
            "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766671673569-9w5y27p9.jpg"
          ]}
          title="Trusted by Industry Leaders"
          description="Partner with the IT solutions provider chosen by Fortune 500 companies worldwide."
          textboxLayout="default"
          useInvertedBackground="noInvert"
          speed={40}
          showCard={true}
        />
      </div>
      
      <div id="faq" data-section="faq">
        <FaqBase
          faqs={[
            {
              id: "1",
              title: "What IT services do you offer?",
              content: "We provide comprehensive IT services including cloud solutions, cybersecurity, infrastructure management, IT consulting, and 24/7 technical support. Our solutions are customized to meet the unique needs of your business."
            },
            {
              id: "2",
              title: "How do you ensure data security?",
              content: "Security is our top priority. We implement enterprise-grade encryption, multi-factor authentication, regular security audits, and compliance with industry standards like ISO 27001, SOC 2, and GDPR."
            },
            {
              id: "3",
              title: "What is your response time for support?",
              content: "Our support team responds within 15 minutes for critical issues and 1 hour for standard requests. We offer 24/7/365 monitoring and support with dedicated account managers for enterprise clients."
            },
            {
              id: "4",
              title: "Can you help with cloud migration?",
              content: "Yes, we specialize in cloud migration. Our team plans and executes seamless transitions to AWS, Azure, or Google Cloud with minimal downtime and full data integrity assurance."
            },
            {
              id: "5",
              title: "Do you offer managed IT services?",
              content: "Absolutely. Our managed IT services include infrastructure monitoring, maintenance, patching, backup and disaster recovery, and proactive system optimization to reduce downtime and operational costs."
            },
            {
              id: "6",
              title: "How much does your consulting cost?",
              content: "Consulting costs depend on project scope and complexity. We offer flexible engagement models including hourly rates, project-based pricing, and retainer options. Contact us for a customized quote."
            }
          ]}
          title="Frequently Asked Questions"
          description="Find answers to common questions about our IT services and solutions."
          tag="FAQ"
          tagIcon={HelpCircle}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="smooth"
          showCard={true}
        />
      </div>
      
      <div id="contact" data-section="contact">
        <ContactText
          text="Ready to transform your IT infrastructure? Let's discuss how our solutions can drive your business forward."
          animationType="reveal-blur"
          buttons={[
            { text: "Schedule a Consultation", href: "contact" },
            { text: "Get a Quote", href: "contact" }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="footer" data-section="footer">
        <FooterBaseSocial
          columns={[
            {
              title: "Services",
              items: [
                { label: "Cloud Solutions", href: "services" },
                { label: "Cybersecurity", href: "services" },
                { label: "IT Consulting", href: "services" },
                { label: "Technical Support", href: "services" }
              ]
            },
            {
              title: "Company",
              items: [
                { label: "About Us", href: "about" },
                { label: "Our Team", href: "about" },
                { label: "Careers", href: "careers" },
                { label: "Blog", href: "blog" }
              ]
            },
            {
              title: "Resources",
              items: [
                { label: "Documentation", href: "docs" },
                { label: "Case Studies", href: "cases" },
                { label: "Security", href: "security" },
                { label: "Contact Support", href: "support" }
              ]
            }
          ]}
          description="Enterprise IT solutions and consulting services for modern businesses. Secure, scalable, and innovative technology partnerships."
          logoText="TechCorp IT"
          copyrightText="© 2024 TechCorp IT Solutions. All rights reserved."
          socialLinks={[
            { icon: Linkedin, href: "https://linkedin.com", ariaLabel: "LinkedIn" },
            { icon: Twitter, href: "https://twitter.com", ariaLabel: "Twitter" },
            { icon: Github, href: "https://github.com", ariaLabel: "GitHub" },
            { icon: Mail, href: "mailto:info@techcorp.com", ariaLabel: "Email" }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}