"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleMinimal from '@/components/navbar/NavbarStyleMinimal';
import HeroLogoCarousel from '@/components/sections/hero/HeroLogoCarousel';
import ParallaxAbout from '@/components/sections/about/ParallaxAbout';
import FeatureCardThree from '@/components/sections/feature/featureCardThree/FeatureCardThree';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';
import ContactInline from '@/components/sections/contact/ContactInline';
import FooterSocial from '@/components/sections/footer/FooterSocial';
import { Award, Coffee, Facebook, Heart, Instagram, Sparkles, Twitter } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="directional-hover"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="medium"
      sizing="mediumLargeSizeLargeTitles"
      background="none"
      cardStyle="shadow-colored"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="minimal"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleMinimal
          brandName="Artisan Coffee Co"
          button={{
            text: "Reserve a Table",
            href: "#contact"
          }}
        />
      </div>
      
      <div id="hero" data-section="hero">
        <HeroLogoCarousel
          logoText="Artisan Coffee Co"
          description="Crafted with precision, served with passion. Discover our signature roasts and specialty drinks in a space designed for connection."
          mediaItems={[
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=qf4i8g",
              imageAlt: "Specialty coffee with latte art"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767604850663-u53ensbz.jpg",
              imageAlt: "Premium roasted coffee beans"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=i8i1xg",
              imageAlt: "Cappuccino in ceramic cup"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767604850663-u53ensbz.jpg",
              imageAlt: "Fresh espresso shot"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767604831774-b9x9enod.jpg",
              imageAlt: "Coffee shop interior and seating"
            }
          ]
          logoLineHeight={1.1}
        />
      </div>
      
      <div id="about" data-section="about">
        <ParallaxAbout
          title="Where Coffee Meets Community"
          description="Since 2015, Artisan Coffee Co has been roasting the finest single-origin beans and serving them with expertise. Our commitment to sustainability, quality, and customer experience sets us apart."
          tag="Our Story"
          tagIcon={Heart}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767604827286-ps0lih89.jpg"
          imageAlt="Cozy coffee shop interior"
          buttons={[
            {
              text: "Learn Our Values",
              href: "#features"
            },
            {
              text: "Visit Us Today",
              href: "#contact"
            }
          ]}
        />
      </div>
      
      <div id="features" data-section="features">
        <FeatureCardThree
          title="Why Choose Artisan"
          description="Experience excellence in every cup"
          tag="Our Advantages"
          tagIcon={Sparkles}
          features={[
            {
              id: "01",
              title: "Specialty Drinks",
              description: "Handcrafted espresso drinks, seasonal specials, and signature creations made by our expert baristas.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767604853143-4mycj3tv.jpg",
              imageAlt: "Creative specialty coffee drink"
            },
            {
              id: "02",
              title: "Artisan Pastries",
              description: "Fresh daily pastries sourced from local bakeries and prepared in-house for optimal quality.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=08sb6d",
              imageAlt: "Fresh artisan pastries"
            },
            {
              id: "03",
              title: "Premium Ambiance",
              description: "Thoughtfully designed spaces perfect for work, study, or connection with friends and community.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767604831774-b9x9enod.jpg",
              imageAlt: "Modern coffee shop interior"
            },
            {
              id: "04",
              title: "Skilled Baristas",
              description: "Certified professionals passionate about coffee craft, trained in latte art, espresso pulling, and flavor profiling.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767604850663-u53ensbz.jpg",
              imageAlt: "Professional barista preparing coffee"
            }
          ]}
          gridVariant="two-columns-alternating-heights"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="products" data-section="products">
        <ProductCardTwo
          title="Signature Menu"
          description="Explore our most beloved coffee selections"
          tag="Best Sellers"
          tagIcon={Award}
          products={[
            {
              id: "1",
              brand: "Artisan Coffee Co",
              name: "Classic Cappuccino",
              price: "$5.50",
              rating: 5,
              reviewCount: "1.2k",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=bixzti",
              imageAlt: "Classic cappuccino with latte art"
            },
            {
              id: "2",
              brand: "Artisan Coffee Co",
              name: "Double Espresso",
              price: "$4.00",
              rating: 5,
              reviewCount: "980",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=3iwfng",
              imageAlt: "Double espresso shot"
            },
            {
              id: "3",
              brand: "Artisan Coffee Co",
              name: "Cold Brew Blend",
              price: "$5.00",
              rating: 5,
              reviewCount: "1.5k",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=x5b1m8",
              imageAlt: "Refreshing cold brew iced coffee"
            },
            {
              id: "4",
              brand: "Artisan Coffee Co",
              name: "Matcha Latte",
              price: "$6.50",
              rating: 4,
              reviewCount: "850",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=rfihwy",
              imageAlt: "Creamy matcha latte alternative"
            }
          ]}
          gridVariant="four-items-2x2-equal-grid"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwelve
          testimonials={[
            {
              id: "1",
              name: "Sarah Johnson",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767604850663-u53ensbz.jpg",
              imageAlt: "Sarah Johnson"
            },
            {
              id: "2",
              name: "James Wilson",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767604849994-1mbwek9v.jpg",
              imageAlt: "James Wilson"
            },
            {
              id: "3",
              name: "Maria Garcia",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767604847098-1c4eppxp.jpg",
              imageAlt: "Maria Garcia"
            },
            {
              id: "4",
              name: "David Chen",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767604850663-u53ensbz.jpg",
              imageAlt: "David Chen"
            },
            {
              id: "5",
              name: "Emily Rodriguez",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767604847098-1c4eppxp.jpg",
              imageAlt: "Emily Rodriguez"
            },
            {
              id: "6",
              name: "Robert Thompson",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767604850663-u53ensbz.jpg",
              imageAlt: "Robert Thompson"
            }
          ]}
          cardTitle="Over 5,000 happy customers enjoy our coffee daily"
          cardTag="Join our community"
          cardTagIcon={Coffee}
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="contact" data-section="contact">
        <ContactInline
          text="Ready to experience great coffee?"
          inputPlaceholder="Enter your email"
          buttonText="Subscribe"
          animationType="reveal-blur"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="footer" data-section="footer">
        <FooterSocial
          logoText="Artisan Coffee Co"
          columns={[
            {
              title: "Company",
              items: [
                {
                  label: "About Us",
                  href: "#about"
                },
                {
                  label: "Our Values",
                  href: "#features"
                },
                {
                  label: "Careers",
                  href: "#"
                }
              ]
            },
            {
              title: "Menu",
              items: [
                {
                  label: "Signature Drinks",
                  href: "#products"
                },
                {
                  label: "Food & Pastries",
                  href: "#products"
                },
                {
                  label: "Seasonal Specials",
                  href: "#"
                }
              ]
            },
            {
              title: "Connect",
              items: [
                {
                  label: "Contact Us",
                  href: "#contact"
                },
                {
                  label: "Reservations",
                  href: "#contact"
                },
                {
                  label: "Gift Cards",
                  href: "#"
                }
              ]
            },
            {
              title: "Legal",
              items: [
                {
                  label: "Privacy Policy",
                  href: "#"
                },
                {
                  label: "Terms of Service",
                  href: "#"
                }
              ]
            }
          ]}
          socialLinks={[
            {
              icon: Instagram,
              href: "https://instagram.com",
              ariaLabel: "Follow us on Instagram"
            },
            {
              icon: Facebook,
              href: "https://facebook.com",
              ariaLabel: "Follow us on Facebook"
            },
            {
              icon: Twitter,
              href: "https://twitter.com",
              ariaLabel: "Follow us on Twitter"
            }
          ]}
          copyrightText="© Artisan Coffee Co, 2025. Crafted with care."
        />
      </div>
    </ThemeProvider>
  );
}