"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import HeroSplitLarge from '@/components/sections/hero/HeroSplitLarge';
import ParallaxAbout from '@/components/sections/about/ParallaxAbout';
import ProductCardSeven from '@/components/sections/product/ProductCardSeven';
import FeatureCardTwelve from '@/components/sections/feature/FeatureCardTwelve';
import TestimonialCardNine from '@/components/sections/testimonial/TestimonialCardNine';
import ContactCenterForm from '@/components/sections/contact/ContactCenterForm';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import { Mountain, Zap, Star } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="entrance-slide"
      borderRadius="sharp"
      contentWidth="compact"
      sizing="mediumLargeSizeMediumTitles"
      background="grid"
      cardStyle="outline-light"
      primaryButtonStyle="neon-glow-border"
      secondaryButtonStyle="solid"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="Alpine Gear"
          navItems={[
            { name: "Products", id: "products" },
            { name: "About", id: "about" },
            { name: "Testimonials", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
        />
      </div>
      
      <div id="hero" data-section="hero">
        <HeroSplitLarge
          title="Premium Alpine Skiing Gear"
          description="Engineered in Switzerland for mountain performance. Discover the gear trusted by expert skiers worldwide."
          tag="Swiss Quality"
          tagIcon={Mountain}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766754763910-3ftz1crb.jpg"
          imageAlt="Professional ski jacket in action"
          buttons={[
            { text: "Shop Now", href: "products" },
            { text: "Learn More", href: "about" }
          ]}
        />
      </div>
      
      <div id="about" data-section="about">
        <ParallaxAbout
          title="Crafted for Alpine Excellence"
          description="Based in Switzerland's heart, we combine traditional mountain expertise with cutting-edge technology. Each product is tested in extreme conditions to ensure uncompromising performance and safety on every run."
          tag="Swiss Heritage"
          tagIcon={Zap}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766871936566-cihauwl2.jpg"
          imageAlt="Swiss Alpine mountains"
          buttons={[
            { text: "Our Story", href: "#" }
          ]}
        />
      </div>
      
      <div id="products" data-section="products">
        <ProductCardSeven
          title="Featured Products"
          description="Hand-selected gear designed for alpine adventure and peak performance on the slopes."
          tag="Best Sellers"
          tagIcon={Star}
          products={[
            { id: "1", name: "Pro Alpine Jacket", price: "CHF 399", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766871933755-ytfdu3v3.jpg", imageAlt: "Professional ski jacket" },
            { id: "2", name: "Performance Ski Pants", price: "CHF 349", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766871933540-evgjz64z.jpg", imageAlt: "High-performance ski pants" },
            { id: "3", name: "Expert Ski Boots", price: "CHF 499", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766247954480-jda2xd2t.jpg", imageAlt: "Premium ski boots" },
            { id: "4", name: "Advanced Ski Goggles", price: "CHF 199", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766871937839-7yiclg6g.jpg", imageAlt: "Professional ski goggles" }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="features" data-section="features">
        <FeatureCardTwelve
          title="Why Choose Alpine Gear"
          description="Premium skiing equipment engineered for every condition and skill level."
          features={[
            {
              id: "durability",
              label: "Built to Last",
              title: "Uncompromising durability for extreme conditions",
              items: ["Military-grade materials tested in Alps", "Lifetime warranty on craftsmanship", "Reinforced seams for maximum durability", "Weather-resistant protective coatings"],
              buttons: [{ text: "Learn More", href: "#" }]
            },
            {
              id: "performance",
              label: "High Performance",
              title: "Advanced technology for peak athletic performance",
              items: ["Moisture-wicking thermal regulation", "Aerodynamic design for speed", "Impact-absorbing protection systems", "Competition-grade materials"],
              buttons: [{ text: "Explore Tech", href: "#" }]
            },
            {
              id: "comfort",
              label: "Ultimate Comfort",
              title: "Ergonomic design for all-day comfort",
              items: ["Adjustable fit systems", "Breathable multi-layer construction", "Lightweight yet protective", "Premium lining materials"]
            }
          ]}
          animationType="opacity"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="testimonials" data-section="testimonials">
        <TestimonialCardNine
          title="Trusted by Alpine Athletes"
          description="Real feedback from professional and recreational skiers using Alpine Gear equipment."
          testimonials={[
            {
              id: "1",
              quote: "The precision and quality of Alpine Gear's ski boots changed my approach to performance. Every turn feels more controlled and responsive.",
              name: "Marco Keller",
              role: "Professional Skier",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766871939047-6ikc1hsp.jpg",
              imageAlt: "Marco Keller"
            },
            {
              id: "2",
              quote: "I've tried many brands, but Alpine Gear's jacket keeps me dry and warm in the most extreme conditions. Worth every franc.",
              name: "Sarah Müller",
              role: "Mountain Guide",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766140101670-ttp7xdlv.jpg",
              imageAlt: "Sarah Müller"
            },
            {
              id: "3",
              quote: "The attention to detail is remarkable. From materials to construction, you can feel the Swiss craftsmanship in every piece.",
              name: "Thomas Roth",
              role: "Ski Instructor",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183841431-v1xtegko.jpg",
              imageAlt: "Thomas Roth"
            },
            {
              id: "4",
              quote: "Finally found gear that matches my level of ambition. Alpine Gear's products are as serious about skiing as I am.",
              name: "Lisa Schmid",
              role: "Competitive Skier",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766184201718-hfojd9bk.jpg",
              imageAlt: "Lisa Schmid"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="contact" data-section="contact">
        <ContactCenterForm
          title="Get in Touch"
          description="Have questions about our products or need custom sizing? Contact our Swiss support team."
          inputs={[
            { name: "name", type: "text", placeholder: "Full Name", required: true },
            { name: "email", type: "email", placeholder: "Email Address", required: true },
            { name: "subject", type: "text", placeholder: "Subject", required: true }
          ]}
          textarea={{
            name: "message",
            placeholder: "Tell us how we can help...",
            rows: 5,
            required: true
          }}
          buttonText="Send Message"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="footer" data-section="footer">
        <FooterLogoReveal logoText="Alpine Gear" />
      </div>
    </ThemeProvider>
  );
}
