"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered";
import HeroSplit from "@/components/sections/hero/HeroSplit";
import ProductCardOne from "@/components/sections/product/ProductCardOne";
import FeatureCardTwentySeven from "@/components/sections/feature/FeatureCardTwentySeven";
import FooterCard from "@/components/sections/footer/FooterCard";
import { Instagram, Facebook, Twitter } from "lucide-react";

export default function ProductsPage() {
  const navItems = [
    { name: "Home", id: "home" },
    { name: "Products", id: "products" },
    { name: "Our Story", id: "story" },
    { name: "Contact", id: "contact" },
  ];

  const navButton = {
    text: "Order Now",
    href: "/products",
  };

  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="background-highlight"
      borderRadius="pill"
      contentWidth="mediumSmall"
      sizing="medium"
      background="blurBottom"
      cardStyle="layered-gradient"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="layered"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          navItems={navItems}
          button={navButton}
          brandName="Fuego & Sabor"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplit
          title="Our Premium Collection"
          description="Discover our handpicked selection of authentic tequila and salsa, each crafted with generations of expertise and passion from the heart of Mexico."
          tag="Collection"
          background={{ variant: "blurBottom" }}
          imageSrc="http://img.b2bpic.net/free-photo/sustainably-produced-alcoholic-beverage_23-2150163026.jpg?_wi=3"
          imageAlt="Premium tequila and salsa collection"
          imagePosition="right"
          buttons={[
            { text: "Shop Now", href: "/products" },
            { text: "Back Home", href: "/" },
          ]}
          mediaAnimation="slide-up"
          buttonAnimation="slide-up"
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardOne
          title="Full Product Range"
          description="Browse our complete selection of artisan tequila and authentic Mexican salsa. Each product is carefully sourced and crafted to deliver exceptional quality."
          products={[
            {
              id: "1",
              name: "Tequila Reposado",
              price: "$49.99",
              imageSrc: "http://img.b2bpic.net/free-photo/sustainably-produced-alcoholic-beverage_23-2150163026.jpg?_wi=4",
              imageAlt: "Tequila Reposado bottle",
            },
            {
              id: "2",
              name: "Tequila Blanco",
              price: "$39.99",
              imageSrc: "http://img.b2bpic.net/free-photo/delicious-mezcal-beverage-composition_23-2148993609.jpg?_wi=2",
              imageAlt: "Tequila Blanco bottle",
            },
            {
              id: "3",
              name: "Salsa Verde Premium",
              price: "$12.99",
              imageSrc: "http://img.b2bpic.net/free-photo/soup-clay-pot-served-with-herbs_141793-964.jpg?_wi=2",
              imageAlt: "Salsa Verde jar",
            },
            {
              id: "4",
              name: "Tequila Añejo",
              price: "$59.99",
              imageSrc: "http://img.b2bpic.net/free-photo/sustainably-produced-alcoholic-beverage_23-2150163026.jpg?_wi=5",
              imageAlt: "Tequila Añejo bottle",
            },
            {
              id: "5",
              name: "Salsa Roja Artisan",
              price: "$14.99",
              imageSrc: "http://img.b2bpic.net/free-photo/soup-clay-pot-served-with-herbs_141793-964.jpg?_wi=3",
              imageAlt: "Salsa Roja jar",
            },
            {
              id: "6",
              name: "Tequila Cristalino",
              price: "$64.99",
              imageSrc: "http://img.b2bpic.net/free-photo/delicious-mezcal-beverage-composition_23-2148993609.jpg?_wi=3",
              imageAlt: "Tequila Cristalino bottle",
            },
          ]}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground={false}
          gridVariant="uniform-all-items-equal"
        />
      </div>

      <div id="why-different" data-section="why-different">
        <FeatureCardTwentySeven
          title="Why Choose Our Products"
          description="Each product reflects our commitment to quality, authenticity, and heritage"
          features={[
            {
              id: "1",
              title: "Single-Source Excellence",
              description: "All our tequila comes exclusively from certified agave fields in Jalisco, ensuring consistent quality and authentic Mexican heritage in every bottle.",
              imageSrc: "http://img.b2bpic.net/free-photo/tropical-plants-trees-against-blue-sky_181624-27627.jpg?_wi=2",
              imageAlt: "Agave fields",
            },
            {
              id: "2",
              title: "Artisan Production",
              description: "Our small-batch distillation process honors traditional Mexican craftsmanship, producing complex flavors that larger producers cannot achieve.",
              imageSrc: "http://img.b2bpic.net/free-photo/high-angle-colorful-items-arrangement_23-2149673017.jpg?_wi=2",
              imageAlt: "Artisan craftsmanship",
            },
            {
              id: "3",
              title: "Family Recipes",
              description: "Passed down through four generations, our recipes combine ancestral techniques with premium ingredients for unmatched authenticity and taste.",
              imageSrc: "http://img.b2bpic.net/free-photo/front-view-man-eating-lula-kebab-pita-bread-with-yogurt-tomatoes-grilled-hot-peppers-tray_141793-17487.jpg?_wi=2",
              imageAlt: "Family recipes",
            },
          ]}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground={false}
          gridVariant="uniform-4-items"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterCard
          logoText="Fuego & Sabor"
          copyrightText="© 2025 Fuego & Sabor | Artisan Tequila & Salsa | All rights reserved"
          socialLinks={[
            { icon: Instagram, href: "https://instagram.com", ariaLabel: "Instagram" },
            { icon: Facebook, href: "https://facebook.com", ariaLabel: "Facebook" },
            { icon: Twitter, href: "https://twitter.com", ariaLabel: "Twitter" },
          ]}
        />
      </div>
    </ThemeProvider>
  );
}