"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import HeroBillboardSplit from '@/components/sections/hero/HeroBillboardSplit';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import TagMediaSplitAbout from '@/components/sections/about/TagMediaSplitAbout';
import FeatureCardSixteen from '@/components/sections/feature/FeatureCardSixteen';
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
import PricingCardSix from '@/components/sections/pricing/PricingCardSix';
import FaqDouble from '@/components/sections/faq/FaqDouble';
import ContactFaq from '@/components/sections/contact/ContactFaq';
import FooterSocial from '@/components/sections/footer/FooterSocial';
import { Zap, Bike, Award, Shield, Phone, Instagram, Facebook, Youtube, Twitter } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="mediumSmall"
      sizing="medium"
      background="floatingGradient"
      cardStyle="solid"
      primaryButtonStyle="outline"
      secondaryButtonStyle="outline"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="BULLS"
          navItems={[
            {"name":"Models","id":"models"},
            {"name":"Why BULLS","id":"about"},
            {"name":"Testimonials","id":"testimonials"},
            {"name":"FAQ","id":"faq"},
            {"name":"Contact","id":"contact"}
          ]}
        />
      </div>
      
      <div id="hero" data-section="hero">
        <HeroBillboardSplit
          tag="LIMITED STOCK AVAILABLE"
          tagIcon={Zap}
          title="Engineered for Speed. Built for Control."
          description="Precision-engineered BULLS bikes designed for riders who demand performance on every terrain. Rated 4.9★ by 5,000+ riders worldwide."
          buttons={[
            {"text":"Choose Your Bike","href":"models"},
            {"text":"Learn More","href":"about"}
          ]}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767549050674-vn4itj4i.jpg"
          imageAlt="BULLS Premium Flagship Mountain Bike"
          frameStyle="browser"
          className="min-h-screen"
          titleClassName="text-5xl md:text-6xl font-bold"
          descriptionClassName="text-lg md:text-xl"
        />
      </div>
      
      <div id="models" data-section="models">
        <ProductCardFour
          title="Explore Our Bike Models"
          description="Choose from 5 premium categories engineered for your riding style. Every BULLS bike combines German precision with race-tested performance."
          tag="Models"
          tagIcon={Bike}
          textboxLayout="default"
          products={[
            {
              "id":"hardtail-mtb",
              "name":"Hardtail MTB",
              "price":"From €1,299",
              "variant":"XC Race • Trail • Lightweight",
              "imageSrc":"https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767548974518-lkm6ezjk.jpg",
              "imageAlt":"BULLS Hardtail MTB",
              "isFavorited":false
            },
            {
              "id":"full-suspension",
              "name":"Full-Suspension MTB",
              "price":"From €2,199",
              "variant":"Enduro • All-Mountain • Pro Choice",
              "imageSrc":"https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767548955998-jc66agsb.jpg",
              "imageAlt":"BULLS Full-Suspension MTB",
              "isFavorited":false
            },
            {
              "id":"gravel",
              "name":"Gravel Bike",
              "price":"From €1,599",
              "variant":"Adventure • Bikepacking • Versatile",
              "imageSrc":"https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767548999272-tf5tv89u.jpg",
              "imageAlt":"BULLS Gravel Bike",
              "isFavorited":false
            },
            {
              "id":"road",
              "name":"Road Bike",
              "price":"From €1,899",
              "variant":"Racing • Speed • Carbon",
              "imageSrc":"https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767549049358-9x2e5yx9.jpg",
              "imageAlt":"BULLS Road Bike",
              "isFavorited":false
            },
            {
              "id":"ebike",
              "name":"e-Bike (e-MTB / e-Gravel)",
              "price":"From €3,499",
              "variant":"Electric • Motor • Battery • Urban",
              "imageSrc":"https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767549059329-glllvx6h.jpg",
              "imageAlt":"BULLS Electric Bike",
              "isFavorited":false
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          buttons={[
            {"text":"View Size Guide","href":"faq"}
          ]}
        />
      </div>
      
      <div id="about" data-section="about">
        <TagMediaSplitAbout
          title="German Engineering Meets Performance"
          description="BULLS has been engineering premium bicycles for decades. Every frame, every component, every detail is tested and proven on the world's toughest courses."
          tag="About"
          tagIcon={Award}
          textboxLayout="default"
          contentTag="WHY BULLS"
          contentTagIcon={Shield}
          contentTitle="3 Reasons Riders Choose BULLS"
          contentDescription="Premium German engineering combined with race-tested designs and competition-proven components. BULLS bikes deliver the perfect balance of performance, reliability, and value for serious riders."
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767548987821-hp6r32px.jpg"
          imageAlt="German engineering precision at BULLS factory"
          imagePosition="right"
          useInvertedBackground="noInvert"
          contentButtons={[
            {"text":"Explore Technology","href":"#"}
          ]}
        />
      </div>
      
      <div id="comparison" data-section="comparison">
        <FeatureCardSixteen
          title="BULLS vs. The Competition"
          description="See why professional riders and enthusiasts trust BULLS for every ride"
          tag="Comparison"
          textboxLayout="default"
          negativeCard={{
            "title":"Generic Brands",
            "items":[
              "Mass-produced components",
              "Limited geometry options",
              "No race-tested lineage",
              "Average build quality",
              "Inconsistent performance",
              "Limited warranty support"
            ]
          }}
          positiveCard={{
            "title":"BULLS Bikes",
            "items":[
              "Premium German-engineered components",
              "Precision-tuned geometry for every style",
              "Proven on international racing circuits",
              "Meticulous quality control standards",
              "Exceptional ride feel across all terrains",
              "Comprehensive warranty + local service"
            ]
          }}
          animationType="slide-up"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="testimonials" data-section="testimonials">
        <TestimonialCardSix
          title="What Riders Are Saying"
          description="Real feedback from BULLS riders around the world"
          tag="Testimonials"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          testimonials={[
            {
              "id":"1",
              "name":"Marcus Weber",
              "handle":"MTB Racer",
              "testimonial":"The precision engineering is unmatched. My BULLS hardtail handles technical trail sections like nothing else I've ridden. Absolutely game-changing for competitive riding.",
              "imageSrc":"https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767548957298-0hld77hl.jpg",
              "imageAlt":"Marcus Weber"
            },
            {
              "id":"2",
              "name":"Sarah Chen",
              "handle":"Gravel Enthusiast",
              "testimonial":"Took my BULLS gravel bike on a 2-week bikepacking adventure. The build quality and reliability were incredible. Best investment in my cycling journey.",
              "imageSrc":"https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767548944085-ceri47nf.jpg",
              "imageAlt":"Sarah Chen"
            },
            {
              "id":"3",
              "name":"James Rodriguez",
              "handle":"Road Cyclist",
              "testimonial":"As a serious road cyclist, I appreciate the attention to detail. The geometry is perfect, the components are top-tier, and the ride feel is smooth even on century rides.",
              "imageSrc":"https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767549029239-04sgfkip.jpg",
              "imageAlt":"James Rodriguez"
            },
            {
              "id":"4",
              "name":"Emma Thompson",
              "handle":"Weekend Rider",
              "testimonial":"I'm not a pro, just someone who loves cycling. My BULLS e-bike makes every ride fun and effortless. The motor assist is perfect for exploring new trails with friends.",
              "imageSrc":"https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767549008483-oxrd221f.jpg",
              "imageAlt":"Emma Thompson"
            },
            {
              "id":"5",
              "name":"David König",
              "handle":"Enduro Champion",
              "testimonial":"I've raced BULLS bikes for three seasons now. The full-suspension platform absorbs punishment and keeps you fast through rough terrain. Nothing compares for enduro racing.",
              "imageSrc":"https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767549003103-pgzxg754.jpg",
              "imageAlt":"David König"
            },
            {
              "id":"6",
              "name":"Lisa Mueller",
              "handle":"Urban Commuter",
              "testimonial":"Daily commuting on my BULLS gravel bike is a pleasure. Durable, responsive, and handles everything from smooth pavement to rough paths. Best commuter bike ever.",
              "imageSrc":"https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767549060749-6lnto18o.jpg",
              "imageAlt":"Lisa Mueller"
            }
          ]}
        />
      </div>
      
      <div id="pricing" data-section="pricing">
        <PricingCardSix
          title="Financing Options"
          description="Premium bikes made accessible with flexible payment plans"
          tag="Pricing"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          plans={[
            {
              "id":"basic-hardtail",
              "price":"From €1,299",
              "subtitle":"Hardtail MTB entry-level performance with professional geometry",
              "features":[
                "Aluminum frame construction",
                "Shimano drivetrain",
                "27.5\" or 29\" wheel options",
                "1-year frame warranty",
                "Free first service",
                "Free shipping included"
              ],
              "buttons":[
                {"text":"View Models","href":"models"}
              ],
              "bottomNotes":[
                "From €129/month with Klarna",
                "Delivered in 3-5 business days"
              ]
            },
            {
              "id":"pro-fullsuspension",
              "price":"From €2,199",
              "subtitle":"Full-suspension MTB for serious trails and enduro racing",
              "features":[
                "Carbon-aluminum frame",
                "SRAM GX drivetrain",
                "Adjustable suspension geometry",
                "2-year frame warranty",
                "Free accessories pack included",
                "Priority support access"
              ],
              "buttons":[
                {"text":"View Models","href":"models"}
              ],
              "bottomNotes":[
                "From €220/month with Klarna",
                "Delivered in 3-5 business days"
              ]
            },
            {
              "id":"premium-ebike",
              "price":"From €3,499",
              "subtitle":"Electric bike with premium motor and battery technology",
              "features":[
                "Carbon frame with motor integration",
                "Powerful electric motor assist",
                "Long-range battery (range varies)",
                "3-year comprehensive warranty",
                "Free extended service plan",
                "24/7 premium support"
              ],
              "buttons":[
                {"text":"View Models","href":"models"}
              ],
              "bottomNotes":[
                "From €349/month with Klarna",
                "Premium financing available"
              ]
            }
          ]}
        />
      </div>
      
      <div id="faq" data-section="faq">
        <FaqDouble
          title="Frequently Asked Questions"
          description="Everything you need to know about BULLS bikes, sizing, and support"
          tag="Help"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="smooth"
          faqs={[
            {
              "id":"1",
              "title":"How do I choose the right size?",
              "content":"BULLS provides a height-based sizing chart for each model. Measure your inseam and refer to the detailed size guide on each product page. We recommend visiting a dealer for a professional fit assessment, or use our online sizing calculator for remote guidance."
            },
            {
              "id":"2",
              "title":"What warranty does BULLS offer?",
              "content":"All BULLS frames come with a comprehensive warranty: 1 year on hardtail models, 2 years on full-suspension and gravel bikes, and 3 years on e-bikes. Frame defects are covered against manufacturing issues. Register your bike after purchase for full warranty protection."
            },
            {
              "id":"3",
              "title":"How long does shipping take?",
              "content":"Standard delivery is 3-5 business days across Europe. Bikes are carefully packaged and can be delivered partially assembled. A professional assembly service is available for an additional fee. Track your order in real-time on your account dashboard."
            },
            {
              "id":"4",
              "title":"Do you offer financing options?",
              "content":"Yes! BULLS partners with Klarna to offer flexible payment plans starting from €129/month. Choose your plan at checkout with 0% interest options available. Terms vary by country and total purchase price."
            },
            {
              "id":"5",
              "title":"What is your return policy?",
              "content":"BULLS offers a 30-day money-back guarantee on all bikes. If unsatisfied for any reason, simply initiate a return through your account. We cover return shipping costs. Bikes must be in original condition to qualify."
            },
            {
              "id":"6",
              "title":"Are spare parts and accessories available?",
              "content":"Absolutely. BULLS provides genuine parts, wheels, drivetrain components, and accessories for all models. Browse our parts catalog or contact our support team for specific component availability and compatibility."
            },
            {
              "id":"7",
              "title":"What support services are available?",
              "content":"BULLS offers email, phone, and chat support. We also maintain a network of authorized dealers across Europe who provide professional service, repairs, and maintenance. Warranty repairs are covered at any authorized BULLS service center."
            },
            {
              "id":"8",
              "title":"Can I upgrade components on my bike?",
              "content":"Yes! BULLS allows component upgrades at purchase (wheels, drivetrain, accessories bundles). Post-purchase upgrades should be done by qualified mechanics using compatible BULLS components to maintain warranty coverage."
            }
          ]}
        />
      </div>
      
      <div id="contact" data-section="contact">
        <ContactFaq
          ctaTitle="Ready to Ride?"
          ctaDescription="Get in touch with our team to choose the perfect BULLS bike for your riding style and needs."
          ctaIcon={Phone}
          ctaButton={{"text":"Book a Consultation","href":"#"}}
          useInvertedBackground="noInvert"
          animationType="slide-up"
          accordionAnimationType="smooth"
          faqs={[
            {
              "id":"contact-1",
              "title":"Can I test ride a BULLS bike?",
              "content":"Yes! Visit any authorized BULLS dealer to schedule a test ride. We have demo bikes available in all categories. Contact our support team to find the nearest dealer in your area."
            },
            {
              "id":"contact-2",
              "title":"Do you offer group or team discounts?",
              "content":"Absolutely. BULLS offers special pricing for cycling clubs, racing teams, and bulk orders. Contact our B2B team at b2b@bullsbikes.com with details about your group to receive a custom quote."
            },
            {
              "id":"contact-3",
              "title":"What is your customer service response time?",
              "content":"We respond to all inquiries within 24 hours. For urgent support, call our hotline during business hours. Premium members receive priority support with response times under 4 hours."
            },
            {
              "id":"contact-4",
              "title":"Is technical support included with purchase?",
              "content":"Yes! All BULLS bikes include 1 year of complimentary technical support. Our experts can help with setup, maintenance questions, and troubleshooting via email, phone, or chat."
            }
          ]}
        />
      </div>
      
      <div id="footer" data-section="footer">
        <FooterSocial
          logoText="BULLS"
          copyrightText="© BULLS GmbH 2025. Premium Bikes Engineered in Germany."
          columns={[
            {
              "title":"Products",
              "items":[
                {"label":"Hardtail MTB","href":"models"},
                {"label":"Full-Suspension MTB","href":"models"},
                {"label":"Gravel Bikes","href":"models"},
                {"label":"Road Bikes","href":"models"},
                {"label":"e-Bikes","href":"models"}
              ]
            },
            {
              "title":"Company",
              "items":[
                {"label":"About BULLS","href":"about"},
                {"label":"German Engineering","href":"about"},
                {"label":"Careers","href":"#"},
                {"label":"Press","href":"#"}
              ]
            },
            {
              "title":"Support",
              "items":[
                {"label":"FAQ","href":"faq"},
                {"label":"Contact","href":"contact"},
                {"label":"Warranty","href":"#"},
                {"label":"Returns","href":"#"}
              ]
            },
            {
              "title":"Legal",
              "items":[
                {"label":"Privacy Policy","href":"#"},
                {"label":"Terms of Service","href":"#"},
                {"label":"Cookie Policy","href":"#"}
              ]
            }
          ]}
          socialLinks={[
            {"icon":Instagram,"href":"https://instagram.com/bullsbikes","ariaLabel":"BULLS Instagram"},
            {"icon":Facebook,"href":"https://facebook.com/bullsbikes","ariaLabel":"BULLS Facebook"},
            {"icon":Youtube,"href":"https://youtube.com/bullsbikes","ariaLabel":"BULLS YouTube"},
            {"icon":Twitter,"href":"https://twitter.com/bullsbikes","ariaLabel":"BULLS Twitter"}
          ]}
        />
      </div>
    </ThemeProvider>
  );
}