"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleMinimal from '@/components/navbar/NavbarStyleMinimal';
import HeroLogoBillboardSplit from '@/components/sections/hero/HeroLogoBillboardSplit';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import TestimonialCardEleven from '@/components/sections/testimonial/TestimonialCardEleven';
import ContactInline from '@/components/sections/contact/ContactInline';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import { Coffee, Heart, Sparkles, Quote } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-shift"
      defaultTextAnimation="background-highlight"
      borderRadius="rounded"
      contentWidth="large"
      sizing="mediumSizeExtraLargeSpacing"
      background="none"
      cardStyle="elevated-accent-light"
      primaryButtonStyle="neon-glow-border"
      secondaryButtonStyle="glass"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleMinimal
          logoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766146064529-il0c9waa.jpg"
          logoAlt="Coffee Shop Logo"
          brandName="Bean & Brew"
          button={{
            text: "Order Now",
            href: "#products"
          }}
          className="bg-white shadow-sm"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroLogoBillboardSplit
          logoText="BEAN & BREW"
          description="Handcrafted coffee experience. Ethically sourced beans, roasted to perfection, and served with passion in every cup."
          buttons={[
            {
              text: "Shop Coffee",
              href: "#products"
            },
            {
              text: "Learn More",
              href: "#about"
            }
          ]}
          layoutOrder="default"
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766148372713-8z4egryp.jpg"
          imageAlt="Fresh brewed latte with latte art"
          frameStyle="card"
        />
      </div>

      <div id="about" data-section="about">
        <TestimonialAboutCard
          tag="Our Story"
          tagIcon={Coffee}
          title="We believe coffee is more than a beverage. It's a moment of connection, a ritual of care, and an expression of craftsmanship."
          description="Bean & Brew Collective"
          subdescription="Established 2018, Seattle WA"
          icon={Heart}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766148378684-b73d7fln.jpg"
          imageAlt="Our cozy coffee shop interior with barista counter"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardThree
          title="Our Collection"
          description="Carefully curated selection of premium coffees from around the world"
          tag="Fresh & Roasted"
          tagIcon={Sparkles}
          products={[
            {
              id: "1",
              name: "Ethiopian Yirgacheffe",
              price: "$14.99",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766146066040-2r8kg9lr.jpg",
              imageAlt: "Ethiopian Yirgacheffe coffee beans",
              initialQuantity: 1
            },
            {
              id: "2",
              name: "Colombian Supremo",
              price: "$16.99",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766148374410-m3md8kt6.jpg",
              imageAlt: "Colombian Supremo espresso shot",
              initialQuantity: 1
            },
            {
              id: "3",
              name: "Costa Rican Tarrazú",
              price: "$15.99",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766146068893-uhkg6skf.jpg",
              imageAlt: "Costa Rican Tarrazú cappuccino",
              initialQuantity: 1
            },
            {
              id: "4",
              name: "Cold Brew Concentrate",
              price: "$12.99",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766148375473-mrx0rtxo.jpg",
              imageAlt: "Cold brew concentrate bottle",
              initialQuantity: 1
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          containerStyle="default"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardEleven
          title="What Our Coffee Lovers Say"
          description="Join thousands of customers who have transformed their morning ritual"
          tag="Customer Stories"
          tagIcon={Quote}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          testimonials={[
            {
              id: "1",
              nameTitle: "Sarah Johnson, Coffee Enthusiast",
              quote: "The quality and freshness of these beans is unmatched. Every cup tastes like a celebration. I've recommended Bean & Brew to all my friends.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766146500582-fa5sq319.jpg",
              imageAlt: "Sarah Johnson"
            },
            {
              id: "2",
              nameTitle: "Michael Chen, Remote Worker",
              quote: "My morning routine has never been better. These coffees give me that perfect focus boost without the crash. Outstanding.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766148380854-glblobw8.jpg",
              imageAlt: "Michael Chen"
            },
            {
              id: "3",
              nameTitle: "Emma Rodriguez, Chef",
              quote: "As someone who appreciates quality ingredients, I'm impressed by Bean & Brew's sourcing standards. Ethical and delicious.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766148382725-7sj2f31t.jpg",
              imageAlt: "Emma Rodriguez"
            },
            {
              id: "4",
              nameTitle: "David Kim, Barista",
              quote: "I use these beans in my cafe now. My customers notice the difference. The consistency is remarkable across batches.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766148383921-63hkiiwc.jpg",
              imageAlt: "David Kim"
            },
            {
              id: "5",
              nameTitle: "Lisa Wong, Busy Parent",
              quote: "Makes my mornings easier and the taste brings back the joy in coffee. Worth every penny for this quality.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766148385257-m9ejc4az.jpg",
              imageAlt: "Lisa Wong"
            },
            {
              id: "6",
              nameTitle: "James Miller, Coffee Connoisseur",
              quote: "Finally found a roaster that respects the bean. The flavor profiles are complex, nuanced, and absolutely beautiful.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766148386315-f9hodk53.jpg",
              imageAlt: "James Miller"
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactInline
          text="Stay Updated with Special Offers"
          inputPlaceholder="Enter your email"
          buttonText="Subscribe"
          animationType="entrance-slide"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseCard
          logoText="Bean & Brew"
          columns={[
            {
              title: "Shop",
              items: [
                {
                  label: "Coffee Beans",
                  href: "#products"
                },
                {
                  label: "Brewing Guides",
                  href: "#"
                },
                {
                  label: "Gifts",
                  href: "#"
                }
              ]
            },
            {
              title: "Company",
              items: [
                {
                  label: "About Us",
                  href: "#about"
                },
                {
                  label: "Our Story",
                  href: "#"
                },
                {
                  label: "Sustainability",
                  href: "#"
                }
              ]
            },
            {
              title: "Contact",
              items: [
                {
                  label: "Email: hello@beandbrew.com",
                  href: "mailto:hello@beandbrew.com"
                },
                {
                  label: "Phone: (206) 555-0123",
                  href: "tel:+12065550123"
                },
                {
                  label: "Seattle, WA",
                  href: "#"
                }
              ]
            },
            {
              title: "Hours",
              items: [
                {
                  label: "Mon-Fri: 6am - 8pm",
                  href: "#"
                },
                {
                  label: "Sat-Sun: 7am - 9pm",
                  href: "#"
                }
              ]
            }
          ]}
          copyrightText="© 2024 Bean & Brew Collective. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}