"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FeatureCardTwentyFour from '@/components/sections/feature/FeatureCardTwentyFour';
import FooterBase from '@/components/sections/footer/FooterBase';
import HeroLogoBillboard from '@/components/sections/hero/HeroLogoBillboard';
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import TestimonialCardSixteen from '@/components/sections/testimonial/TestimonialCardSixteen';

const commonNavItems = [
  { name: "Home", id: "/" },
  { name: "About Us", id: "/about-us" },
  { name: "Menu", id: "/menu" },
  { name: "Why Choose Us", id: "/#why-choose-us" },
  { name: "Gallery", id: "/#gallery" },
  { name: "Reviews", id: "/#reviews" },
  { name: "Contact", id: "/#contact" },
];

const commonFooterColumns = [
  {
    title: "Quick Links",    items: [
      { label: "Home", href: "/" },
      { label: "Menu", href: "/menu" },
      { label: "Gallery", href: "/#gallery" },
      { label: "Reviews", href: "/#reviews" },
    ],
  },
  {
    title: "Contact Us",    items: [
      { label: "Location", href: "/#contact" },
      { label: "Call Us: 70303 70370", href: "tel:+917030370370" },
      { label: "WhatsApp Us", href: "https://wa.me/917030370370" },
    ],
  },
  {
    title: "Follow Us",    items: [
      { label: "Instagram", href: "https://instagram.com/kafeculture" },
      { label: "Facebook", href: "https://facebook.com/kafeculture" },
      { label: "Google Reviews", href: "https://g.page/kafe-culture-jalgaon/review" },
    ],
  },
];

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="soft"
      contentWidth="mediumSmall"
      sizing="largeSizeMediumTitles"
      background="blurBottom"
      cardStyle="subtle-shadow"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="solid"
      headingFontWeight="extrabold"
    >
      <ReactLenis root>
        <div id="nav" data-section="nav">
          <NavbarStyleCentered
            navItems={commonNavItems}
            button={{
              text: "Call Us",              href: "tel:+917030370370"
            }}
            brandName="Kafe Culture"
          />
        </div>

        <div id="hero" data-section="hero">
          <HeroLogoBillboard
            background={{
              variant: "rotated-rays-static"
            }}
            logoText="Kafe Culture"
            description="Where Every Sip Feels Like Home. A cozy and aesthetic café in Jalgaon offering delightful mocktails, food, and desserts for friends and family."
            buttons={[
              {
                text: "View Menu",                href: "/menu"
              },
              {
                text: "Reserve a Table",                href: "/#contact"
              },
            ]}
            imageSrc="http://img.b2bpic.net/free-photo/stylish-young-woman-using-digital-tablet-restaurant-table_23-2147936094.jpg"
            imageAlt="Warm and inviting interior of Kafe Culture cafe"
            mediaAnimation="blur-reveal"
          />
        </div>

        {/* The About Us section has been moved to its own page: /about-us */}

        <div id="why-choose-us" data-section="why-choose-us">
          <FeatureCardTwentyFour
            animationType="slide-up"
            textboxLayout="default"
            useInvertedBackground={true}
            features={[
              {
                id: "f1",                title: "4.6★ Customer Rating",                author: "Google Reviews",                description: "Highly praised by 173 satisfied customers for exceptional service and quality.",                tags: [
                  "Quality",                  "Service"
                ],
                imageSrc: "http://img.b2bpic.net/free-photo/diverse-people-showing-golden-star-rating-symbol_53876-71536.jpg",                imageAlt: "Star rating icon"
              },
              {
                id: "f2",                title: "Signature Mocktails",                author: "Our Baristas",                description: "Our unique, tasty, and refreshing mocktails are a must-try for everyone.",                tags: [
                  "Drinks",                  "Unique"
                ],
                imageSrc: "http://img.b2bpic.net/free-photo/campagne-glass-with-champagne-it-garnished-with-dried-lemon-slice_140725-1506.jpg",                imageAlt: "Refreshing signature mocktail"
              },
              {
                id: "f3",                title: "Aesthetic Ambiance",                author: "Our Designers",                description: "The perfect blend of calm and modern decor for every mood and occasion.",                tags: [
                  "Cozy",                  "Modern"
                ],
                imageSrc: "http://img.b2bpic.net/free-photo/high-angle-hands-holding-smartphone_23-2149366417.jpg",                imageAlt: "Aesthetic cafe interior"
              },
              {
                id: "f4",                title: "Affordable Luxury",                author: "Our Promise",                description: "Enjoy a premium experience with delightful offerings, typically ₹200–400 per person.",                tags: [
                  "Value",                  "Budget-Friendly"
                ],
                imageSrc: "http://img.b2bpic.net/free-vector/outline-wallet-with-yellow-coin_78370-7129.jpg",                imageAlt: "Indian Rupee currency"
              },
              {
                id: "f5",                title: "Friendly Staff",                author: "Our Team",                description: "Our warm and welcoming team ensures every visit is memorable and enjoyable.",                tags: [
                  "Hospitality",                  "Service"
                ],
                imageSrc: "http://img.b2bpic.net/free-photo/smiling-young-bald-call-center-man-wearing-headset-sitting-desk-with-work-tools-showing-empty-hands-isolated-white-wall_141793-94410.jpg",                imageAlt: "Smiling friendly cafe staff"
              },
              {
                id: "f6",                title: "Convenient Drive-Through",                author: "Your Convenience",                description: "Grab your favorite beverages and bites on the go, quick and hassle-free.",                tags: [
                  "Speed",                  "Takeaway"
                ],
                imageSrc: "http://img.b2bpic.net/free-photo/new-normal-coffee-shop-with-face-shield_23-2148656705.jpg",                imageAlt: "Car at a drive-through window"
              },
            ]}
            title="Why Kafe Culture?"
            description="We're more than just a café; we're a community hub where quality, comfort, and value converge. Discover the reasons our guests keep coming back."
          />
        </div>

        {/* The Menu section has been moved to its own page: /menu */}

        <div id="gallery" data-section="gallery">
          <ProductCardOne
            animationType="slide-up"
            textboxLayout="default"
            gridVariant="bento-grid"
            useInvertedBackground={true}
            products={[
              {
                id: "g1",                name: "Food Spread",                price: "",                imageSrc: "http://img.b2bpic.net/free-photo/assorted-coffee-cups-textured-background_53876-176760.jpg",                imageAlt: "Delicious food and beverages spread on a table"
              },
              {
                id: "g2",                name: "Cozy Interiors",                price: "",                imageSrc: "http://img.b2bpic.net/free-photo/cozy-cafe-hotel-decorated-with-green-plants-flowers_181624-37913.jpg",                imageAlt: "Modern and cozy cafe interior with warm lighting"
              },
              {
                id: "g3",                name: "Vibrant Vibe",                price: "",                imageSrc: "http://img.b2bpic.net/free-photo/cheerful-friends-drinking_23-2147680595.jpg",                imageAlt: "Happy friends enjoying the cafe atmosphere"
              },
              {
                id: "g4",                name: "Barista at Work",                price: "",                imageSrc: "http://img.b2bpic.net/free-photo/man-apron-holding-glass-with-coffee-cups_23-2148366679.jpg",                imageAlt: "Barista preparing a specialty coffee"
              },
              {
                id: "g5",                name: "Sweet Delights",                price: "",                imageSrc: "http://img.b2bpic.net/free-photo/top-close-up-view-cookies-cake-cake-cookies-cup-tea-citrus-fruits-cinnamon-sticks_140725-123577.jpg",                imageAlt: "Assortment of delicious desserts and pastries"
              },
              {
                id: "g6",                name: "Evening Exterior",                price: "",                imageSrc: "http://img.b2bpic.net/free-photo/low-angle-shot-brown-building-with-vertical-windows_181624-3596.jpg",                imageAlt: "Kafe Culture exterior at night with warm lights"
              },
            ]}
            title="A Glimpse of Kafe Culture"
            description="Immerse yourself in the visual delight of our café. From our delectable food to our cozy interiors and vibrant ambiance, see why we're an Instagram-worthy spot."
          />
        </div>

        <div id="reviews" data-section="reviews">
          <TestimonialCardSixteen
            animationType="depth-3d"
            textboxLayout="default"
            useInvertedBackground={false}
            carouselMode="auto"
            testimonials={[
              {
                id: "t1",                name: "Humeshwari Patil",                role: "Customer",                company: "Local Visitor",                rating: 5,
                imageSrc: "http://img.b2bpic.net/free-photo/portrait-joyful-woman-holding-mobile-phone_171337-4024.jpg",                imageAlt: "Portrait of Humeshwari Patil"
              },
              {
                id: "t2",                name: "Bhaskar Sonar",                role: "Customer",                company: "Local Visitor",                rating: 5,
                imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-handsome-smiling-redhead-bearded-man-holding-coffee-cup-looking-aside_171337-9997.jpg",                imageAlt: "Portrait of Bhaskar Sonar"
              },
              {
                id: "t3",                name: "Sona Jain",                role: "Local Guide",                company: "Jalgaon",                rating: 5,
                imageSrc: "http://img.b2bpic.net/free-photo/casual-woman-drinking-coffe-working-with-tablet-pc_613910-16842.jpg",                imageAlt: "Portrait of Sona Jain"
              },
              {
                id: "t4",                name: "Regular Guest",                role: "Family Friend",                company: "Kafe Culture",                rating: 5,
                imageSrc: "http://img.b2bpic.net/free-photo/best-friends-are-chatting-laughing-with-tasty-snacks-terrace_8353-10306.jpg",                imageAlt: "Group of friends enjoying cafe"
              },
              {
                id: "t5",                name: "Happy Customer",                role: "Food Enthusiast",                company: "Jalgaon Foodie",                rating: 5,
                imageSrc: "http://img.b2bpic.net/free-photo/cook-holding-plate-with-ingredients-hands_23-2148040199.jpg",                imageAlt: "Chef serving a delicious dish"
              },
            ]}
            kpiItems={[
              {
                value: "4.6",                label: "Star Rating"
              },
              {
                value: "173+",                label: "Google Reviews"
              },
              {
                value: "Jalgaon",                label: "Community Love"
              },
            ]}
            title="What Our Guests Say"
            description="Real stories from our valued customers. Their smiles and kind words are what drive us every day to provide the best experience at Kafe Culture."
          />
        </div>

        <div id="contact" data-section="contact">
          <ContactCenter
            useInvertedBackground={true}
            background={{
              variant: "sparkles-gradient"
            }}
            tag="Get in Touch"
            title="Visit Us or Make a Reservation"
            description="Whether you're planning a visit, want to book a table for friends, or just have a quick question, we're here to help. Reach out to us or find us on the map below. For quick bookings, message us on WhatsApp!"
            inputPlaceholder="Your message"
            buttonText="Send Message"
            termsText="You can also call us at +91 70303 70370 or WhatsApp us for instant table reservations. Our location: Aakashwani Road, Near Aakashwani Signal, Jalgaon, Maharashtra 425001."
          />
        </div>

        <div id="footer" data-section="footer">
          <FooterBase
            columns={commonFooterColumns}
            logoText="Kafe Culture"
            copyrightText="© 2025 Kafe Culture. All rights reserved."
          />
        </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
