"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroBillboardCarousel from '@/components/sections/hero/HeroBillboardCarousel';
import SplitAbout from '@/components/sections/about/SplitAbout';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import FeatureBorderGlow from '@/components/sections/feature/featureBorderGlow/FeatureBorderGlow';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterSimple from '@/components/sections/footer/FooterSimple';
import { Coffee, Clock, Leaf, Flame, Users, Heart, Zap, MapPin, Award, Star, Bell, Sparkles } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-shift"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="smallMedium"
      sizing="large"
      background="none"
      cardStyle="elevated"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="glass"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          brandName="Brew & Blend"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "About", id: "about" },
            { name: "Menu", id: "products" },
            { name: "Locations", id: "features" },
            { name: "Contact", id: "contact" }
          ]}
          bottomLeftText="Specialty Coffee Roasters"
          bottomRightText="hello@brewandblend.com"
        />
      </div>
      
      <div id="hero" data-section="hero">
        <HeroBillboardCarousel
          title="Craft Coffee, Perfect Every Time"
          description="Experience our signature specialty coffee blends, expertly roasted and prepared by passionate baristas. Every cup tells a story of quality, craft, and dedication to the perfect brew."
          tag="Specialty Coffee"
          tagIcon={Coffee}
          background={{ variant: "plain" }}
          buttons={[
            { text: "View Menu", href: "products" },
            { text: "Visit Us", href: "features" }
          ]}
          mediaItems={[
            { imageSrc: "https://img.b2bpic.net/free-photo/man-enjoying-cup-hot-coffee-cafe_53876-88441.jpg", imageAlt: "Rich espresso shot" },
            { imageSrc: "https://img.b2bpic.net/free-photo/top-view-cup-hot-coffee_658428-103.jpg", imageAlt: "Creamy latte with latte art" },
            { imageSrc: "https://img.b2bpic.net/free-photo/closeup-various-hot-coffee_53876-146522.jpg", imageAlt: "Bold americano" },
            { imageSrc: "https://img.b2bpic.net/free-photo/old-style-asian-coffee-set_53876-147836.jpg", imageAlt: "Smooth flat white" },
            { imageSrc: "https://img.b2bpic.net/free-photo/leftover-coffee-black-cup-window-sill_23-2147898257.jpg", imageAlt: "Decadent mocha" },
            { imageSrc: "https://img.b2bpic.net/free-photo/close-up-aromatic-coffee-plate_23-2148349623.jpg", imageAlt: "Elegant macchiato" }
          ]}
        />
      </div>
      
      <div id="about" data-section="about">
        <SplitAbout
          title="Our Story"
          description="Born from a passion for exceptional coffee and meaningful connections, Brew & Blend started as a small roastery dedicated to sourcing the finest beans from around the world. Today, we continue that tradition in every cup we serve."
          tag="Since 2015"
          tagIcon={Clock}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          bulletPoints={[
            {
              title: "Direct Trade Sourcing",              description: "We work directly with coffee farmers to ensure quality, sustainability, and fair wages for every harvest.",              icon: Leaf
            },
            {
              title: "Small Batch Roasting",              description: "Each batch is carefully roasted in-house to bring out unique flavor profiles and characteristics of origin-specific beans.",              icon: Flame
            },
            {
              title: "Barista Excellence",              description: "Our team of certified baristas undergoes continuous training to master extraction techniques and create perfect beverages.",              icon: Users
            },
            {
              title: "Community Driven",              description: "We believe coffee is meant to bring people together. Our spaces are designed for connection, creativity, and conversation.",              icon: Heart
            }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/coffee-beans-arrangement-with-machine_23-2148865560.jpg"
          imageAlt="Coffee roasting process"
          imagePosition="right"
        />
      </div>
      
      <div id="products" data-section="products">
        <ProductCardThree
          title="Our Menu"
          description="Explore our carefully curated selection of specialty coffees and signature drinks, crafted with precision and passion."
          tag="Featured Drinks"
          tagIcon={Sparkles}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          products={[
            {
              id: "1",              name: "Classic Espresso",              price: "$3.50",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-hands-holding-coffee-cup_23-2148865570.jpg",              imageAlt: "Rich espresso shot",              initialQuantity: 1
            },
            {
              id: "2",              name: "Creamy Cappuccino",              price: "$4.75",              imageSrc: "https://img.b2bpic.net/free-photo/crop-hand-filling-portafilter-with-coffee_23-2147830576.jpg",              imageAlt: "Perfect cappuccino with foam art",              initialQuantity: 1
            },
            {
              id: "3",              name: "Iced Cold Brew",              price: "$4.25",              imageSrc: "https://img.b2bpic.net/free-photo/barista-preparing-beverage_23-2149458046.jpg",              imageAlt: "Refreshing iced coffee",              initialQuantity: 1
            }
          ]}
        />
      </div>
      
      <div id="features" data-section="features">
        <FeatureBorderGlow
          title="Why Choose Us"
          description="Discover what makes Brew & Blend the destination for coffee lovers everywhere."
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="slide-up"
          features={[
            {
              icon: Zap,
              title: "Freshly Roasted Daily",              description: "Our beans are roasted in small batches every day to ensure maximum freshness and flavor complexity."
            },
            {
              icon: MapPin,
              title: "Multiple Locations",              description: "Visit any of our three neighborhood cafes, each with unique ambiance and welcoming atmosphere."
            },
            {
              icon: Users,
              title: "Expert Baristas",              description: "Our certified team brings years of experience and genuine passion to every cup they craft."
            },
            {
              icon: Leaf,
              title: "Sustainable Sourcing",              description: "We prioritize ethical farming practices and environmental stewardship in all our partnerships."
            },
            {
              icon: Heart,
              title: "Community Space",              description: "More than a cafe—a gathering place for conversations, creativity, and meaningful connections."
            },
            {
              icon: Award,
              title: "Award Winning Blends",              description: "Recognized nationally for our innovative blends and commitment to coffee excellence."
            }
          ]}
        />
      </div>
      
      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFive
          title="Loved by Coffee Enthusiasts"
          description="Hear from our customers about what makes Brew & Blend their favorite destination."
          tag="Customer Reviews"
          tagIcon={Star}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          testimonials={[
            {
              id: "1",              name: "Sarah Mitchell, Marketing Director",              date: "Date: 15 January 2025",              title: "Best coffee shop in the city!",              quote: "I've tried countless coffee shops, but Brew & Blend truly stands out. The quality of their espresso is unmatched, and the baristas know exactly how to craft the perfect cup every single time. The atmosphere is warm and inviting—I practically live there now!",              tag: "Regular Customer",              avatarSrc: "https://img.b2bpic.net/free-photo/young-businesswoman-portrait-office_1262-1506.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/young-businesswoman-portrait-office_1262-1506.jpg",              imageAlt: "Coffee shop interior with customers"
            },
            {
              id: "2",              name: "James Chen, Software Engineer",              date: "Date: 12 January 2025",              title: "My productivity hub",              quote: "As someone who works remotely, Brew & Blend has become my go-to workspace. The coffee keeps me energized, the WiFi is reliable, and the community vibe makes working alone feel less isolating. Plus, their cold brew is exactly what I need on hot days.",              tag: "Daily Visitor",              avatarSrc: "https://img.b2bpic.net/free-photo/portrait-smiley-business-woman_23-2148603029.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-smiley-business-woman_23-2148603029.jpg",              imageAlt: "Cozy workspace environment"
            },
            {
              id: "3",              name: "Elena Rodriguez, Food Blogger",              date: "Date: 8 January 2025",              title: "A symphony of flavors",              quote: "Every blend tells a story, and Brew & Blend's commitment to sourcing and roasting is evident in every sip. I've featured them on my platform three times, and my followers can't get enough. The passion behind their craft is truly inspiring.",              tag: "Influencer",              avatarSrc: "https://img.b2bpic.net/free-photo/happy-business-woman-white-shirt_23-2148095748.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/happy-business-woman-white-shirt_23-2148095748.jpg",              imageAlt: "Premium coffee presentation"
            },
            {
              id: "4",              name: "David Thompson, Business Owner",              date: "Date: 5 January 2025",              title: "Excellence in every detail",              quote: "I bring all my important client meetings to Brew & Blend. It's professional, refined, and the coffee is exceptional. My clients always comment on how they love the venue. It's a reflection of the quality and attention to detail in everything they do.",              tag: "Business Client",              avatarSrc: "https://img.b2bpic.net/free-photo/closeup-smiling-beautiful-adult-businesswoman_1262-1760.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/closeup-smiling-beautiful-adult-businesswoman_1262-1760.jpg",              imageAlt: "Professional meeting space"
            },
            {
              id: "5",              name: "Lisa Park, Student",              date: "Date: 2 January 2025",              title: "Perfect study companion",              quote: "During exam season, Brew & Blend is my sanctuary. The calm environment, great music, and obviously the amazing coffee make studying so much more enjoyable. Plus, the staff always remembers my order!",              tag: "Student",              avatarSrc: "https://img.b2bpic.net/free-photo/casual-smile-street-style-background-spring_1139-777.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/casual-smile-street-style-background-spring_1139-777.jpg",              imageAlt: "Study-friendly atmosphere"
            },
            {
              id: "6",              name: "Michael Abbott, Coffee Connoisseur",              date: "Date: 28 December 2024",              title: "Truly specialty coffee",              quote: "As someone who's obsessed with specialty coffee, I can confidently say Brew & Blend delivers on every promise. Their single-origin selections are carefully curated, and the baristas understand the nuances that make each origin unique. This is what specialty coffee should be.",              tag: "Coffee Expert",              avatarSrc: "https://img.b2bpic.net/free-photo/portrait-happy-business-woman-posing-outdoors_23-2148603030.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-happy-business-woman-posing-outdoors_23-2148603030.jpg",              imageAlt: "Premium coffee experience"
            }
          ]}
        />
      </div>
      
      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Stay Connected"
          tagIcon={Bell}
          title="Join Our Coffee Community"
          description="Subscribe to receive updates on new blends, exclusive offers, barista tips, and invitations to special tasting events. We promise quality content, never spam."
          useInvertedBackground="noInvert"
          inputPlaceholder="your@email.com"
          buttonText="Subscribe Now"
          termsText="We respect your privacy. Unsubscribe at any time. By subscribing, you agree to our newsletter policy."
        />
      </div>
      
      <div id="footer" data-section="footer">
        <FooterSimple
          columns={[
            {
              title: "Locations",              items: [
                { label: "Downtown Cafe", href: "#" },
                { label: "Riverside Roastery", href: "#" },
                { label: "Uptown Market", href: "#" },
                { label: "Hours & Directions", href: "#" }
              ]
            },
            {
              title: "About",              items: [
                { label: "Our Story", href: "#about" },
                { label: "Sourcing", href: "#" },
                { label: "Roasting Process", href: "#" },
                { label: "Careers", href: "#" }
              ]
            },
            {
              title: "Menu",              items: [
                { label: "Coffee Drinks", href: "#products" },
                { label: "Beans & Retail", href: "#" },
                { label: "Pastries", href: "#" },
                { label: "Merchandise", href: "#" }
              ]
            },
            {
              title: "Connect",              items: [
                { label: "Contact Us", href: "#contact" },
                { label: "Instagram", href: "#" },
                { label: "Facebook", href: "#" },
                { label: "Newsletter", href: "#" }
              ]
            }
          ]}
          bottomLeftText="© 2025 Brew & Blend Coffee Roasters. All rights reserved."
          bottomRightText="Crafted with care for coffee lovers everywhere"
        />
      </div>
    </ThemeProvider>
  );
}