"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import FeatureCardTwentyOne from '@/components/sections/feature/FeatureCardTwentyOne';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import HeroBillboardScroll from '@/components/sections/hero/HeroBillboardScroll';
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
import MetricSplitMediaAbout from '@/components/sections/about/MetricSplitMediaAbout';
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';
import { Globe, Leaf, ShieldCheck } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="elastic-effect"
        defaultTextAnimation="reveal-blur"
        borderRadius="pill"
        contentWidth="compact"
        sizing="largeSmall"
        background="floatingGradient"
        cardStyle="inset"
        primaryButtonStyle="flat"
        secondaryButtonStyle="layered"
        headingFontWeight="light"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleFullscreen
      navItems={[
        {
          name: "Home",          id: "#hero"},
        {
          name: "Manifesto",          id: "#manifesto"},
        {
          name: "Products",          id: "#products"},
        {
          name: "Heritage",          id: "#heritage"},
        {
          name: "Trust",          id: "#trust"},
        {
          name: "Partners",          id: "#partners"},
        {
          name: "Testimonials",          id: "#testimonials"},
      ]}
      logoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EvAIFm8QkHEkJHZyz9OSzMQ8ED/uploaded-1781048607803-d8n9igud.png"
      logoAlt="Hansung Enterprise Logo"
      brandName="HANSUNG ENTERPRISE (한성기업)"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroBillboardScroll
      background={{
        variant: "plain"}}
      title="바다를 품에 안고 60년, 세계를 품에 안고 100년."
      description={`"The First, The Best"\n1963년부터 이어온 명작, 한성기업이 프리미엄 미식의 새로운 지평을 엽니다.`}
      buttons={[
        {
          text: "Explore Heritage",          href: "#heritage"},
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/male-small-rowboat-middle-beautiful-sea-with-sun-shining_181624-2307.jpg"
      videoSrc="http://img.b2bpic.net/free-photo/lamb-wrapped-with-dough-tomato-sauce_114579-2133.jpg"
      imageAlt="Cinematic deep ocean or premium gourmet dish"
    />
  </div>

  <div id="manifesto" data-section="manifesto">
      <MetricSplitMediaAbout
      useInvertedBackground={false}
      title="BRAND MANIFESTO"
      description="우리는 보이지 않는 '품질의 기준'이 되겠습니다.\n가장 깨끗한 바다의 원료를 고르고, 가장 기분 좋은 식감을 연구하며, 가장 안전한 방식으로 당신의 곁으로 가겠습니다.\n단순한 식품 그 이상을 넘어, 당신의 일상을 더 풍요롭게 만드는 영감이 되겠습니다.\n\n대한민국 프리미엄 식품의 절대적인 자부심, 오직 크래미와 한성의 이름으로 증명합니다."
      metrics={[
        {
          value: "60+",          title: "Years of Heritage"},
        {
          value: "No.1",          title: "Premium Brand"},
        {
          value: "Global",          title: "Reach"},
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/portrait-senior-man-cooking_23-2151207435.jpg"
      imageAlt="Minimalist black and white gourmet food"
      mediaAnimation="opacity"
    />
  </div>

  <div id="products" data-section="products">
      <ProductCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      products={[
        {
          id: "crami",          name: "CRAMI (크래미)",          price: "Premium",          imageSrc: "http://img.b2bpic.net/free-photo/cotton-plants-still-life_23-2151158826.jpg",          imageAlt: "Crami product"},
        {
          id: "jeotgal",          name: "HANSUNG JEOTGAL (한성젓갈)",          price: "Traditional",          imageSrc: "http://img.b2bpic.net/free-photo/chinese-cabbage-squid-radish-kimchi_1339-2940.jpg",          imageAlt: "Hansung Jeotgal product"},
        {
          id: "gourmeat",          name: "GOUR-MEAT & CAMFRIENDS",          price: "Luxury",          imageSrc: "http://img.b2bpic.net/free-photo/top-view-ham-slices-with-grapes-seasonings-bread-slices-dark-background_140725-133140.jpg",          imageAlt: "Gour-meat & Camfriends products"},
      ]}
      title="THE GAME CHANGER"
      description="Experience our innovative range of gourmet products, crafted with unparalleled dedication and quality."
    />
  </div>

  <div id="trust" data-section="trust">
      <MetricCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="uniform-all-items-equal"
      useInvertedBackground={true}
      metrics={[
        {
          id: "msc",          value: "MSC",          title: "Certification",          description: "지속 가능한 수산물 유통에 기여하는 친환경 해양 관리 협의회 국제 인증.",          icon: Leaf,
        },
        {
          id: "haccp",          value: "HACCP",          title: "Certified",          description: "원료부터 출고까지 철저하게 통제되는 위생 안전 관리 시스템 공정.",          icon: ShieldCheck,
        },
        {
          id: "fssc",          value: "FSSC",          title: "22000",          description: "글로벌 시장에서 인정받는 국제식품안전시스템 표준 규격 획득.",          icon: Globe,
        },
      ]}
      title="ULTIMATE QUALITY & TRUST"
      description="지구와 미래를 생각하는 글로벌 스탠다드"
    />
  </div>

  <div id="heritage" data-section="heritage">
      <FeatureCardTwentyOne
      useInvertedBackground={false}
      title="OUR JOURNEY"
      description="Tracing the roots of excellence, innovation, and unwavering commitment."
      accordionItems={[
        {
          id: "1963",          title: "1963",          content: "첫 항해의 시작, 한성기업 설립 및 국내 최초 북태평양 조업"},
        {
          id: "1982",          title: "1982-1988",          content: "한성게맛살 미국 시장 진출 및 88올림픽 공식 게맛살 지정"},
        {
          id: "2001",          title: "2001",          content: "대한민국 최초의 프리미엄 맛살 '크래미®' 탄생"},
        {
          id: "2013",          title: "2013-현재",          content: "국내 식품 제조 업계 최초 MSC-CoC 인증 획득 및 100년 기업을 향한 혁신"},
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/watercolor-whale-illustration_23-2151530673.jpg"
      imageAlt="Vintage Hansung Enterprise fishing vessel"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="partners" data-section="partners">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={true}
      names={[
        "Alaska Seafood Marketing Institute",        "Korean Federation of Fisheries Cooperatives",        "Korean Olympic Committee",        "MSC Certified",        "HACCP Certified",        "FSSC 22000 Certified",        "K Seafood"]}
      title="Global Partners & Collaborators"
      description="Trusted by industry leaders worldwide, our commitment to quality spans continents."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardTwo
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      carouselMode="buttons"
      testimonials={[
        {
          id: "1",          name: "Sarah Johnson",          role: "CEO, Global Seafood Alliance",          testimonial: "Hansung Enterprise consistently delivers exceptional quality and has been a reliable partner in promoting sustainable fishing practices globally. Their commitment to excellence is truly inspiring.",          imageSrc: "http://img.b2bpic.net/free-photo/senior-businessman-outside-modern-office-building_1139-1076.jpg",          imageAlt: "Sarah Johnson"},
        {
          id: "2",          name: "Michael Chen",          role: "Head of Procurement, Asian Food Distributors",          testimonial: "The premium product line from Hansung, especially Crami, has revolutionized our market. The consistent quality and unique flavors are unmatched, leading to high customer satisfaction.",          imageSrc: "http://img.b2bpic.net/free-photo/man-brushing-her-teeth_1368-6198.jpg",          imageAlt: "Michael Chen"},
        {
          id: "3",          name: "Emily Rodriguez",          role: "Culinary Director, Luxe Dining Group",          testimonial: "Hansung's dedication to tradition and innovation in Korean fermented foods is commendable. Their Jeotgal products bring authentic, deep flavors that elevate our gourmet menus.",          imageSrc: "http://img.b2bpic.net/free-photo/authentic-small-youthful-marketing-agency_23-2150167445.jpg",          imageAlt: "Emily Rodriguez"},
        {
          id: "4",          name: "David Kim",          role: "Brand Manager, Gourmet Sausages Inc.",          testimonial: "The Gour-Meat and Camfriends lines offer a sophisticated taste that appeals to a global palate. Their luxury processed meats are a testament to Hansung's commitment to diverse and high-quality gastronomy.",          imageSrc: "http://img.b2bpic.net/free-photo/male-female-graphic-designers-interacting-with-each-other_1170-2963.jpg",          imageAlt: "David Kim"},
        {
          id: "5",          name: "Jessica Lee",          role: "Food Safety Auditor, ISO Group",          testimonial: "Hansung Enterprise's adherence to global safety standards like HACCP and FSSC 22000 is exemplary. Their robust quality control systems ensure product integrity from source to shelf.",          imageSrc: "http://img.b2bpic.net/free-photo/lunch-break-elegant-man-office-businessman-white-shirt-man-eats-noodles_1157-39262.jpg",          imageAlt: "Jessica Lee"},
        {
          id: "6",          name: "Robert Davis",          role: "Retail Partner, Premium Foods Market",          testimonial: "Partnering with Hansung has significantly boosted our premium food selection. Their commitment to timely delivery and exceptional product quality makes them an invaluable asset to our business.",          imageSrc: "http://img.b2bpic.net/free-photo/authentic-small-youthful-marketing-agency_23-2150167349.jpg",          imageAlt: "Robert Davis"},
      ]}
      title="What Our Partners Say"
      description="Driving innovation and quality together to shape the future of premium gastronomy."
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterMedia
      imageSrc="http://img.b2bpic.net/free-photo/light-tower-middle-sea_181624-407.jpg"
      imageAlt="Deep ocean floor with subtle light"
      logoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EvAIFm8QkHEkJHZyz9OSzMQ8ED/uploaded-1781048607803-d8n9igud.png"
      logoAlt="Hansung Enterprise Logo"
      logoText="HANSUNG ENTERPRISE (한성기업 주식회사)"
      columns={[
        {
          title: "Company",          items: [
            {
              label: "회사소개",              href: "#manifesto"},
            {
              label: "브랜드&제품",              href: "#products"},
            {
              label: "홍보관",              href: "#heritage"},
            {
              label: "고객지원",              href: "#"},
          ],
        },
        {
          title: "Connect",          items: [
            {
              label: "Instagram",              href: "https://instagram.com"},
            {
              label: "Blog",              href: "#"},
            {
              label: "Facebook",              href: "https://facebook.com"},
          ],
        },
      ]}
      copyrightText="© 2026 HANSUNG ENTERPRISE. All Rights Reserved."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
