"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import HeroLogoCarousel from '@/components/sections/hero/HeroLogoCarousel';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import FeatureCardThirteen from '@/components/sections/feature/FeatureCardThirteen';
import TestimonialCardEleven from '@/components/sections/testimonial/TestimonialCardEleven';
import MetricCardEleven from '@/components/sections/metrics/MetricCardEleven';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import ContactInline from '@/components/sections/contact/ContactInline';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import { Zap } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="elastic-effect"
      defaultTextAnimation="background-highlight"
      borderRadius="sharp"
      contentWidth="small"
      sizing="mediumSizeLargeTitles"
      background="dotGrid"
      cardStyle="solid-accent"
      primaryButtonStyle="neon-glow-border"
      secondaryButtonStyle="layered"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="BULLS"
          navItems={[
            { name: "Models", id: "models" },
            { name: "Why BULLS", id: "why-bulls" },
            { name: "Reviews", id: "testimonials" },
            { name: "Support", id: "faq" },
            { name: "Cart", id: "https://checkout.example.com" }
          ]}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroLogoCarousel
          logoText="BULLS"
          description="Engineered for Speed. Built for Control. Precision-engineered BULLS bikes designed for riders who demand performance on every terrain. German-crafted, race-tested, and built to win."
          mediaItems={[
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767549049358-9x2e5yx9.jpg",
              imageAlt: "BULLS mountain bike in high-speed action"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767549050182-no2khcwj.jpg",
              imageAlt: "BULLS hardtail MTB model showcase"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767549050674-vn4itj4i.jpg",
              imageAlt: "BULLS full-suspension mountain bike"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767549049358-9x2e5yx9.jpg",
              imageAlt: "BULLS gravel adventure bike"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767549051123-z7yqlxq2.jpg",
              imageAlt: "BULLS professional road bike"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767549051588-gbo3b7xf.jpg",
              imageAlt: "BULLS electric mountain e-bike"
            }
          ]}
          logoLineHeight={1.2}
          ariaLabel="BULLS premium bicycle brand hero section with carousel"
        />
      </div>

      <div id="models" data-section="models">
        <ProductCardTwo
          title="2025 BULLS Models | Choose Your Performance"
          description="Select from our championship-proven lineup. Each bike engineered for precision, tested in the harshest conditions, built for riders who demand excellence."
          tag="Best Sellers"
          tagIcon={Zap}
          animationType="slide-up"
          gridVariant="three-columns-all-equal-width"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          products={[
            {
              id: "1",
              brand: "BULLS Performance",
              name: "HARDTAIL PRO 29",
              price: "€1,299",
              rating: 5,
              reviewCount: "487",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767549050182-no2khcwj.jpg",
              imageAlt: "BULLS HARDTAIL PRO 29 mountain bike"
            },
            {
              id: "2",
              brand: "BULLS Premium",
              name: "FULL SUSPENSION RACE",
              price: "€2,499",
              rating: 5,
              reviewCount: "612",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767549050674-vn4itj4i.jpg",
              imageAlt: "BULLS FULL SUSPENSION RACE elite model"
            },
            {
              id: "3",
              brand: "BULLS Adventure",
              name: "GRAVEL KING",
              price: "€899",
              rating: 5,
              reviewCount: "334",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767549049358-9x2e5yx9.jpg",
              imageAlt: "BULLS GRAVEL KING adventure bike"
            },
            {
              id: "4",
              brand: "BULLS Speed",
              name: "ROAD ELITE CARBON",
              price: "€1,799",
              rating: 5,
              reviewCount: "523",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767549051123-z7yqlxq2.jpg",
              imageAlt: "BULLS ROAD ELITE CARBON professional bike"
            },
            {
              id: "5",
              brand: "BULLS E-Series",
              name: "E-TRAIL POWER",
              price: "€3,199",
              rating: 5,
              reviewCount: "289",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767549051588-gbo3b7xf.jpg",
              imageAlt: "BULLS E-TRAIL POWER electric mountain bike"
            },
            {
              id: "6",
              brand: "BULLS E-Series",
              name: "E-GRAVEL EXPLORER",
              price: "€2,099",
              rating: 5,
              reviewCount: "156",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767548980622-09kn53ws.jpg",
              imageAlt: "BULLS E-GRAVEL EXPLORER electric gravel bike"
            }
          ]}
        />
      </div>

      <div id="why-bulls" data-section="why-bulls">
        <FeatureCardThirteen
          title="Why BULLS? Built for Champions"
          description="Four decades of German engineering excellence. Every bike tested in professional racing. Zero compromises on performance."
          tag="Premium Quality"
          textboxLayout="default"
          animationType="slide-up"
          gridVariant="four-items-2x2-equal-grid"
          features={[
            {
              id: "01",
              title: "German Engineering",
              description: "Precision-crafted in Germany with uncompromising attention to detail. Every frame meets race-level standards."
            },
            {
              id: "02",
              title: "Race-Tested Design",
              description: "Developed and validated by professional racing teams competing at the highest levels worldwide."
            },
            {
              id: "03",
              title: "Premium Components",
              description: "Only the finest drivetrain, suspension, and braking systems. Shimano, RockShox, and SRAM excellence standard."
            },
            {
              id: "04",
              title: "Lifetime Support",
              description: "30-day full return guarantee. Comprehensive frame warranty. Expert support team ready to assist."
            }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardEleven
          title="Rated 4.9★ by 5,000+ Riders Worldwide"
          description="Hear from BULLS riders across every discipline — from professional racers to weekend adventurers. Real reviews. Real results."
          tag="Customer Testimonials"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          testimonials={[
            {
              id: "1",
              nameTitle: "Marcus Weber, Professional MTB Racer",
              quote: "I've competed on BULLS for 8 years. The precision geometry and suspension response are unmatched. This bike helped me win three national championships.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767548943588-3acl25me.jpg",
              imageAlt: "Marcus Weber, professional cyclist"
            },
            {
              id: "2",
              nameTitle: "Sarah Müller, Downhill Specialist",
              quote: "The full-suspension RACE model absorbs impacts like no other bike I've ridden. Confidence-inspiring and incredibly responsive on technical terrain.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767549052936-kc49vchi.jpg",
              imageAlt: "Sarah Müller, downhill racer"
            },
            {
              id: "3",
              nameTitle: "Jan Levin, Road Race Champion",
              quote: "The ROAD ELITE CARBON is a weapon. Light, stiff, and aerodynamic. Every watt counts in racing, and this bike delivers performance every time.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767548979751-lkv5l86n.jpg",
              imageAlt: "Jan Levin, road cyclist"
            },
            {
              id: "4",
              nameTitle: "Elena Rossi, Gravel Adventure Guide",
              quote: "I've ridden the GRAVEL KING on five continents. Built tough, handles anything, and looks amazing. Pure functionality meets stunning design.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767549053252-m88b7g7z.jpg",
              imageAlt: "Elena Rossi, gravel rider"
            },
            {
              id: "5",
              nameTitle: "Tom Richards, Weekend Rider",
              quote: "Didn't think I needed a premium bike. One ride on BULLS changed my mind. The build quality and ride experience are exceptional — every ride is a joy.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767549053646-103fwx3t.jpg",
              imageAlt: "Tom Richards, recreational cyclist"
            },
            {
              id: "6",
              nameTitle: "Andrea König, E-Bike Commuter",
              quote: "The E-TRAIL POWER made cycling fun again. Powerful motor, reliable battery, and feels like a real BULLS bike. Best investment I've made.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767549054289-ylu3eo4u.jpg",
              imageAlt: "Andrea König, e-bike rider"
            }
          ]}
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardEleven
          title="The BULLS Standard: Excellence in Every Number"
          description="Proven performance across professional racing and thousands of satisfied customers worldwide. Championship-grade bikes, guaranteed."
          tag="Our Track Record"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          metrics={[
            {
              id: "1",
              value: "47",
              title: "National Championships",
              description: "Won by BULLS-equipped professional riders since 2005",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767549050182-no2khcwj.jpg",
              imageAlt: "BULLS mountain bike race competition"
            },
            {
              id: "2",
              value: "5,000+",
              title: "5-Star Reviews",
              description: "Average 4.9★ rating from verified purchases and real riders",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767549050674-vn4itj4i.jpg",
              imageAlt: "Happy BULLS bike customers"
            },
            {
              id: "3",
              value: "80+",
              title: "Countries Worldwide",
              description: "BULLS riders competing and enjoying bikes across the globe",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767549049358-9x2e5yx9.jpg",
              imageAlt: "Global BULLS bike distribution"
            },
            {
              id: "4",
              value: "Lifetime",
              title: "Frame Warranty",
              description: "Complete peace of mind with our comprehensive protection guarantee",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767549055339-66qflsaj.jpg",
              imageAlt: "BULLS lifetime warranty certification"
            }
          ]}
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqSplitMedia
          title="Frequently Asked Questions"
          description="Everything you need to know about BULLS bikes, sizing, warranty, and getting started. Questions? Our team is here to help."
          tag="Support"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          mediaPosition="left"
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767548990667-qt7e5bke.jpg"
          imageAlt="BULLS bike sizing guide and fit chart"
          animationType="smooth"
          faqs={[
            {
              id: "1",
              title: "How do I choose my bike size?",
              content: "BULLS bikes are sized by frame size in centimeters. Use your height and inseam measurement with our sizing chart. We recommend visiting a local dealer for professional fitting. All BULLS models come with detailed fit guides that ensure optimal comfort and performance."
            },
            {
              id: "2",
              title: "What is the warranty coverage?",
              content: "BULLS offers a comprehensive frame warranty covering manufacturing defects. Components carry manufacturer warranties (typically 2-5 years depending on brand). We also provide a 30-day full return guarantee if you're not completely satisfied with your purchase."
            },
            {
              id: "3",
              title: "How long does delivery take?",
              content: "Standard delivery is 3-5 business days to most European locations. Express shipping (1-2 days) is available. All bikes arrive fully inspected and pre-assembled by our certified technicians. Tracking information provided with every order."
            },
            {
              id: "4",
              title: "Can I finance my BULLS bike?",
              content: "Yes. We partner with Klarna for flexible installment plans starting from €29/month. Zero interest options available. Financing approval is instant, and you can start riding immediately while you pay."
            },
            {
              id: "5",
              title: "What maintenance is required?",
              content: "BULLS bikes require minimal maintenance. Regular cleaning and chain lubrication keep your bike in peak condition. We include a complimentary first professional service (within 6 months of purchase) covering full inspection, adjustments, and parts check."
            },
            {
              id: "6",
              title: "Are BULLS e-bikes suitable for beginners?",
              content: "Absolutely. E-TRAIL POWER and E-GRAVEL EXPLORER models feature intuitive power assist with multiple modes. The electric motor makes riding more accessible while maintaining the joy of cycling. Perfect for fitness enthusiasts and weekend riders."
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactInline
          text="Ready to Experience Performance? Join the BULLS Community Today"
          inputPlaceholder="Enter your email for exclusive offers"
          buttonText="Get Started"
          animationType="background-highlight"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoReveal
          logoText="BULLS"
          logoLineHeight={1.2}
          ariaLabel="BULLS bicycle brand footer"
        />
      </div>
    </ThemeProvider>
  );
}