"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroBillboardCarousel from '@/components/sections/hero/HeroBillboardCarousel';
import InlineImageSplitTextAbout from '@/components/sections/about/InlineImageSplitTextAbout';
import ProductCardSix from '@/components/sections/product/ProductCardSix';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterSplit from '@/components/sections/footer/FooterSplit';
import { MapPin, Phone, Mail } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="bounce-effect"
      defaultTextAnimation="background-highlight"
      borderRadius="sharp"
      contentWidth="mediumSmall"
      sizing="medium"
      background="none"
      cardStyle="outline"
      primaryButtonStyle="outline"
      secondaryButtonStyle="layered"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={[
            { name: "Home", id: "home" },
            { name: "Menu", id: "products" },
            { name: "About", id: "about" },
            { name: "Contact", id: "contact" },
            { name: "Hours", id: "footer" }
          ]}
          brandName="Brew Haven"
          bottomLeftText="Your local coffee sanctuary"
          bottomRightText="hello@brewhaven.com"
        />
      </div>
      
      <div id="hero" data-section="hero">
        <HeroBillboardCarousel
          title="Brew Haven Coffee Shop"
          description="Discover the finest specialty coffees and freshly baked pastries in town"
          tag="Specialty Roasts"
          mediaItems={[
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766664619790-cxuv8xr9.jpg",
              imageAlt: "Espresso cup with latte art"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766161458217-xwww2181.jpg",
              imageAlt: "Creamy cappuccino"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766664620390-dvzwxkf2.jpg",
              imageAlt: "Coffee beans close up"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766664620949-vdwzajlk.jpg",
              imageAlt: "Cozy coffee shop interior"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766161458694-we6v18eq.jpg",
              imageAlt: "Barista brewing coffee"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766664619790-cxuv8xr9.jpg",
              imageAlt: "Perfect morning coffee"
            }
          ]}
          buttons={[
            { text: "View Menu", href: "products" },
            { text: "Visit Us", href: "contact" }
          ]}
        />
      </div>
      
      <div id="about" data-section="about">
        <InlineImageSplitTextAbout
          heading={[
            {
              type: "text",
              content: "Crafted with passion, served with heart at"
            },
            {
              type: "image",
              src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766664621674-xpdiz76x.jpg",
              alt: "Brew Haven storefront"
            },
            {
              type: "text",
              content: "since 2015"
            }
          ]}
          useInvertedBackground="noInvert"
          buttons={[
            { text: "Our Story", href: "#" },
            { text: "Meet the Team", href: "team" }
          ]}
        />
      </div>
      
      <div id="products" data-section="products">
        <ProductCardSix
          title="Our Signature Blends"
          description="Each cup tells a story of origin, roast, and craftsmanship"
          products={[
            {
              id: "1",
              name: "Espresso Perfetto",
              price: "$4.50",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766664622705-s6lfoh63.jpg",
              imageAlt: "Espresso shot"
            },
            {
              id: "2",
              name: "Smooth Latte",
              price: "$5.50",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766664623597-20t84shb.jpg",
              imageAlt: "Latte with latte art"
            },
            {
              id: "3",
              name: "Classic Cappuccino",
              price: "$5.00",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766664624297-s3bj1vgi.jpg",
              imageAlt: "Cappuccino with foam"
            },
            {
              id: "4",
              name: "Fresh Pastries",
              price: "$4.00",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766664625172-2jwimtv6.jpg",
              imageAlt: "Croissant and pastries"
            }
          ]}
          gridVariant="uniform-all-items-equal"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Stay Connected"
          title="Get Updates on New Drinks and Events"
          description="Join our loyalty program and receive exclusive offers, new blend announcements, and special event invitations"
          useInvertedBackground="noInvert"
          inputPlaceholder="Enter your email"
          buttonText="Subscribe"
          termsText="We respect your privacy. Unsubscribe anytime from our newsletter."
        />
      </div>
      
      <div id="footer" data-section="footer">
        <FooterSplit
          logoText="Brew Haven"
          title="Your daily ritual, perfected"
          columns={[
            {
              title: "Menu",
              items: [
                { label: "Coffee Drinks", href: "#products" },
                { label: "Pastries", href: "#products" },
                { label: "Seasonal", href: "#products" }
              ]
            },
            {
              title: "Visit",
              items: [
                { label: "Hours", href: "#" },
                { label: "Location", href: "#" },
                { label: "Parking", href: "#" }
              ]
            },
            {
              title: "Connect",
              items: [
                { label: "Contact Us", href: "#contact" },
                { label: "Instagram", href: "https://instagram.com" },
                { label: "Newsletter", href: "#contact" }
              ]
            }
          ]}
          contactItems={[
            {
              icon: MapPin,
              text: "123 Main Street, Your City, ST 12345"
            },
            {
              icon: Phone,
              text: "(555) 123-4567"
            },
            {
              icon: Mail,
              text: "hello@brewhaven.com"
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}