"use client"

import { Award, Coffee, Star, Users } from "lucide-react";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen";
import HeroBillboardCarousel from "@/components/sections/hero/HeroBillboardCarousel";
import AboutMetric from "@/components/sections/about/AboutMetric";
import ProductCardOne from "@/components/sections/product/ProductCardOne";
import TestimonialCardNine from "@/components/sections/testimonial/TestimonialCardNine";
import ContactSplitForm from "@/components/sections/contact/ContactSplitForm";
import FooterLogoEmphasis from "@/components/sections/footer/FooterLogoEmphasis";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="bounce-effect"
      defaultTextAnimation="background-highlight"
      borderRadius="pill"
      contentWidth="medium"
      sizing="largeSmall"
      background="none"
      cardStyle="gradient-subtle"
      primaryButtonStyle="neon-glow-border"
      secondaryButtonStyle="solid"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen 
          navItems={[
            { name: "Home", id: "hero" },
            { name: "Menu", id: "products" },
            { name: "About", id: "about" },
            { name: "Contact", id: "contact" },
            { name: "Visit Us", id: "https://maps.google.com" }
          ]}
          brandName="Coffee Brew"
          bottomLeftText="Open 7AM - 8PM Daily"
          bottomRightText="hello@coffeebrew.com"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardCarousel
          title="Premium Coffee, Crafted Daily"
          description="Experience the finest specialty coffee blends served by our passionate baristas in a warm, welcoming atmosphere"
          tag="Coffee Shop"
          buttons={[
            { text: "View Menu", href: "products" },
            { text: "Reserve Table", href: "contact" }
          ]}
          mediaItems={[
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766932163302-7bcte6t0.jpg",
              imageAlt: "Espresso coffee"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766926074295-2uiuarc1.jpg",
              imageAlt: "Cappuccino with foam art"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766932164440-pcmycwvt.jpg",
              imageAlt: "Iced coffee drink"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766932165502-z4gplj7t.jpg",
              imageAlt: "Mocha coffee with chocolate"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766932166604-nduijbp1.jpg",
              imageAlt: "Barista pouring espresso"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766932167733-prjq069b.jpg",
              imageAlt: "Latte art design"
            }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <AboutMetric
          title="Brewing Excellence Since 2012 - Your Daily Coffee Destination"
          metrics={[
            { icon: Coffee, label: "Coffee Cups", value: "50,000+" },
            { icon: Users, label: "Regular Customers", value: "8,500+" },
            { icon: Award, label: "Specialty Blends", value: "24" },
            { icon: Star, label: "Customer Rating", value: "4.9★" }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardOne
          title="Featured Coffee Selection"
          description="Explore our handpicked selection of specialty coffee drinks and pastries"
          tag="Menu"
          products={[
            {
              id: "1",
              name: "Americano",
              price: "$4.50",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766926841147-bcqdr429.jpg",
              imageAlt: "Americano espresso with water"
            },
            {
              id: "2",
              name: "Macchiato",
              price: "$5.00",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766926075348-df8ny601.jpg",
              imageAlt: "Macchiato with espresso and foam"
            },
            {
              id: "3",
              name: "Flat White",
              price: "$5.50",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766926071450-kpn3dy5a.jpg",
              imageAlt: "Flat white silky milk coffee"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardNine
          title="Loved by Coffee Enthusiasts"
          description="See what our regular customers have to say about their Coffee Brew experience"
          tag="Reviews"
          testimonials={[
            {
              id: "1",
              quote: "The best espresso in town! I come here every morning before work. The baristas are incredibly skilled and friendly.",
              name: "Sarah Johnson",
              role: "Marketing Manager",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766926844235-7l29aoad.jpg",
              imageAlt: "Sarah Johnson portrait"
            },
            {
              id: "2",
              quote: "Consistently excellent coffee and a wonderful atmosphere. This is my favorite spot to work and relax.",
              name: "Michael Chen",
              role: "Software Developer",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766926845317-onizj8gx.jpg",
              imageAlt: "Michael Chen portrait"
            },
            {
              id: "3",
              quote: "The flat white here is absolutely perfect. I've tried many places, but this is where I always come back.",
              name: "Emma Rodriguez",
              role: "Graphic Designer",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766926846673-7hhe1qih.jpg",
              imageAlt: "Emma Rodriguez portrait"
            },
            {
              id: "4",
              quote: "A cozy corner of heaven. The staff remembers my order and the coffee never disappoints. Highly recommended!",
              name: "David Park",
              role: "Teacher",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766926848146-0buu1sqb.jpg",
              imageAlt: "David Park portrait"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Visit Us or Get in Touch"
          description="Located in the heart of downtown, we'd love to serve you. Stop by or send us a message with any questions about our menu and services."
          inputs={[
            { name: "name", type: "text", placeholder: "Your Name", required: true },
            { name: "email", type: "email", placeholder: "Email Address", required: true }
          ]}
          textarea={{
            name: "message",
            placeholder: "Tell us about your visit or ask about special orders...",
            rows: 5,
            required: false
          }}
          useInvertedBackground="noInvert"
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766932169257-b5ur0n6w.jpg"
          imageAlt="Coffee shop location map"
          mediaPosition="right"
          buttonText="Send Message"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoEmphasis
          logoText="Coffee Brew"
          columns={[
            {
              items: [
                { label: "Menu", href: "products" },
                { label: "About", href: "about" },
                { label: "Contact", href: "contact" }
              ]
            },
            {
              items: [
                { label: "Hours", href: "#" },
                { label: "Location", href: "#" },
                { label: "Careers", href: "#" }
              ]
            },
            {
              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms", href: "#" },
                { label: "Feedback", href: "#" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}