"use client"

import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroOverlay from '@/components/sections/hero/HeroOverlay';
import ProductCardSeven from '@/components/sections/product/ProductCardSeven';
import TextAbout from '@/components/sections/about/TextAbout';
import FeatureCardTwenty from '@/components/sections/feature/FeatureCardTwenty';
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="compact"
      sizing="medium"
      background="floatingGradient"
      cardStyle="gradient-mesh"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="outline"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="Alpine Gear"
          navItems={[
            { name: "Shop", id: "products" },
            { name: "About", id: "about" },
            { name: "Features", id: "features" },
            { name: "Reviews", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
          button={{
            text: "Shop Now",
            href: "products"
          }}
        />
      </div>
      
      <div id="hero" data-section="hero">
        <HeroOverlay
          title="Alpine Gear for Dolomites"
          description="Premium ski equipment and mountain apparel for serious skiers. Engineered for the peaks."
          tag="Mountain Essentials"
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767310005562-cgvxzn2j.jpg"
          imageAlt="Snow-covered Dolomites mountain peaks"
          textPosition="bottom-left"
          showBlur={true}
          showDimOverlay={true}
          buttons={[
            { text: "Shop Collection", href: "products" },
            { text: "Learn More", href: "about" }
          ]}
        />
      </div>
      
      <div id="products" data-section="products">
        <ProductCardSeven
          title="Featured Ski Gear"
          description="Hand-selected equipment trusted by mountain enthusiasts across the Alps"
          tag="Shop Now"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          products={[
            {
              id: "1",
              name: "Pro Alpine Jacket",
              price: "€349",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766871933755-ytfdu3v3.jpg",
              imageAlt: "Premium ski jacket in technical fabric"
            },
            {
              id: "2",
              name: "Insulated Ski Pants",
              price: "€279",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766871933540-evgjz64z.jpg",
              imageAlt: "Waterproof insulated ski pants"
            },
            {
              id: "3",
              name: "Performance Ski Boots",
              price: "€399",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766871936802-jkl8rfp9.jpg",
              imageAlt: "High-performance ski boots"
            },
            {
              id: "4",
              name: "Safety Ski Helmet",
              price: "€189",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766871935857-cl800vwo.jpg",
              imageAlt: "Certified protection helmet"
            },
            {
              id: "5",
              name: "Thermal Ski Gloves",
              price: "€89",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766247954480-jda2xd2t.jpg",
              imageAlt: "Warm thermal gloves with grip"
            },
            {
              id: "6",
              name: "Alpine Snow Goggles",
              price: "€159",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767310007953-qow3y2e0.jpg",
              imageAlt: "Polarized protective goggles"
            }
          ]}
          buttons={[
            { text: "View All Products", href: "#products" }
          ]}
        />
      </div>
      
      <div id="about" data-section="about">
        <TextAbout
          title="Located in the heart of the Dolomites, Alpine Gear brings together decades of mountain expertise and world-class equipment for skiers of all levels."
          useInvertedBackground="noInvert"
          buttons={[
            { text: "Our Story", href: "#" }
          ]}
        />
      </div>
      
      <div id="features" data-section="features">
        <FeatureCardTwenty
          title="Built for Mountain Performance"
          description="Every product in our collection is tested in real Alpine conditions. From durability to comfort, we prioritize what matters on the slopes."
          tag="Quality Assurance"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          images={[
            {
              id: 1,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767310011402-weekmxui.jpg",
              imageAlt: "Durable mountain equipment tested in harsh conditions"
            },
            {
              id: 2,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767310012284-apc221ya.jpg",
              imageAlt: "Comfortable gear for long days on the slopes"
            }
          ]}
        />
      </div>
      
      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwelve
          cardTitle="Trusted by thousands of skiers across Europe"
          cardTag="Customer Reviews"
          useInvertedBackground="noInvert"
          testimonials={[
            {
              id: "1",
              name: "Maria Rossi",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767310009225-znrh1p3q.jpg",
              imageAlt: "Maria Rossi, satisfied customer"
            },
            {
              id: "2",
              name: "Klaus Mueller",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766824446101-3mycrcym.jpg",
              imageAlt: "Klaus Mueller, satisfied customer"
            },
            {
              id: "3",
              name: "Sophie Laurent",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767310010039-aj43290s.jpg",
              imageAlt: "Sophie Laurent, satisfied customer"
            },
            {
              id: "4",
              name: "Marco Benedetti",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766321576736-ix2lum2h.jpg",
              imageAlt: "Marco Benedetti, satisfied customer"
            }
          ]}
        />
      </div>
      
      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Newsletter"
          title="Stay Updated"
          description="Get exclusive deals, new product releases, and mountain tips delivered to your inbox."
          useInvertedBackground="noInvert"
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766754761071-fs5fn9se.jpg"
          imageAlt="Mountain snow landscape"
          mediaPosition="right"
          inputPlaceholder="Enter your email"
          buttonText="Subscribe"
          termsText="We respect your privacy. Unsubscribe at any time."
        />
      </div>
      
      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767310006771-qe9n617m.jpg"
          imageAlt="Dolomites mountain landscape"
          logoText="Alpine Gear"
          copyrightText="© 2024 Alpine Gear. All rights reserved."
          columns={[
            {
              title: "Shop",
              items: [
                { label: "Jackets", href: "#products" },
                { label: "Pants", href: "#products" },
                { label: "Boots", href: "#products" },
                { label: "Accessories", href: "#products" }
              ]
            },
            {
              title: "Company",
              items: [
                { label: "About Us", href: "#about" },
                { label: "Our Story", href: "#about" },
                { label: "Contact", href: "#contact" }
              ]
            },
            {
              title: "Legal",
              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms & Conditions", href: "#" },
                { label: "Returns", href: "#" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}