'use client';
import { ThemeProvider } from '@/providers/themeProvider/ThemeProvider';
import Link from 'next/link';
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroBillboardGallery from '@/components/sections/hero/HeroBillboardGallery';
import MetricSplitMediaAbout from '@/components/sections/about/MetricSplitMediaAbout';
import FeatureCardOne from '@/components/sections/feature/FeatureCardOne';
import TestimonialCardSixteen from '@/components/sections/testimonial/TestimonialCardSixteen';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterMedia from '@/components/sections/footer/FooterMedia';

const navItems = [{ name: 'Home', id: '/' }, { name: 'About', id: '/about' }, { name: 'Contact', id: '/contact' }];

export default function Page() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="medium"
      sizing="medium"
      background="circleGradient"
      cardStyle="glass-elevated"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered navItems={navItems} brandName="Webild" />
      </div>
      <div id="hero" data-section="hero">
        <HeroBillboardGallery
          title="Welcome to Webild"
          description="Building the future of digital experiences."
          background={{ variant: 'gradient-bars' }}
          mediaItems={[
            { imageSrc: 'https://images.unsplash.com/photo-1550745165-9bc0b252726f?q=80&w=800' },
            { imageSrc: 'https://images.unsplash.com/photo-1550745165-9bc0b252726f?q=80&w=800' },
            { imageSrc: 'https://images.unsplash.com/photo-1550745165-9bc0b252726f?q=80&w=800' }
          ]}
        />
      </div>
      <div id="about" data-section="about">
        <MetricSplitMediaAbout
          title="Our Impact"
          description="Driving results through innovation."
          metrics={[{ value: '10+', title: 'Years' }, { value: '500+', title: 'Projects' }]}
          useInvertedBackground={false}
        />
      </div>
      <div id="features" data-section="features">
        <FeatureCardOne
          title="Core Features"
          description="Everything you need to succeed."
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          gridVariant="uniform-all-items-equal"
          features={[
            { title: 'Fast', description: 'Built for speed', imageSrc: 'https://images.unsplash.com/photo-1550745165-9bc0b252726f?q=80&w=400' },
            { title: 'Secure', description: 'Enterprise grade', imageSrc: 'https://images.unsplash.com/photo-1550745165-9bc0b252726f?q=80&w=400' }
          ]}
        />
      </div>
      <div id="testimonials" data-section="testimonials">
        <TestimonialCardSixteen
          title="Client Voices"
          description="Hear what our partners say."
          useInvertedBackground={true}
          animationType="slide-up"
          textboxLayout="default"
          kpiItems={[{ value: '99%', label: 'Satisfaction' }, { value: '500+', label: 'Happy Clients' }, { value: '24/7', label: 'Support' }]}
          testimonials={[
            { id: '1', name: 'John Doe', role: 'CEO', company: 'TechCorp', rating: 5, imageSrc: 'https://images.unsplash.com/photo-1550745165-9bc0b252726f?q=80&w=100' },
            { id: '2', name: 'Jane Smith', role: 'CTO', company: 'Innovate', rating: 5, imageSrc: 'https://images.unsplash.com/photo-1550745165-9bc0b252726f?q=80&w=100' }
          ]}
        />
      </div>
      <div id="visit" data-section="visit">
        <ContactSplitForm
          title="Contact Us"
          description="Let's get in touch."
          inputs={[{ name: 'email', type: 'email', placeholder: 'Enter email' }, { name: 'message', type: 'text', placeholder: 'Message' }]}
          useInvertedBackground={false}
        />
      </div>
      <div id="footer" data-section="footer">
        <FooterMedia
          logoText="Webild"
          imageSrc="https://images.unsplash.com/photo-1550745165-9bc0b252726f?q=80&w=800"
          columns={[{ title: 'Links', items: [{ label: 'Home', href: '/' }] }]}
        />
      </div>
    </ThemeProvider>
  );
}