"use client"

import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroLogo from '@/components/sections/hero/HeroLogo';
import MediaSplitTabsAbout from '@/components/sections/about/MediaSplitTabsAbout';
import FeatureCardTwentyOne from '@/components/sections/feature/FeatureCardTwentyOne';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterBase from '@/components/sections/footer/FooterBase';
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="entrance-slide"
      borderRadius="soft"
      contentWidth="small"
      sizing="mediumLarge"
      background="aurora"
      cardStyle="glass-elevated"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="PAVARAGA"
          navItems={[
            { name: "Home", id: "home" },
            { name: "About", id: "about" },
            { name: "Catalog", id: "products" },
            { name: "Stories", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
          button={{
            text: "Visit Us",            href: "contact"
          }}
        />
      </div>
      
      <div id="hero" data-section="hero">
        <HeroLogo
          logoText="PAVARAGA HAWAI'I"
          description="Authentic Hawaiian café experience with locally sourced coffee and artisanal pastries"
          buttons={[
            { text: "Explore Menu", href: "products" },
            { text: "Our Story", href: "about" }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/iced-latte-glass-pink-stand-wooden-table-summer-cafe-green-bushes_343596-1550.jpg"
          imageAlt="PAVARAGA café tropical setting"
          showDimOverlay={true}
          logoLineHeight={1.2}
        />
      </div>
      
      <div id="about" data-section="about">
        <MediaSplitTabsAbout
          title="A Heritage of Excellence"
          description="Discover what makes PAVARAGA HAWAI'I the destination for authentic Hawaiian café culture"
          tabs={[
            {
              id: "heritage",              label: "Our Heritage",              description: "PAVARAGA HAWAI'I celebrates the rich tradition of Hawaiian coffee culture. Every cup tells a story of aloha spirit, local craftsmanship, and commitment to quality. We source the finest beans from trusted local growers who share our passion for excellence."
            },
            {
              id: "craft",              label: "Craft & Quality",              description: "Our master baristas bring years of expertise to every beverage. Using traditional preparation methods combined with modern techniques, we create exceptional coffee experiences that honor both heritage and innovation."
            },
            {
              id: "community",              label: "Community Focus",              description: "More than a café, PAVARAGA is a gathering place for the community. We celebrate local artists, support Hawaiian businesses, and create spaces where connections flourish over outstanding coffee and conversation."
            }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/top-view-cocktail-with-flower-decors_141793-13121.jpg"
          imageAlt="PAVARAGA café barista crafting coffee"
          imagePosition="right"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="features" data-section="features">
        <FeatureCardTwentyOne
          title="What Makes Us Special"
          description="Experience the difference that authentic craftsmanship, premium ingredients, and genuine aloha spirit bring to every visit"
          tag="Features"
          accordionItems={[
            {
              id: "1",              title: "Premium Local Coffee Sourcing",              content: "We partner directly with Hawaiian coffee growers to bring you the freshest, highest-quality beans. Our direct relationships ensure sustainable practices and support for local farming communities."
            },
            {
              id: "2",              title: "Artisanal Preparation Methods",              content: "Every beverage is carefully prepared by our skilled baristas using traditional techniques. From hand-poured lattes to perfectly extracted espresso, quality is never compromised."
            },
            {
              id: "3",              title: "Fresh Artisan Pastries Daily",              content: "Our in-house bakery produces fresh pastries daily using traditional recipes and premium ingredients. Each item is crafted to complement our exceptional coffee offerings."
            },
            {
              id: "4",              title: "Warm, Welcoming Atmosphere",              content: "Designed as a gathering place for the community, our café features comfortable seating, local artwork, and the authentic aloha spirit that makes PAVARAGA special."
            }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/matcha-latte-transparent-glass-with-flower_197531-18174.jpg"
          imageAlt="PAVARAGA specialty coffee preparation"
          useInvertedBackground="invertDefault"
          mediaPosition="left"
          buttons={[
            { text: "Visit Us Today", href: "contact" }
          ]}
        />
      </div>
      
      <div id="products" data-section="products">
        <ProductCardTwo
          title="Our Signature Selection"
          description="Explore our curated collection of premium coffees and craft beverages"
          tag="Menu Highlights"
          products={[
            {
              id: "1",              brand: "PAVARAGA",              name: "Tropical Ice Tea",              price: "$18.00",              rating: 5,
              reviewCount: "247",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_38BjcazLrwif0ixg9s4SVqUVz24/tmp/generate-a-cold-ice-tea-that-look-tropic-1768420422435-66cbd89b.jpg",              imageAlt: "Tropical Ice Tea beverage"
            },
            {
              id: "2",              brand: "PAVARAGA",              name: "Island Espresso Blend",              price: "$6.50",              rating: 5,
              reviewCount: "412",              imageSrc: "https://img.b2bpic.net/free-photo/top-view-brown-coffee-seeds-with-macarons_140725-27789.jpg",              imageAlt: "Island Espresso Blend served"
            },
            {
              id: "3",              brand: "PAVARAGA",              name: "Tropical Iced Latte",              price: "$7.00",              rating: 5,
              reviewCount: "389",              imageSrc: "https://img.b2bpic.net/free-photo/hermetic-silver-package-filled-with-freshly-baked-roasted-coffee-preserve-its-aroma-red-wooden-table-near-fallen-transparent-cup-with-spreaded-raw-green-peeled-coffee-beans-carton-box_346278-892.jpg",              imageAlt: "Tropical Iced Latte beverage"
            }
          ]}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          gridVariant="three-columns-all-equal-width"
          buttons={[
            { text: "View Full Menu", href: "contact" }
          ]}
        />
      </div>
      
      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFifteen
          testimonial="PAVARAGA HAWAI'I has become my daily sanctuary. The coffee is exceptional, the pastries are divine, and the atmosphere genuinely embodies the aloha spirit. This is what a true community café should be."
          rating={5}
          author="Sarah Mitchell, Local Resident"
          avatars={[
            {
              src: "https://img.b2bpic.net/free-photo/front-view-business-woman-suit_23-2148603018.jpg",              alt: "Customer testimonial avatar 1"
            },
            {
              src: "https://img.b2bpic.net/free-photo/happy-professional_1098-12931.jpg",              alt: "Customer testimonial avatar 2"
            },
            {
              src: "https://img.b2bpic.net/free-photo/smiling-african-american-man-posing-library_74855-1619.jpg",              alt: "Customer testimonial avatar 3"
            },
            {
              src: "https://img.b2bpic.net/free-photo/close-up-smiley-man-therapy_23-2148928793.jpg",              alt: "Customer testimonial avatar 4"
            }
          ]}
          useInvertedBackground="invertDefault"
        />
      </div>
      
      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Visit PAVARAGA HAWAI'I"
          description="Experience authentic Hawaiian café culture. Stop by to enjoy our premium coffee, artisan pastries, and warm aloha spirit. We're open daily and welcome walk-ins."
          inputs={[
            {
              name: "name",              type: "text",              placeholder: "Your Name",              required: true
            },
            {
              name: "email",              type: "email",              placeholder: "Your Email",              required: true
            }
          ]}
          textarea={{
            name: "message",            placeholder: "Tell us about your visit or ask any questions",            rows: 5,
            required: false
          }}
          imageSrc="https://img.b2bpic.net/free-photo/pineapple-fresh-table_140725-9601.jpg"
          imageAlt="PAVARAGA café cozy interior"
          mediaPosition="right"
          buttonText="Get in Touch"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="footer" data-section="footer">
        <FooterBase
          logoText="PAVARAGA HAWAI'I"
          copyrightText="© 2024 PAVARAGA HAWAI'I. Celebrating authentic Hawaiian café culture."
          columns={[
            {
              title: "Café",              items: [
                { label: "Menu", href: "products" },
                { label: "Hours", href: "contact" },
                { label: "Our Story", href: "about" }
              ]
            },
            {
              title: "Connect",              items: [
                { label: "Contact", href: "contact" },
                { label: "Instagram", href: "https://instagram.com" },
                { label: "Facebook", href: "https://facebook.com" }
              ]
            },
            {
              title: "Support",              items: [
                { label: "About Us", href: "about" },
                { label: "Community", href: "about" },
                { label: "Sustainability", href: "about" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}