"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleMinimal from '@/components/navbar/NavbarStyleMinimal';
import HeroLogoBillboard from '@/components/sections/hero/HeroLogoBillboard';
import SplitAbout from '@/components/sections/about/SplitAbout';
import ProductCardSeven from '@/components/sections/product/ProductCardSeven';
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import { Flame, Leaf, Users } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="background-highlight"
      borderRadius="rounded"
      contentWidth="small"
      sizing="small"
      background="fluid"
      cardStyle="elevated"
      primaryButtonStyle="neon-glow-border"
      secondaryButtonStyle="solid"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleMinimal
          brandName="BrewBox Coffee"
          button={{
            text: "Order Now",
            href: "#contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroLogoBillboard
          logoText="BrewBox Coffee"
          description="Discover our finest craft coffee, freshly roasted and expertly brewed for the perfect morning ritual."
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766148378684-b73d7fln.jpg"
          imageAlt="Cozy coffee shop interior"
          frameStyle="card"
        />
      </div>

      <div id="about" data-section="about">
        <SplitAbout
          title="Our Coffee Story"
          description="At BrewBox Coffee, we believe every cup tells a story. We source the finest beans from sustainable farms around the world and roast them with passion right here in our café."
          tag="About Us"
          bulletPoints={[
            {
              title: "Freshly Roasted",
              description: "Small-batch roasting ensures peak flavor and aroma in every cup",
              icon: Flame
            },
            {
              title: "Ethical Sourcing",
              description: "Direct relationships with coffee farmers for quality and sustainability",
              icon: Leaf
            },
            {
              title: "Expert Baristas",
              description: "Certified professionals dedicated to perfecting your coffee experience",
              icon: Users
            }
          ]}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766148376921-o1ayglfn.jpg"
          imageAlt="Expert barista preparing coffee"
          imagePosition="right"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          buttons={[
            {
              text: "Learn More",
              href: "#"
            }
          ]}
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardSeven
          title="Featured Products"
          description="Explore our signature coffee blends and specialty beverages"
          products={[
            {
              id: "1",
              name: "Premium Espresso",
              price: "$4.50",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766148851999-ifkobli9.jpg",
              imageAlt: "Premium Espresso"
            },
            {
              id: "2",
              name: "Silky Latte",
              price: "$5.50",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766153251958-4uivqv8y.jpg",
              imageAlt: "Silky Latte"
            },
            {
              id: "3",
              name: "Classic Cappuccino",
              price: "$5.00",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766153253197-t19hh6xw.jpg",
              imageAlt: "Classic Cappuccino"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          containerStyle="default"
        />
      </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-1766146074825-w2o47rzf.jpg",
              imageAlt: "Sarah Mitchell"
            },
            {
              id: "2",
              name: "James Rodriguez",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766146077304-mehv1c5l.jpg",
              imageAlt: "James Rodriguez"
            },
            {
              id: "3",
              name: "Emma Johnson",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766146075940-orm5kjp9.jpg",
              imageAlt: "Emma Johnson"
            },
            {
              id: "4",
              name: "Michael Chen",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766146078263-djm37xl1.jpg",
              imageAlt: "Michael Chen"
            }
          ]}
          cardTitle="Join thousands of coffee lovers who start their day at BrewBox"
          cardTag="Customer Favorite"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Get in Touch"
          description="Have questions about our coffee or want to book a private tasting? We'd love to hear from you. Reach out anytime."
          inputs={[
            {
              name: "name",
              type: "text",
              placeholder: "Your Name",
              required: true
            },
            {
              name: "email",
              type: "email",
              placeholder: "Your Email",
              required: true
            }
          ]}
          textarea={{
            name: "message",
            placeholder: "Tell us what brings you in...",
            rows: 5,
            required: true
          }}
          useInvertedBackground="noInvert"
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766153254268-303t0kr4.jpg"
          imageAlt="BrewBox Coffee Shop Front"
          mediaPosition="right"
          buttonText="Send Message"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseCard
          logoText="BrewBox Coffee"
          columns={[
            {
              title: "Hours",
              items: [
                {
                  label: "Mon - Fri: 6am - 8pm",
                  href: "#"
                },
                {
                  label: "Sat - Sun: 7am - 9pm",
                  href: "#"
                },
                {
                  label: "Holidays: 8am - 6pm",
                  href: "#"
                }
              ]
            },
            {
              title: "Menu",
              items: [
                {
                  label: "Coffee Blends",
                  href: "#"
                },
                {
                  label: "Pastries",
                  href: "#"
                },
                {
                  label: "Cold Brew",
                  href: "#"
                }
              ]
            },
            {
              title: "Company",
              items: [
                {
                  label: "About Us",
                  href: "#"
                },
                {
                  label: "Contact",
                  href: "#"
                },
                {
                  label: "Careers",
                  href: "#"
                }
              ]
            }
          ]}
          copyrightText="© 2025 BrewBox Coffee. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}