"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroLogoBillboardSplit from '@/components/sections/hero/HeroLogoBillboardSplit';
import SplitAbout from '@/components/sections/about/SplitAbout';
import FeatureHoverPattern from '@/components/sections/feature/featureHoverPattern/FeatureHoverPattern';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { Award, BookOpen, Coffee, Croissant, Flame, Heart, Leaf, Music, Sparkles, Sprout, Users } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="background-highlight"
      borderRadius="rounded"
      contentWidth="mediumLarge"
      sizing="large"
      background="aurora"
      cardStyle="glass-depth"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="layered"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          brandName="The Brew Haven"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "About", id: "about" },
            { name: "Features", id: "features" },
            { name: "Reviews", id: "testimonials" },
            { name: "Contact", id: "footer" },
          
            { name: "Blog", id: "/blog" },
]}
          bottomLeftText="Locally Roasted Beans"
          bottomRightText="hello@thebrewhaven.com"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroLogoBillboardSplit
          logoText="THE BREW HAVEN"
          description="Discover the art of specialty coffee. Handcrafted drinks, premium beans, and a welcoming space where coffee lovers gather. Experience the perfect blend of quality, warmth, and community."
          background={{ variant: "radial-gradient" }}
          buttons={[
            { text: "Visit Us Today", href: "#contact" },
            { text: "Learn Our Story", href: "#about" }
          ]}
          layoutOrder="default"
          imageSrc="https://img.b2bpic.net/free-photo/empty-wood-chair-restaurant_1339-5949.jpg"
          imageAlt="Cozy coffee shop interior with warm lighting and welcoming atmosphere"
          frameStyle="browser"
        />
      </div>

      <div id="about" data-section="about">
        <SplitAbout
          title="Our Coffee Story"
          description="Since 2018, The Brew Haven has been dedicated to bringing exceptional specialty coffee to our community. We source directly from sustainable farms, roast small batches in-house, and craft each drink with intention and care. Every cup tells a story of quality, passion, and connection."
          tag="Our Mission"
          tagIcon={Flame}
          buttons={[
            { text: "Meet Our Team", href: "#features" }
          ]}
          bulletPoints={[
            {
              title: "Premium Sourcing",              description: "Direct relationships with coffee farmers ensuring fair trade and exceptional quality beans",              icon: Leaf
            },
            {
              title: "Small Batch Roasting",              description: "In-house roasting facility allows us to roast fresh daily for optimal flavor profiles",              icon: Flame
            },
            {
              title: "Artisan Craftsmanship",              description: "Our certified baristas bring passion and precision to every drink preparation",              icon: Award
            },
            {
              title: "Community Gathering",              description: "A welcoming space designed for conversations, creativity, and genuine human connection",              icon: Heart
            }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/cozy-cafe_1098-13854.jpg"
          imageAlt="Premium roasted coffee beans highlighting quality and craftsmanship"
          imagePosition="right"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="features" data-section="features">
        <FeatureHoverPattern
          title="What Makes Us Special"
          description="Explore the elements that define our coffee shop experience and set us apart in the community"
          tag="Our Craft"
          tagIcon={Sparkles}
          features={[
            {
              icon: Coffee,
              title: "Specialty Espresso",              description: "Single-origin espresso blends extracted with precision using state-of-the-art equipment and expert technique"
            },
            {
              icon: Croissant,
              title: "Fresh Pastries",              description: "Daily-baked pastries and treats from local artisan bakers, perfectly paired with your favorite beverage"
            },
            {
              icon: Users,
              title: "Community Space",              description: "Free WiFi, comfortable seating, and a creative atmosphere ideal for working, studying, or social gatherings"
            },
            {
              icon: BookOpen,
              title: "Coffee Education",              description: "Regular cupping sessions and workshops teaching the art and science of specialty coffee brewing"
            },
            {
              icon: Sprout,
              title: "Sustainable Practices",              description: "Eco-friendly operations including compostable cups, waste reduction, and support for environmental initiatives"
            },
            {
              icon: Music,
              title: "Curated Ambiance",              description: "Thoughtfully selected music and comfortable environment creating the perfect backdrop for connection"
            }
          ]}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFifteen
          testimonial="The Brew Haven has become my daily sanctuary. The coffee is exceptional, the team is incredibly friendly, and the atmosphere makes you want to linger. This is what a true community coffee shop should be."
          rating={5}
          author="Sarah Chen, Photographer"
          avatars={[
            { src: "https://img.b2bpic.net/free-photo/confident-middle-aged-businesswoman_1262-20882.jpg", alt: "Sarah Chen" },
            { src: "https://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg", alt: "James Mitchell" },
            { src: "https://img.b2bpic.net/free-photo/smiling-homosexual-man-official-suit-looking-camera-close-up-shot-happy-gay-getting-dressed-wedding-ceremony-standing-hotel-room-with-his-partner-background-love-emotion-concept_74855-22675.jpg", alt: "Emma Rodriguez" },
            { src: "https://img.b2bpic.net/free-photo/smiling-businessman-face-portrait-wearing-suit_53876-148135.jpg", alt: "Marcus Williams" }
          ]}
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="https://img.b2bpic.net/free-photo/fresh-coffee-coffee-shop_23-2147892897.jpg"
          imageAlt="Coffee moment captured with hands and warm cup on wooden table"
          logoText="The Brew Haven"
          copyrightText="© 2024 The Brew Haven | Premium Specialty Coffee | All rights reserved"
          columns={[
            {
              title: "Visit",              items: [
                { label: "Hours", href: "#" },
                { label: "Location", href: "#" },
                { label: "Directions", href: "#" }
              ]
            },
            {
              title: "Learn",              items: [
                { label: "Our Story", href: "#about" },
                { label: "Coffee Education", href: "#features" },
                { label: "Sustainability", href: "#features" }
              ]
            },
            {
              title: "Connect",              items: [
                { label: "Email", href: "mailto:hello@thebrewhaven.com" },
                { label: "Instagram", href: "#" },
                { label: "Newsletter", href: "#" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}