"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
import SplitAbout from '@/components/sections/about/SplitAbout';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import FeatureCardNineteen from '@/components/sections/feature/FeatureCardNineteen';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
import FaqBase from '@/components/sections/faq/FaqBase';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import { Coffee, Leaf, Flame, Award, Menu, HelpCircle, Mail } from "lucide-react";

export default function CoffeePage() {
  return (
    <ThemeProvider
      defaultButtonVariant="elastic-effect"
      defaultTextAnimation="background-highlight"
      borderRadius="sharp"
      contentWidth="compact"
      sizing="largeSmallSizeLargeTitles"
      background="none"
      cardStyle="solid"
      primaryButtonStyle="inset-glow"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={[
            { name: "Home", id: "hero" },
            { name: "About", id: "about" },
            { name: "Menu", id: "products" },
            { name: "Process", id: "features" },
            { name: "Contact", id: "contact" }
          ]}
          brandName="Barakyda"
          bottomLeftText="Quality Coffee Since 2015"
          bottomRightText="hello@barakyda.com"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboard
          title="Craft Your Perfect Cup"
          description="Experience excellence in every sip. We artfully brew specialty coffee sourced from the world's finest farms."
          background={{ variant: "sparkles-gradient" }}
          tag="Specialty Coffee"
          buttons={[
            { text: "Explore Menu", href: "products" },
            { text: "Our Story", href: "about" }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/barista-preparing-beverage_23-2149458036.jpg"
          imageAlt="Professional barista preparing specialty coffee"
        />
      </div>

      <div id="about" data-section="about">
        <SplitAbout
          title="Where Passion Meets Precision"
          description="Founded in 2015, Barakyda has been dedicated to celebrating the art and science of specialty coffee. We believe every cup tells a story of craftsmanship, quality, and genuine care."
          tag="Our Heritage"
          tagIcon={Coffee}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          imagePosition="right"
          bulletPoints={[
            {
              title: "Ethically Sourced",              description: "Direct relationships with farmers ensuring fair trade and sustainable practices.",              icon: Leaf
            },
            {
              title: "Expert Roasting",              description: "Small-batch roasting to unlock unique flavor profiles in every bean.",              icon: Flame
            },
            {
              title: "Master Baristas",              description: "Certified specialists who craft each beverage with precision and artistry.",              icon: Award
            }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/cozy-cafe_1098-13854.jpg"
          imageAlt="Warm and inviting Barakyda coffeeshop interior"
          buttons={[
            { text: "Learn More", href: "features" }
          ]}
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardFour
          title="Our Signature Collection"
          description="Handcrafted beverages that showcase the complexity and beauty of specialty coffee."
          tag="Menu"
          tagIcon={Menu}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          products={[
            {
              id: "espresso",              name: "Single Origin Espresso",              price: "$4.50",              variant: "Dark Roast • Full-Bodied",              imageSrc: "https://img.b2bpic.net/free-photo/hot-chocolade-cup_140725-9554.jpg",              imageAlt: "Rich and dark espresso shot in white cup"
            },
            {
              id: "latte",              name: "Silky Latte",              price: "$5.50",              variant: "Smooth Milk • Caramel Notes",              imageSrc: "https://img.b2bpic.net/free-photo/espresso-cup-grey-background_1220-7376.jpg",              imageAlt: "Latte with beautiful latte art design"
            },
            {
              id: "cappuccino",              name: "Classic Cappuccino",              price: "$5.50",              variant: "Balanced • Creamy Foam",              imageSrc: "https://img.b2bpic.net/free-photo/cup-coffee-with-white-saucer_114579-16848.jpg",              imageAlt: "Traditional cappuccino with thick foam layer"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          buttons={[
            { text: "View Full Menu", href: "#" }
          ]}
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardNineteen
          title="Our Brewing Philosophy"
          description="From farm to cup, discover the meticulous process that makes every Barakyda coffee extraordinary."
          tag="Process"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          features={[
            {
              id: 1,
              tag: "Selection",              title: "Source Premium Beans",              subtitle: "Curated from elite coffee regions worldwide",              description: "We work directly with farmers in Ethiopia, Colombia, and Kenya to source the highest quality arabica and specialty varietal beans, ensuring traceability and exceptional flavor potential.",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-coffee-process-coffee-shop_23-2148366576.jpg",              imageAlt: "Coffee beans being roasted in professional roaster"
            },
            {
              id: 2,
              tag: "Roasting",              title: "Perfect Every Roast",              subtitle: "Small-batch precision roasting",              description: "Our master roasters use temperature and time with surgical precision to bring out the unique characteristics of each origin, creating well-balanced, flavorful single-origin and blend profiles.",              imageSrc: "https://img.b2bpic.net/free-photo/vertical-shot-person-pouring-coffee-glass-black-background_181624-47216.jpg",              imageAlt: "Water being carefully poured over coffee grounds in filter"
            },
            {
              id: 3,
              tag: "Brewing",              title: "Craft Your Cup",              subtitle: "Expert preparation methods",              description: "Our baristas employ various brewing techniques from espresso to pour-over, each method optimized to extract the perfect balance of flavors and aromas unique to your chosen coffee.",              imageSrc: "https://img.b2bpic.net/free-photo/coffee-morning_181624-36768.jpg",              imageAlt: "Skilled barista pouring steamed milk into espresso shot"
            }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFifteen
          testimonial="Barakyda transformed my morning ritual. The quality is unmatched, and every cup is a moment of pure joy. The baristas treat coffee-making like an art form."
          rating={5}
          author="Sarah Mitchell, Coffee Enthusiast"
          useInvertedBackground="noInvert"
          avatars={[
            {
              src: "https://img.b2bpic.net/free-photo/smiley-nomad-woman-with-cup_23-2148968936.jpg",              alt: "Sarah enjoying coffee at Barakyda"
            },
            {
              src: "https://img.b2bpic.net/free-photo/positive-young-woman-with-glad-expression-smiles-happily-hears-something-funny-drinks-takeaway-coffee-dressed-casual-jumper-poses-against-blurred-background-people-lifestyle-leisure-concept_273609-56911.jpg",              alt: "Customer enjoying specialty coffee"
            },
            {
              src: "https://img.b2bpic.net/free-photo/side-view-smiley-woman-with-coffee-cup_23-2149442257.jpg",              alt: "Person relaxing with morning coffee"
            },
            {
              src: "https://img.b2bpic.net/free-photo/portrait-cheerful-dark-skinned-female-with-bushy-afro-haistyle-holds-cup-coffee-latte-sits-against-cafeteria-interior-being-good-mood_273609-3171.jpg",              alt: "Friends sharing coffee moment"
            }
          ]}
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqBase
          title="Frequently Asked Questions"
          description="Get answers to common questions about our coffee, brewing methods, and offerings."
          tag="Help"
          tagIcon={HelpCircle}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          animationType="smooth"
          showCard={true}
          faqs={[
            {
              id: "1",              title: "What makes your coffee special?",              content: "We source single-origin beans directly from farmers, roast in small batches to preserve unique flavor profiles, and employ certified baristas who craft each cup with precision. Our commitment to quality at every step sets us apart."
            },
            {
              id: "2",              title: "Do you offer decaffeinated options?",              content: "Yes! We offer decaffeinated versions of all our signature espresso blends. Our decaf is water-processed using the Swiss Water method, ensuring rich flavor without compromise on quality or taste."
            },
            {
              id: "3",              title: "Can I purchase beans for home brewing?",              content: "Absolutely. We sell whole bean coffee in 12oz and 1lb bags at our café. Beans are roasted fresh and packaged daily. We also offer subscription services for regular home delivery."
            },
            {
              id: "4",              title: "What brewing methods do you recommend for home?",              content: "It depends on your preference. Pour-over offers clean, nuanced flavors; French press provides full-bodied richness; AeroPress is versatile and portable. Our baristas are happy to recommend the best method for your palate."
            },
            {
              id: "5",              title: "Are your practices sustainable?",              content: "Yes, we prioritize sustainability. We work with certified fair-trade farmers, use compostable cups and packaging, and participate in reforestation programs. Every purchase supports environmental responsibility."
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Newsletter"
          title="Stay Updated with New Blends"
          description="Subscribe to our newsletter for exclusive tasting notes, brewing tips, and special offers on seasonal blends."
          tagIcon={Mail}
          useInvertedBackground="noInvert"
          inputPlaceholder="your@email.com"
          buttonText="Subscribe"
          termsText="We respect your privacy. Unsubscribe anytime. No spam, just coffee brilliance."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseCard
          logoText="Barakyda"
          copyrightText="© 2025 Barakyda Coffee. All rights reserved."
          columns={[
            {
              title: "Company",              items: [
                { label: "About Us", href: "#about" },
                { label: "Our Process", href: "#features" },
                { label: "Blog", href: "#" }
              ]
            },
            {
              title: "Menu",              items: [
                { label: "Coffee", href: "#products" },
                { label: "Pastries", href: "#" },
                { label: "Gift Cards", href: "#" }
              ]
            },
            {
              title: "Connect",              items: [
                { label: "Contact", href: "#contact" },
                { label: "Instagram", href: "#" },
                { label: "Newsletter", href: "#contact" }
              ]
            },
            {
              title: "Support",              items: [
                { label: "FAQ", href: "#faq" },
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}