"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import HeroBillboardGallery from '@/components/sections/hero/HeroBillboardGallery';
import MetricSplitMediaAbout from '@/components/sections/about/MetricSplitMediaAbout';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
import PricingCardOne from '@/components/sections/pricing/PricingCardOne';
import FooterBase from '@/components/sections/footer/FooterBase';
import { Droplets, Leaf, Sparkles, Heart, Coffee } from "lucide-react";

export default function HomePage() {
  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="mediumLarge"
      sizing="mediumSizeLargeTitles"
      background="circleGradient"
      cardStyle="inset"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="layered"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="Drink Water"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Menu", id: "/menu" },
            { name: "About", id: "/about" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{
            text: "Order Now",
            href: "/menu"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardGallery
          title="Welcome to Drink Water"
          description="Discover premium, ethically-sourced coffee blends crafted for the modern coffee enthusiast. Experience the perfect pour, every single time."
          tag="Fresh Brewed Daily"
          tagIcon={Droplets}
          background={{ variant: "radial-gradient" }}
          mediaItems={[
            {
              imageSrc: "https://img.b2bpic.net/free-photo/selective-closeup-shot-coffee-with-latte-art-black-ceramic-cup-wooden-surface_181624-3880.jpg",
              imageAlt: "Premium coffee cup with latte art"
            },
            {
              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",
              imageAlt: "Fresh roasted coffee beans"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/close-up-hand-pouring-milk-delicious-coffee-cup_23-2148865585.jpg",
              imageAlt: "Skilled barista pouring coffee"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/parisian-coffee-shop-style-with-tasty-coffee-served-wooden-table-coffee-shop-design_482257-18283.jpg",
              imageAlt: "Cozy coffee shop interior"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/couple-drinking-coffee-soft-bed_23-2148027283.jpg",
              imageAlt: "Morning coffee ritual"
            }
          ]}
          buttons={[
            { text: "Explore Menu", href: "/menu" },
            { text: "Visit Us Today", href: "/contact" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <MetricSplitMediaAbout
          tag="Our Story"
          tagIcon={Leaf}
          title="Crafting Coffee with Purpose and Passion"
          description="Since 2018, Drink Water has been dedicated to bringing you the finest specialty coffee sourced directly from sustainable farms around the world. We believe that great coffee starts with great beans, ethical practices, and genuine care for our community."
          metrics={[
            { value: "15+", title: "Countries Sourced" },
            { value: "500+", title: "Daily Happy Customers" }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/coffee-beans-arrangement-with-machine_23-2148865560.jpg"
          imageAlt="Modern coffee roastery facility"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardOne
          title="Our Coffee Selection"
          description="Handpicked specialty coffee blends and single-origin selections for every taste and occasion."
          tag="Premium Blends"
          tagIcon={Sparkles}
          products={[
            {
              id: "1",
              name: "Ethiopian Highlands",
              price: "$14.99",
              imageSrc: "https://img.b2bpic.net/free-photo/coffee-beans-glass-jar-black-background-closeup-selective-focus-vertical-frame-roasting-preparing-coffee-vertical-frame_166373-2308.jpg",
              imageAlt: "Ethiopian Highlands coffee package"
            },
            {
              id: "2",
              name: "Colombian Smooth",
              price: "$13.99",
              imageSrc: "https://img.b2bpic.net/free-photo/fragrant-coffee-beans-are-scattered-from-jar-rustic-tabletop-background-closeup-selective-focus-copy-space-banner_166373-2309.jpg",
              imageAlt: "Colombian Smooth coffee package"
            },
            {
              id: "3",
              name: "Brazilian Bold",
              price: "$12.99",
              imageSrc: "https://img.b2bpic.net/free-photo/fragrant-freshly-roasted-coffee-beans-are-scattered-from-jar-onto-countertop-copy-space-banner-closeup-selective-focus_166373-2310.jpg",
              imageAlt: "Brazilian Bold coffee package"
            },
            {
              id: "4",
              name: "Kenya Bright",
              price: "$15.99",
              imageSrc: "https://img.b2bpic.net/free-photo/fragrant-coffee-beans-are-scattered-from-jar-rustic-tabletop-background-closeup-selective-focus-copy-space-banner_166373-2290.jpg",
              imageAlt: "Kenya Bright coffee package"
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          buttons={[
            { text: "View All Products", href: "/menu" }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFive
          title="What Our Community Says"
          description="Real stories from coffee lovers who made Drink Water their daily ritual"
          tag="Customer Love"
          tagIcon={Heart}
          testimonials={[
            {
              id: "1",
              name: "Sarah Chen, Marketing Director",
              date: "Date: 15 January 2025",
              title: "Best Morning Ritual",
              quote: "Drink Water has completely transformed my mornings. The quality is unmatched, and the team's passion for coffee is contagious. I'm a customer for life!",
              tag: "Regular Customer",
              avatarSrc: "https://img.b2bpic.net/free-photo/positive-confident-businesswoman-wearing-formal-suit-standing-with-arms-folded_74855-10328.jpg",
              avatarAlt: "Sarah Chen profile picture",
              imageSrc: "https://img.b2bpic.net/free-photo/overhead-view-couple-s-holding-each-other-s-hand-breakfast_23-2147966397.jpg",
              imageAlt: "Sarah enjoying her morning coffee"
            },
            {
              id: "2",
              name: "Marcus Rodriguez, Software Engineer",
              date: "Date: 22 December 2024",
              title: "Fuel for Productivity",
              quote: "I've tried countless coffee shops, but Drink Water stands out. The consistency, the flavor profiles, and their commitment to sustainability make it the perfect choice for my daily grind.",
              tag: "Monthly Subscriber",
              avatarSrc: "https://img.b2bpic.net/free-photo/closeup-smiling-beautiful-adult-businesswoman_1262-1760.jpg",
              avatarAlt: "Marcus Rodriguez profile picture",
              imageSrc: "https://img.b2bpic.net/free-photo/happy-businessman-drinking-coffee-reading-something-internet-while-using-laptop-his-office-desk_637285-765.jpg",
              imageAlt: "Marcus working with Drink Water coffee"
            },
            {
              id: "3",
              name: "Elena Vasquez, Creative Designer",
              date: "Date: 10 November 2024",
              title: "Community & Coffee",
              quote: "More than just great coffee, Drink Water is a community hub. The cozy atmosphere, friendly baristas, and ethically sourced beans make me feel good about every purchase.",
              tag: "Design Enthusiast",
              avatarSrc: "https://img.b2bpic.net/free-photo/portrait-smiley-business-woman_23-2148603029.jpg",
              avatarAlt: "Elena Vasquez profile picture",
              imageSrc: "https://img.b2bpic.net/free-photo/close-up-people-eating-break-time_23-2149256934.jpg",
              imageAlt: "Elena at the Drink Water community space"
            },
            {
              id: "4",
              name: "James Park, Business Owner",
              date: "Date: 28 October 2024",
              title: "Sustainable Excellence",
              quote: "As a business owner, I appreciate their transparency and commitment to fair trade practices. Serving Drink Water at our office events has become a point of pride.",
              tag: "Corporate Partner",
              avatarSrc: "https://img.b2bpic.net/free-photo/close-up-good-looking-smiling-friendly-female-trainee-ready-tackle-assignments-smiling-broadly-feeling-lucky-day-work-self-assured-encouraged-achieve-success-goal-white-wall_176420-35567.jpg",
              avatarAlt: "James Park profile picture",
              imageSrc: "https://img.b2bpic.net/free-photo/high-angle-people-cheering-with-coffee-mugs-office-meeting_23-2148817073.jpg",
              imageAlt: "James at corporate coffee event"
            },
            {
              id: "5",
              name: "Sophie Liu, Student",
              date: "Date: 15 September 2024",
              title: "Perfect Study Spot",
              quote: "Drink Water is my go-to for study sessions. The WiFi is reliable, the coffee keeps me sharp, and the vibe is perfect for concentration. Highly recommend!",
              tag: "Student Regular",
              avatarSrc: "https://img.b2bpic.net/free-photo/blond-business-woman-blue-shirt_23-2148095792.jpg",
              avatarAlt: "Sophie Liu profile picture",
              imageSrc: "https://img.b2bpic.net/free-photo/close-up-woman-enjoying-coffee-cup_23-2148756301.jpg",
              imageAlt: "Sophie studying at Drink Water"
            },
            {
              id: "6",
              name: "David Thompson, Sommelier",
              date: "Date: 22 August 2024",
              title: "Artisanal Excellence",
              quote: "Just as I appreciate fine wines, I appreciate exceptional coffee. Drink Water's attention to detail and flavor complexity rivals some of the best experiences I've had.",
              tag: "Connoisseur",
              avatarSrc: "https://img.b2bpic.net/free-photo/young-businesswoman-portrait-office_1262-1506.jpg",
              avatarAlt: "David Thompson profile picture",
              imageSrc: "https://img.b2bpic.net/free-photo/close-up-businessman-with-cup-coffee_1098-1268.jpg",
              imageAlt: "David exploring coffee flavors"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="pricing" data-section="pricing">
        <PricingCardOne
          title="Our Menu & Pricing"
          description="From classic espresso to creative specialty drinks, find your perfect cup."
          tag="Popular Choices"
          tagIcon={Coffee}
          plans={[
            {
              id: "espresso",
              badge: "Classic Favorite",
              badgeIcon: Sparkles,
              price: "$3.50",
              subtitle: "Rich, bold, and concentrated",
              features: [
                "Single or double shot",
                "Freshly ground beans",
                "Perfectly pulled extraction"
              ]
            },
            {
              id: "latte",
              badge: "Most Popular",
              badgeIcon: Sparkles,
              price: "$5.50",
              subtitle: "Smooth espresso with steamed milk",
              features: [
                "Premium espresso blend",
                "Silky microfoam",
                "Customizable milk options",
                "Latte art available"
              ]
            },
            {
              id: "cappuccino",
              badge: "Customer Favorite",
              badgeIcon: Sparkles,
              price: "$5.50",
              subtitle: "Bold espresso with equal parts milk",
              features: [
                "Intense coffee flavor",
                "Rich foam layer",
                "Perfect balance",
                "Multiple sizes"
              ]
            },
            {
              id: "cold-brew",
              badge: "Refreshing Choice",
              badgeIcon: Sparkles,
              price: "$4.50",
              subtitle: "Smooth, chilled coffee perfection",
              features: [
                "24-hour cold brew process",
                "Less acidic taste",
                "Customizable with milk or syrup",
                "Summer favorite"
              ]
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          buttons={[
            { text: "View Full Menu", href: "/menu" }
          ]}
        />
      </div>

      <FooterBase
        logoText="Drink Water"
        columns={[
          {
            title: "Menu",
            items: [
              { label: "Coffee Drinks", href: "/menu" },
              { label: "Pastries & Food", href: "/menu" },
              { label: "Merchandise", href: "/menu" }
            ]
          },
          {
            title: "Company",
            items: [
              { label: "About Us", href: "/about" },
              { label: "Our Story", href: "/about" },
              { label: "Sustainability", href: "/about" }
            ]
          },
          {
            title: "Connect",
            items: [
              { label: "Contact", href: "/contact" },
              { label: "Instagram", href: "https://instagram.com" },
              { label: "Twitter", href: "https://twitter.com" }
            ]
          }
        ]}
        copyrightText="© 2025 Drink Water Coffee Shop. All rights reserved."
      />
    </ThemeProvider>
  );
}