"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import HeroBillboardRotatedCarousel from '@/components/sections/hero/HeroBillboardRotatedCarousel';
import InlineImageSplitTextAbout from '@/components/sections/about/InlineImageSplitTextAbout';
import FeatureCardOne from '@/components/sections/feature/FeatureCardOne';
import MetricCardEleven from '@/components/sections/metrics/MetricCardEleven';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { Award, CheckCircle, Shield, Sparkles, Zap } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="expand-hover"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="smallMedium"
      sizing="mediumLarge"
      background="grid"
      cardStyle="outline"
      primaryButtonStyle="flat"
      secondaryButtonStyle="layered"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="INCY-TRANS"
          navItems={[
            { name: "Services", id: "services" },
            { name: "About", id: "about" },
            { name: "Experience", id: "experience" },
            { name: "Contact", id: "contact" }
          ]}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardRotatedCarousel
          title="Professional Polish-Hungarian and Hungarian-Polish Translations"
          description="Fast and accurate translations for businesses and individuals. No intermediaries, no unnecessary formalities. Direct contact with experienced translator Gabor Inczedy."
          background={{ variant: "rotated-rays-animated" }}
          tag="Local Translation Services"
          tagIcon={Zap}
          tagAnimation="slide-up"
          buttons={[
            { text: "Call Now: +48 604 160 529", href: "tel:+48604160529" },
            { text: "Send Inquiry", href: "#contact" }
          ]}
          buttonAnimation="slide-up"
          carouselItems={[
            { id: "carousel-1", imageSrc: "https://images.unsplash.com/photo-1517694712202-14dd9538aa97?w=800&h=600&fit=crop&_wi=1", imageAlt: "Professional office desk with translation documents and computer" },
            { id: "carousel-2", imageSrc: "https://images.unsplash.com/photo-1526628652108-aa09f6348e07?w=800&h=600&fit=crop", imageAlt: "Poland and Hungary flags representing bilingual translation services" },
            { id: "carousel-3", imageSrc: "https://images.unsplash.com/photo-1552664730-d307ca884978?w=800&h=600&fit=crop", imageAlt: "Official business documents ready for translation" },
            { id: "carousel-4", imageSrc: "https://images.unsplash.com/photo-1537632066927-ab7aeae4d008?w=800&h=600&fit=crop", imageAlt: "Translation software CAT tools on computer screen" },
            { id: "carousel-5", imageSrc: "https://images.unsplash.com/photo-1454496522488-7a8e488e8606?w=800&h=600&fit=crop", imageAlt: "Professional proofreading and document editing" },
            { id: "carousel-6", imageSrc: "https://images.unsplash.com/photo-1517694712045-0f4a1bbebfce?w=800&h=600&fit=crop", imageAlt: "IT and technology translation work environment" }
          ]}
          autoPlay={true}
          autoPlayInterval={5000}
          ariaLabel="Hero section with carousel showcasing translation services"
        />
      </div>

      <div id="about" data-section="about">
        <InlineImageSplitTextAbout
          heading={[
            { type: "text", content: "Gabor Inczedy – Owner of INCY-TRANS" }
          ]}
          buttons={[
            { text: "Contact Directly", href: "#contact" }
          ]}
          buttonAnimation="slide-up"
          useInvertedBackground={false}
          ariaLabel="About the translator section with professional background"
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardOne
          title="Our Services"
          description="Comprehensive translation and content management solutions tailored for businesses and individuals."
          tag="What We Offer"
          tagIcon={CheckCircle}
          tagAnimation="slide-up"
          textboxLayout="default"
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          useInvertedBackground={true}
          features={[
            {
              title: "Polish ↔ Hungarian Translations",              description: "Professional translations between Polish and Hungarian for any document type, with precision and cultural accuracy.",              imageSrc: "https://images.unsplash.com/photo-1526628652108-aa09f6348e07?w=500&h=400&fit=crop&_wi=1",              imageAlt: "Poland and Hungary flags"
            },
            {
              title: "Business & Official Documents",              description: "Contracts, letters, correspondence, certificates, and official documentation handled with meticulous attention to detail.",              imageSrc: "https://images.unsplash.com/photo-1552664730-d307ca884978?w=500&h=400&fit=crop&_wi=1",              imageAlt: "Business documents and contracts"
            },
            {
              title: "Proofreading & Editing",              description: "Comprehensive text refinement services ensuring your content is polished, error-free, and professionally presented.",              imageSrc: "https://images.unsplash.com/photo-1454496522488-7a8e488e8606?w=500&h=400&fit=crop&_wi=1",              imageAlt: "Document proofreading and editing"
            },
            {
              title: "Marketing & Content",              description: "Professional creation of media content, newsletters, magazines, and social media materials in Polish and Hungarian.",              imageSrc: "https://images.unsplash.com/photo-1460925895917-adf4e5e79e78?w=500&h=400&fit=crop&_wi=1",              imageAlt: "Marketing content creation"
            },
            {
              title: "Technical Translations",              description: "Specialized translation of technical manuals, IT documentation, and specialized industry content with CAT software expertise.",              imageSrc: "https://images.unsplash.com/photo-1537632066927-ab7aeae4d008?w=500&h=400&fit=crop&_wi=1",              imageAlt: "Computer and technical translation"
            },
            {
              title: "Multi-Industry Expertise",              description: "Experience across marketing, IT, architecture, tourism, pharmaceuticals, literature, sports, and more.",              imageSrc: "https://images.unsplash.com/photo-1517694712045-0f4a1bbebfce?w=500&h=400&fit=crop&_wi=1",              imageAlt: "IT and technology services"
            }
          ]}
          ariaLabel="Services section"
        />
      </div>

      <div id="experience" data-section="experience">
        <MetricCardEleven
          title="Experience in Various Industries"
          description="Proven expertise across diverse sectors with specialized knowledge and professional CAT software (MemoQ) proficiency."
          tag="Industry Expertise"
          tagIcon={Award}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="slide-up"
          metrics={[
            {
              id: "marketing",              value: "Marketing",              title: "Marketing Campaigns",              description: "Professional translation of marketing strategies, campaigns, and promotional materials.",              imageSrc: "https://images.unsplash.com/photo-1460925895917-adf4e5e79e78?w=500&h=400&fit=crop&_wi=2",              imageAlt: "marketing content creation strategy"
            },
            {
              id: "it",              value: "IT & Tech",              title: "Technology Solutions",              description: "Software documentation, programming terminology, and technical specifications.",              imageSrc: "https://images.unsplash.com/photo-1517694712045-0f4a1bbebfce?w=500&h=400&fit=crop&_wi=2",              imageAlt: "computer laptop translation software CAT"
            },
            {
              id: "architecture",              value: "Architecture",              title: "Building Projects",              description: "Construction specifications, architectural drawings, and building documentation.",              imageSrc: "https://images.unsplash.com/photo-1552664730-d307ca884978?w=500&h=400&fit=crop&_wi=2",              imageAlt: "business documents contracts translation"
            },
            {
              id: "tourism",              value: "Tourism",              title: "Travel Services",              description: "Tourism materials, hotel descriptions, and travel guides translation.",              imageSrc: "https://images.unsplash.com/photo-1526628652108-aa09f6348e07?w=500&h=400&fit=crop&_wi=2",              imageAlt: "Poland Hungary flag symbol"
            },
            {
              id: "pharma",              value: "Pharmaceuticals",              title: "Medical Industry",              description: "Pharmaceutical documentation, medical terminology, and regulatory compliance.",              imageSrc: "https://images.unsplash.com/photo-1454496522488-7a8e488e8606?w=500&h=400&fit=crop&_wi=2",              imageAlt: "proofreading editing pen document"
            },
            {
              id: "literature",              value: "Literature",              title: "Cultural Works",              description: "Literary translation, cultural studies, and academic publications.",              imageSrc: "https://images.unsplash.com/photo-1537632066927-ab7aeae4d008?w=500&h=400&fit=crop&_wi=2",              imageAlt: "IT software development code computer"
            }
          ]}
          ariaLabel="Industry experience metrics section"
        />
      </div>

      <div id="why-us" data-section="why-us">
        <SocialProofOne
          title="Why Choose INCY-TRANS?"
          description="Direct access to an experienced translator with proven track record in business and technical translations."
          tag="Key Benefits"
          tagIcon={Sparkles}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
          names={[
            "Direct contact with translator",            "Accuracy and punctuality guaranteed",            "Experience with businesses and individuals",            "Flexibility across industries",            "Professional marketing materials",            "MemoQ CAT software proficiency",            "Fast turnaround times",            "Competitive pricing"
          ]}
          showCard={false}
          ariaLabel="Why choose INCY-TRANS section"
        />
      </div>

      <div id="trusted-by" data-section="trusted-by">
        <SocialProofOne
          title="Trusted By"
          description="Established relationships with reputable organizations and institutions across Poland and Europe."
          tag="Client References"
          tagIcon={Shield}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          names={[
            "Sejm (Polish Parliament)",            "PlayWay",            "ERIN",            "Electrolux",            "Tesco",            "Bon Prix",            "Copper Museum Legnica",            "Silesian Chess Association"
          ]}
          showCard={true}
          ariaLabel="Trusted by section with client references"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Send Your Inquiry"
          description="Contact Gabor Inczedy directly with your translation project details. Quick response guaranteed."
          inputs={[
            { name: "name", type: "text", placeholder: "Your Name", required: true },
            { name: "email", type: "email", placeholder: "Your Email", required: true },
            { name: "phone", type: "tel", placeholder: "+48 XXX XXX XXX", required: false }
          ]}
          textarea={{
            name: "message",            placeholder: "Describe your translation project...",            rows: 5,
            required: true
          }}
          useInvertedBackground={true}
          imageSrc="https://images.unsplash.com/photo-1517694712202-14dd9538aa97?w=600&h=500&fit=crop"
          imageAlt="Contact form for translation inquiries"
          mediaAnimation="slide-up"
          mediaPosition="right"
          buttonText="Send Inquiry"
          ariaLabel="Contact form section for translation requests"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="https://images.unsplash.com/photo-1517694712202-14dd9538aa97?w=800&h=600&fit=crop&_wi=2"
          imageAlt="Professional translation workspace"
          logoText="INCY-TRANS"
          copyrightText="© 2025 INCY-TRANS. Professional Translation Services. All rights reserved. Design by Mikołaj Inczedy."
          columns={[
            {
              title: "Services",              items: [
                { label: "Polish-Hungarian Translations", href: "#services" },
                { label: "Business Documents", href: "#services" },
                { label: "Proofreading & Editing", href: "#services" },
                { label: "Marketing Content", href: "#services" }
              ]
            },
            {
              title: "Contact",              items: [
                { label: "Phone: +48 604 160 529", href: "tel:+48604160529" },
                { label: "Email: i.gabor@interia.pl", href: "mailto:i.gabor@interia.pl" },
                { label: "Address: Kręta 18, Toruń, Poland", href: "#" },
                { label: "Contact Form", href: "#contact" }
              ]
            },
            {
              title: "About",              items: [
                { label: "About Gabor Inczedy", href: "#about" },
                { label: "Our Experience", href: "#experience" },
                { label: "Why Choose Us", href: "#why-us" },
                { label: "Trusted By", href: "#trusted-by" }
              ]
            },
            {
              title: "Legal",              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" },
                { label: "Cookie Policy", href: "#" }
              ]
            }
          ]}
          ariaLabel="Footer section with contact information and navigation"
        />
      </div>
    </ThemeProvider>
  );
}