"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import FooterMedia from '@/components/sections/footer/FooterMedia';

export default function ShippingReturnsPage() {
  const navItems = [
    { name: "Home", id: "/" },
    { name: "Shop", id: "/products" },
    { name: "Features", id: "#features" },
    { name: "About Us", id: "#about" },
    { name: "Testimonials", id: "#testimonials" },
    { name: "Blog", id: "#blog" },
    { name: "FAQ", id: "#faq" },
    { name: "Contact", id: "#contact" },
    { name: "Careers", id: "/careers" },
    { name: "Shipping & Returns", id: "/shipping-returns" },
    { name: "Privacy Policy", id: "/privacy-policy" }
  ];

  const footerColumns = [
    {
      title: "Shop",      items: [
        { label: "New Arrivals", href: "/products" },
        { label: "Collections", href: "#features" },
        { label: "Best Sellers", href: "/products" },
        { label: "Sale", href: "/products" }
      ]
    },
    {
      title: "About",      items: [
        { label: "Our Story", href: "#about" },
        { label: "Sustainability", href: "#features" },
        { label: "Testimonials", href: "#testimonials" },
        { label: "Careers", href: "/careers" }
      ]
    },
    {
      title: "Support",      items: [
        { label: "FAQ", href: "#faq" },
        { label: "Contact Us", href: "#contact" },
        { label: "Shipping & Returns", href: "/shipping-returns" },
        { label: "Privacy Policy", href: "/privacy-policy" }
      ]
    }
  ];

  return (
    <ThemeProvider
        defaultButtonVariant="hover-bubble"
        defaultTextAnimation="reveal-blur"
        borderRadius="pill"
        contentWidth="mediumLarge"
        sizing="largeSmall"
        background="aurora"
        cardStyle="gradient-radial"
        primaryButtonStyle="gradient"
        secondaryButtonStyle="glass"
        headingFontWeight="extrabold"
    >
      <ReactLenis root>
        <div id="nav" data-section="nav">
          <NavbarStyleFullscreen
            navItems={navItems}
            logoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=i5r4zf"
            logoAlt="Cloth Emporium Logo"
            brandName="Cloth Emporium"
          />
        </div>
        <main className="relative z-10 flex min-h-[calc(100vh-var(--height-140))] flex-col items-center justify-center py-20 px-4 md:px-8">
          <h1 className="text-4xl font-extrabold tracking-tight sm:text-5xl md:text-6xl text-foreground text-center">
            Shipping & Returns
          </h1>
          <p className="mt-4 text-lg text-foreground/80 text-center max-w-2xl">
            Find all information regarding our shipping policies and how to make a return.
          </p>
        </main>
        <div id="footer" data-section="footer">
          <FooterMedia
            imageSrc="http://img.b2bpic.net/free-photo/asian-retail-employee-arranging-new-collection-clothes-display_482257-113821.jpg?_wi=4"
            imageAlt="elegant clothes hanging in boutique"
            logoText="Cloth Emporium"
            columns={footerColumns}
            copyrightText="© 2024 Cloth Emporium. All rights reserved."
          />
        </div>
      </ReactLenis>
    </ThemeProvider>
  );
}