"use client"

import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import HeroSplit from '@/components/sections/hero/HeroSplit';
import MetricSplitMediaAbout from '@/components/sections/about/MetricSplitMediaAbout';
import FeatureCardEight from '@/components/sections/feature/FeatureCardEight';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCardTen';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import { Coffee, Heart, Sparkles, Star, Zap } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="reveal-blur"
      borderRadius="sharp"
      contentWidth="small"
      sizing="largeSmallSizeMediumTitles"
      background="aurora"
      cardStyle="subtle-shadow"
      primaryButtonStyle="inset-glow"
      secondaryButtonStyle="layered"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="Brew Haven"
          navItems={[
            { name: "About", id: "about" },
            { name: "Menu", id: "menu" },
            { name: "Visit Us", id: "visit" },
            { name: "Contact", id: "contact" }
          ]}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplit
          title="Craft Coffee, Crafted Moments"
          description="Discover the perfect cup in a warm, welcoming space where every coffee tells a story. From locally roasted beans to expert baristas, we're committed to the art and craft of exceptional coffee."
          tag="Premium Coffee"
          tagIcon={Coffee}
          background={{ variant: "glowing-orb" }}
          imageSrc="https://img.b2bpic.net/free-photo/dark-coffee-cup-wooden-table_1232-1152.jpg"
          imageAlt="Beautiful espresso in a ceramic cup"
          imagePosition="right"
          buttons={[
            { text: "Visit Us Today", href: "#contact" },
            { text: "View Menu", href: "#menu" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <MetricSplitMediaAbout
          tag="Our Story"
          tagIcon={Sparkles}
          title="Where Coffee Passion Meets Community"
          description="Founded in 2018, Brew Haven began as a small neighborhood cafe with a big dream: to elevate the coffee experience through quality, sustainability, and genuine hospitality. We partner with ethical suppliers worldwide to bring you the finest specialty beans, roasted fresh in our facility and prepared by passionate baristas who treat coffee as an art form."
          metrics={[
            { value: "50K+", title: "Happy Customers Monthly" },
            { value: "12+", title: "Specialty Blends Available" }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/empty-wood-chair-restaurant_1339-5949.jpg"
          imageAlt="Interior of our cozy coffee shop"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="menu" data-section="menu">
        <FeatureCardEight
          title="How We Brew Excellence"
          description="Our process ensures every cup is perfectly crafted from bean to cup"
          tag="Our Process"
          tagIcon={Zap}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          features={[
            {
              id: 1,
              title: "Expert Roasting",              description: "Small-batch roasting brings out the unique flavors and aromas of each origin",              imageSrc: "https://img.b2bpic.net/free-photo/coffee-beans-glass-jar-black-background-closeup-selective-focus-vertical-frame-roasting-preparing-coffee-vertical-frame_166373-2289.jpg"
            },
            {
              id: 2,
              title: "Skilled Baristas",              description: "Our trained professionals master every brewing technique for consistency and flavor",              imageSrc: "https://img.b2bpic.net/free-photo/barista-preparing-beverage_23-2149458036.jpg"
            },
            {
              id: 3,
              title: "Community Gathering",              description: "A welcoming space where coffee lovers connect, create, and celebrate together",              imageSrc: "https://img.b2bpic.net/free-photo/black-bearded-coffee-seller-pouring-coffee-shop_613910-443.jpg"
            }
          ]}
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardThree
          title="Featured Coffee Selection"
          description="Explore our most beloved specialty drinks crafted by our expert baristas"
          tag="Popular"
          tagIcon={Star}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          products={[
            {
              id: "1",              name: "House Cappuccino",              price: "$5.50",              imageSrc: "https://img.b2bpic.net/free-photo/side-view-cup-with-creamy-cappuccino-latte-with-milky-foam-top-leaf-shape-isolated-wooden-plate-with-pattern-table-cafe-shop-presentation_346278-1479.jpg",              imageAlt: "Creamy cappuccino with latte art",              initialQuantity: 1
            },
            {
              id: "2",              name: "Single Origin Espresso",              price: "$4.00",              imageSrc: "https://img.b2bpic.net/free-photo/delicious-cup-coffee-wooden-table_1232-414.jpg",              imageAlt: "Rich dark espresso shot",              initialQuantity: 1
            },
            {
              id: "3",              name: "Cold Brew Concentrate",              price: "$6.00",              imageSrc: "https://img.b2bpic.net/free-photo/delicious-coffee-cup-plate-high-angle_23-2149703762.jpg",              imageAlt: "Refreshing cold brew over ice",              initialQuantity: 1
            }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTen
          title="Loved by Our Community"
          description="Hear what our regular customers have to say about their experience"
          tag="Reviews"
          tagIcon={Heart}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          testimonials={[
            {
              id: "1",              title: "The Perfect Morning Ritual",              quote: "Brew Haven has become my go-to spot every morning. The coffee is consistently excellent, and the baristas remember my order. It's more than just coffee—it's a community.",              name: "Sarah Mitchell",              role: "Graphic Designer",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-young-woman_23-2148574874.jpg",              imageAlt: "Sarah Mitchell"
            },
            {
              id: "2",              title: "Quality You Can Taste",              quote: "The difference in quality is night and day. Once you taste Brew Haven's coffee, everything else seems mediocre. Their specialty blends are fantastic.",              name: "James Chen",              role: "Software Developer",              imageSrc: "https://img.b2bpic.net/free-photo/caucasion-woman-casual-confident-concept_53876-137678.jpg",              imageAlt: "James Chen"
            },
            {
              id: "3",              title: "A Place to Work and Create",              quote: "I've written three chapters of my book here. The atmosphere is inspiring, the Wi-Fi is reliable, and the coffee keeps my creative energy flowing.",              name: "Emma Rodriguez",              role: "Author",              imageSrc: "https://img.b2bpic.net/free-photo/positive-blond-girl-shows-tongue-winks-camera-makes-happy-funny-face-stands-against-white-background_176420-46979.jpg",              imageAlt: "Emma Rodriguez"
            },
            {
              id: "4",              title: "Exceptional Hospitality",              quote: "The team genuinely cares about their customers. They've introduced me to new roasts I never would have tried, and now they're my favorites.",              name: "Marcus Johnson",              role: "Business Executive",              imageSrc: "https://img.b2bpic.net/free-photo/young-woman-smiling_176474-95672.jpg",              imageAlt: "Marcus Johnson"
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Newsletter"
          title="Stay Updated on New Blends & Events"
          description="Subscribe to our newsletter for exclusive roast announcements, brewing tips, and invitations to special coffee tastings."
          tagIcon={Coffee}
          useInvertedBackground="invertDefault"
          inputPlaceholder="Enter your email"
          buttonText="Subscribe"
          termsText="We respect your privacy. Unsubscribe anytime. We'll share brewing tips and new roast announcements."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoReveal
          logoText="Brew Haven"
        />
      </div>
    </ThemeProvider>
  );
}