"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import FeatureCardNine from '@/components/sections/feature/FeatureCardNine';
import FooterCard from '@/components/sections/footer/FooterCard';
import HeroBillboardGallery from '@/components/sections/hero/HeroBillboardGallery';
import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import PricingCardOne from '@/components/sections/pricing/PricingCardOne';
import TeamCardOne from '@/components/sections/team/TeamCardOne';
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="hover-bubble"
        defaultTextAnimation="background-highlight"
        borderRadius="pill"
        contentWidth="mediumLarge"
        sizing="largeSizeMediumTitles"
        background="noiseDiagonalGradient"
        cardStyle="glass-elevated"
        primaryButtonStyle="diagonal-gradient"
        secondaryButtonStyle="glass"
        headingFontWeight="semibold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleApple
      navItems={[
        { name: "Services", id: "services" },
        { name: "Team", id: "team" },
        { name: "Reviews", id: "reviews" },
        { name: "Contact", id: "contact" },
      ]}
      brandName="Grand Performance Inc."
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroBillboardGallery
      background={{ variant: "sparkles-gradient" }}
      title="Engineered for Perfection"
      description="Grand Performance Inc. defines the gold standard in automotive excellence, delivering bespoke mechanical solutions for high-performance machines."
      mediaItems={[
        { imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-man-fixing-car_23-2149385729.jpg", imageAlt: "Precision engine work" },
        { imageSrc: "http://img.b2bpic.net/free-photo/pretty-girl-is-posing-photographer-while-sitting-dark-auto-service-holding-pneumatic-drill_613910-17054.jpg", imageAlt: "Detailing process" },
        { imageSrc: "http://img.b2bpic.net/free-photo/full-shot-man-working-car_23-2149385721.jpg", imageAlt: "Luxury chassis restoration" },
      ]}
    />
  </div>

  <div id="services" data-section="services">
      <FeatureCardNine
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      features={[
        { title: "Engine Diagnostics", description: "Advanced computer analysis to ensure total engine health.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/female-mechanic-examining-car-engine-with-help-laptop_1170-1531.jpg" }, phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/mechanic-using-touchscreen-device_1170-1680.jpg" } },
        { title: "Performance Tuning", description: "Custom power maps tailored for your driving style.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/mechanic-pouring-oil-lubricant-into-car-engine_1170-1461.jpg" }, phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/close-up-fuel-level-gauge-vehicle_23-2150163682.jpg" } },
      ]}
      showStepNumbers={false}
      title="Bespoke Mechanical Care"
      description="Premium services for the most discerning vehicle owners."
    />
  </div>

  <div id="stats" data-section="stats">
      <MetricCardTwo
      animationType="blur-reveal"
      gridVariant="bento-grid"
      textboxLayout="split"
      useInvertedBackground={false}
      metrics={[
        { id: "s1", value: "15+", description: "Years of Gold-Standard Service" },
        { id: "s2", value: "5k+", description: "Luxury Vehicles Optimized" },
        { id: "s3", value: "99%", description: "Precision Accuracy" },
      ]}
      title="The Gold Standard"
      description="Defined by our commitment to precision."
    />
  </div>

  <div id="team" data-section="team">
      <TeamCardOne
      animationType="slide-up"
      gridVariant="three-columns-all-equal-width"
      textboxLayout="default"
      useInvertedBackground={false}
      members={[
        { id: "t1", name: "Michael Reed", role: "Master Technician", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-man-posing-studio_23-2150275719.jpg" },
        { id: "t2", name: "Sarah Chen", role: "Engine Lead", imageSrc: "http://img.b2bpic.net/free-photo/mechanic-standing-repair-garage_1170-1536.jpg" },
        { id: "t3", name: "James Vance", role: "Performance Specialist", imageSrc: "http://img.b2bpic.net/free-photo/happy-auto-mechanic-taking-his-hat-while-standing-workshop-looking-camera-his-customers-are-background_637285-7792.jpg" },
      ]}
      title="The Expert Collective"
      description="Dedicated professionals crafting automotive perfection."
    />
  </div>

  <div id="reviews" data-section="reviews">
      <TestimonialCardTwo
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      testimonials={[
        { id: "r1", name: "Marcus A.", role: "Collector", testimonial: "The gold standard of service. Unmatched attention to detail.", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-man-working-as-valet_23-2150320986.jpg" },
        { id: "r2", name: "Elena P.", role: "Supercar Owner", testimonial: "Transformed my performance tuning experience. Elegant and effective.", imageSrc: "http://img.b2bpic.net/free-photo/smiley-woman-office-holding-tablet_23-2148356266.jpg" },
      ]}
      title="Client Excellence"
      description="Trusted by the best in the industry."
    />
  </div>

  <div id="pricing" data-section="pricing">
      <PricingCardOne
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      plans={[
        { id: "essential", badge: "Essential", price: "$250", subtitle: "Professional Health Assessment", features: ["Full Diagnostic", "Engine Tune-up", "Brake Audit"] },
        { id: "gold", badge: "Gold Premium", price: "$750", subtitle: "Engine Optimization Package", features: ["Performance Map", "Fluid Re-calibration", "System Refresh", "Priority Support"] },
      ]}
      title="Curated Packages"
      description="Tailored service tiers for supreme vehicle maintenance."
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqSplitMedia
      faqs={[
        { id: "q1", title: "Why choose Grand Performance?", content: "Our gold standard focus on precision ensures your vehicle runs like new." },
        { id: "q2", title: "Do you offer pick-up?", content: "Yes, concierge service is available for our Gold tier clients." },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/mechanic-standing-with-arms-crossed_1170-1346.jpg"
      title="Frequently Asked"
      description="We define mechanical clarity."
      buttons={[{ text: "Book Now", href: "#contact" }]}
      faqsAnimation="slide-up"
      textboxLayout="split-actions"
      useInvertedBackground={false}
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactCenter
      background={{ variant: "sparkles-gradient" }}
      tag="Schedule"
      title="Secure Your Consultation"
      description="Elevate your performance today. Contact us for a bespoke service consultation."
      useInvertedBackground={false}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterCard
      logoText="Grand Performance Inc."
      copyrightText="© 2025 Grand Performance Inc. Precision-tuned excellence."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}