"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroCentered from '@/components/sections/hero/HeroCentered';
import TextSplitAbout from '@/components/sections/about/TextSplitAbout';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCardTen';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import { Globe, Star, Trophy, Users } from "lucide-react";

export default function BarugaPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="expand-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="sharp"
      contentWidth="smallMedium"
      sizing="mediumLarge"
      background="aurora"
      cardStyle="elevated"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="glass"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="Baruga"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "About", id: "about" },
            { name: "Products", id: "products" },
            { name: "Visit Us", id: "contact" },
            { name: "FAQ", id: "faq" }
          ]}
          button={{ text: "Order Online", href: "contact" }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroCentered
          title="Discover Premium Coffee at Baruga"
          description="Handcrafted espresso drinks, single-origin beans, and a welcoming space for coffee enthusiasts. Experience the perfect cup every time."
          background={{ variant: "downward-rays-static" }}
          avatars={[
            { src: "https://img.b2bpic.net/free-photo/close-up-milk-poured-coffee-cup_23-2148366658.jpg", alt: "Barista preparing coffee" },
            { src: "https://img.b2bpic.net/free-photo/close-up-hand-pouring-milk-cup_23-2148865607.jpg", alt: "Premium coffee beans" },
            { src: "https://img.b2bpic.net/free-photo/close-up-barista-female-hands-pressing-coffee-into-tamper-prepares-order-cafe-counter_1258-203404.jpg", alt: "Specialty coffee drink" }
          ]}
          avatarText="Trusted by 500+ daily coffee lovers"
          buttons={[
            { text: "Explore Our Menu", href: "products" },
            { text: "Visit Us Today", href: "contact" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <TextSplitAbout
          title="About Baruga"
          description={[
            "Baruga was founded with a simple mission: to share our passion for exceptional coffee with our community. Every cup tells a story of sourcing, roasting, and crafting.",            "We work directly with ethical coffee farmers around the world to bring you the finest single-origin and specialty blend coffees. Our baristas are trained to perfection, ensuring that each beverage is prepared with precision and care.",            "Whether you're a coffee connoisseur or just starting your coffee journey, Baruga is your destination for quality, community, and unforgettable flavors."
          ]}
          buttons={[
            { text: "Learn Our Story", href: "about" }
          ]}
          showBorder={true}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardOne
          title="Our Signature Collection"
          description="Explore our carefully curated selection of premium coffee drinks and whole bean offerings"
          products={[
            {
              id: "1",              name: "Ethiopian Yirgacheffe",              price: "$16/bag",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-hand-pouring-milk-cup_23-2148865607.jpg",              imageAlt: "Ethiopian Yirgacheffe whole beans"
            },
            {
              id: "2",              name: "Signature Cappuccino",              price: "$5.50",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-barista-female-hands-pressing-coffee-into-tamper-prepares-order-cafe-counter_1258-203404.jpg",              imageAlt: "Creamy cappuccino with latte art"
            },
            {
              id: "3",              name: "Single Shot Espresso",              price: "$3.00",              imageSrc: "https://img.b2bpic.net/free-photo/bar-concept_23-2147798063.jpg",              imageAlt: "Perfect espresso shot"
            },
            {
              id: "4",              name: "Cold Brew Concentrate",              price: "$12/bottle",              imageSrc: "https://img.b2bpic.net/free-photo/bar-concept-with-barman-putting-milk-coffee_23-2147798051.jpg",              imageAlt: "Cold brew concentrate bottle"
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardOne
          title="Baruga by the Numbers"
          description="See the impact we've made in the coffee community since our founding"
          metrics={[
            {
              id: "1",              value: "500",              title: "Daily Visitors",              description: "Coffee lovers who choose Baruga every day",              icon: Users
            },
            {
              id: "2",              value: "25",              title: "Coffee Origins",              description: "Single-origin beans sourced from around the world",              icon: Globe
            },
            {
              id: "3",              value: "8+",              title: "Years of Excellence",              description: "Crafting premium coffee since our opening",              icon: Trophy
            },
            {
              id: "4",              value: "99%",              title: "Customer Satisfaction",              description: "Rated excellent by our coffee community",              icon: Star
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTen
          title="What Our Customers Say"
          description="Real stories from coffee lovers who've experienced Baruga"
          testimonials={[
            {
              id: "1",              title: "Best Espresso in Town",              quote: "I visit Baruga every morning before work. The consistency and quality of their espresso is unmatched. The baristas really care about perfecting each cup.",              name: "Michael Chen",              role: "Regular Customer",              imageSrc: "https://img.b2bpic.net/free-photo/smiley-employee-making-coffee_23-2148366606.jpg",              imageAlt: "Michael Chen smiling"
            },
            {
              id: "2",              title: "A True Coffee Experience",              quote: "Baruga isn't just a coffee shop—it's a destination. The atmosphere is welcoming, and every drink is crafted with passion. Highly recommend!",              name: "Sarah Martinez",              role: "Coffee Enthusiast",              imageSrc: "https://img.b2bpic.net/free-photo/coffee-shop-employee-with-apron_23-2148366592.jpg",              imageAlt: "Sarah Martinez portrait"
            },
            {
              id: "3",              title: "Exceptional Single Origins",              quote: "I've tried coffees from dozens of places, and Baruga's selection is truly special. Their Ethiopian blend changed my perspective on specialty coffee.",              name: "James Wilson",              role: "Coffee Connoisseur",              imageSrc: "https://img.b2bpic.net/free-photo/professional-barista-pouring-latte-foam-coffee-caf_23-2148209229.jpg",              imageAlt: "Latte art at Baruga"
            },
            {
              id: "4",              title: "Community & Quality",              quote: "What sets Baruga apart is their commitment to both quality and community. You can taste the difference, and you can feel the care.",              name: "Emma Rodriguez",              role: "Local Business Owner",              imageSrc: "https://img.b2bpic.net/free-photo/parisian-coffee-shop-style-with-tasty-coffee-served-wooden-table-coffee-shop-design_482257-18283.jpg",              imageAlt: "Baruga coffee shop interior"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqSplitMedia
          title="Frequently Asked Questions"
          description="Everything you need to know about Baruga, our coffee, and our brewing methods"
          faqs={[
            {
              id: "1",              title: "What makes Baruga's coffee special?",              content: "We source directly from ethical coffee farmers and work with single-origin beans. Our roasting process is carefully controlled, and every drink is prepared by trained baristas who understand the craft of espresso and pour-over techniques."
            },
            {
              id: "2",              title: "Do you offer whole bean sales?",              content: "Yes! We sell whole beans from all our featured origins. We can grind them on-site if needed. Our whole beans are roasted fresh weekly and are best used within 2 weeks for optimal flavor."
            },
            {
              id: "3",              title: "What brewing methods do you use?",              content: "We specialize in espresso-based drinks, pour-over coffee, French press, and cold brew. Each method brings out different flavor profiles in our carefully selected beans."
            },
            {
              id: "4",              title: "Are you open for events and catering?",              content: "Absolutely! We offer coffee catering services for corporate events, weddings, and special occasions. Contact us for custom packages and pricing."
            },
            {
              id: "5",              title: "Do you have a loyalty program?",              content: "Yes! Join our Baruga Rewards program. For every 10 drinks, you get one free. Members also receive early access to new coffee releases and special events."
            },
            {
              id: "6",              title: "Can I order online?",              content: "We're currently building our online ordering system. You can reserve drinks by calling ahead, and we're launching full online ordering within the next month."
            }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/hands-preparing-coffee-close-up_23-2149045701.jpg"
          imageAlt="Coffee brewing guide"
          mediaPosition="left"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="smooth"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Visit Baruga Today"
          description="We're located in the heart of downtown, open 7 days a week. Stop by for your perfect cup, or send us a message for catering inquiries."
          inputs={[
            {
              name: "name",              type: "text",              placeholder: "Your Name",              required: true
            },
            {
              name: "email",              type: "email",              placeholder: "your@email.com",              required: true
            },
            {
              name: "phone",              type: "tel",              placeholder: "+1 (555) 123-4567",              required: false
            }
          ]}
          textarea={{
            name: "message",            placeholder: "Tell us about your inquiry—catering, feedback, or just say hello!",            rows: 5,
            required: false
          }}
          useInvertedBackground="noInvert"
          imageSrc="https://img.b2bpic.net/free-photo/parisian-coffee-shop-style-with-tasty-coffee-served-wooden-table-coffee-shop-design_482257-18283.jpg"
          imageAlt="Baruga coffee shop interior"
          mediaPosition="right"
          buttonText="Send Message"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoReveal
          logoText="Baruga"
          leftLink={{ text: "Privacy Policy", href: "#privacy" }}
          rightLink={{ text: "Contact Us", href: "contact" }}
        />
      </div>
    </ThemeProvider>
  );
}