"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import HeroBillboardScroll from '@/components/sections/hero/HeroBillboardScroll';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import ProductCardSeven from '@/components/sections/product/ProductCardSeven';
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';
import ContactText from '@/components/sections/contact/ContactText';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import { Coffee, Heart, Sparkles, Star } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="bounce-effect"
      defaultTextAnimation="entrance-slide"
      borderRadius="soft"
      contentWidth="mediumSmall"
      sizing="mediumLarge"
      background="aurora"
      cardStyle="spotlight"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="solid"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          navItems={[
            { name: "Home", id: "home" },
            { name: "About", id: "about" },
            { name: "Menu", id: "menu" },
            { name: "Contact", id: "contact" }
          ]}
          brandName="My Day"
          button={{
            text: "Book a Table",
            href: "contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardScroll
          title="Welcome to My Day"
          description="Discover our artisan coffee and cozy atmosphere. A perfect place to start your day or unwind with friends."
          tag="Premium Coffee Experience"
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766565656661-lj0131tv.jpg"
          imageAlt="Freshly brewed coffee cup"
          buttons={[
            { text: "View Menu", href: "menu" },
            { text: "Book a Table", href: "contact" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <TestimonialAboutCard
          tag="Our Story"
          tagIcon={Coffee}
          title="Crafted with passion, served with love. My Day coffeeshop is where quality meets comfort."
          description="Founded in 2018"
          subdescription="Locally roasted, ethically sourced, artisan quality"
          icon={Heart}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766565655535-yn1ij35l.jpg"
          imageAlt="My Day coffeeshop interior"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="menu" data-section="menu">
        <ProductCardSeven
          title="Our Menu"
          description="Handcrafted beverages and fresh pastries made fresh daily"
          tag="Featured Items"
          tagIcon={Sparkles}
          products={[
            {
              id: "1",
              name: "Signature Espresso",
              price: "4.50",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766565657535-2effi2o4.jpg",
              imageAlt: "Signature espresso"
            },
            {
              id: "2",
              name: "Cappuccino Classico",
              price: "5.50",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766565658398-rzdk67xj.jpg",
              imageAlt: "Cappuccino with latte art"
            },
            {
              id: "3",
              name: "Cold Brew Blend",
              price: "5.00",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766565659198-9eavtm8q.jpg",
              imageAlt: "Refreshing cold brew"
            },
            {
              id: "4",
              name: "Butter Croissant",
              price: "4.00",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766414397437-vf61oti3.jpg",
              imageAlt: "Fresh butter croissant"
            },
            {
              id: "5",
              name: "Chocolate Cake",
              price: "5.50",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766565660426-dqa90soa.jpg",
              imageAlt: "Rich chocolate cake"
            },
            {
              id: "6",
              name: "Blueberry Muffin",
              price: "4.50",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766565661338-uk9bdz3q.jpg",
              imageAlt: "Fresh blueberry muffin"
            }
          ]}
          gridVariant="uniform-all-items-equal"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwelve
          testimonials={[
            {
              id: "1",
              name: "Sarah Mitchell",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766565662495-bt8vf9hb.jpg",
              imageAlt: "Sarah Mitchell"
            },
            {
              id: "2",
              name: "James Rodriguez",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766565663497-7g5mp6d4.jpg",
              imageAlt: "James Rodriguez"
            },
            {
              id: "3",
              name: "Emily Chen",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766565664521-6sq4zooh.jpg",
              imageAlt: "Emily Chen"
            },
            {
              id: "4",
              name: "Michael Thompson",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766565665445-zz3yp1m7.jpg",
              imageAlt: "Michael Thompson"
            },
            {
              id: "5",
              name: "Jessica Adams",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766508651819-t3cnqjfz.jpg",
              imageAlt: "Jessica Adams"
            },
            {
              id: "6",
              name: "David Wilson",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766565666312-zqg4oclx.jpg",
              imageAlt: "David Wilson"
            }
          ]}
          cardTitle="Over 5,000 happy customers enjoy our coffee and atmosphere every month"
          cardTag="Customer Loved"
          cardTagIcon={Star}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactText
          text="Ready to join us for your perfect coffee moment? Get in touch to book a table or learn more about our offerings."
          animationType="entrance-slide"
          buttons={[
            { text: "Send us a Message", href: "mailto:hello@mydag.coffee" },
            { text: "Call Us", href: "tel:+1-555-123-4567" }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardTwo
          title="Premium Selection"
          description="Our best-rated products loved by customers worldwide"
          tag="Top Rated"
          tagIcon={Star}
          products={[
            {
              id: "1",
              brand: "My Day Roastery",
              name: "Single Accent Chair",
              price: "$650.00",
              rating: 5,
              reviewCount: "2.3k",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766565657535-2effi2o4.jpg",
              imageAlt: "Premium coffee blend"
            },
            {
              id: "2",
              brand: "My Day Roastery",
              name: "Cold Brew Collection",
              price: "$45.00",
              rating: 4,
              reviewCount: "1.8k",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766565659198-9eavtm8q.jpg",
              imageAlt: "Cold brew collection"
            },
            {
              id: "3",
              brand: "My Day Roastery",
              name: "Espresso Gift Set",
              price: "$89.99",
              rating: 5,
              reviewCount: "945",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766565657535-2effi2o4.jpg",
              imageAlt: "Espresso gift set"
            },
            {
              id: "4",
              brand: "My Day Roastery",
              name: "Artisan Coffee Sampler",
              price: "$65.00",
              rating: 4,
              reviewCount: "1.2k",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766565658398-rzdk67xj.jpg",
              imageAlt: "Coffee sampler pack"
            }
          ]}
          gridVariant="uniform-all-items-equal"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoEmphasis
          logoText="My Day"
          columns={[
            {
              items: [
                { label: "Home", href: "home" },
                { label: "About", href: "about" },
                { label: "Menu", href: "menu" }
              ]
            },
            {
              items: [
                { label: "Contact", href: "contact" },
                { label: "Locations", href: "https://maps.google.com" },
                { label: "Privacy Policy", href: "/privacy" }
              ]
            },
            {
              items: [
                { label: "Instagram", href: "https://instagram.com" },
                { label: "Facebook", href: "https://facebook.com" },
                { label: "Twitter", href: "https://twitter.com" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}
