"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import HeroLogo from '@/components/sections/hero/HeroLogo';
import TextSplitAbout from '@/components/sections/about/TextSplitAbout';
import FeatureCardSeven from '@/components/sections/feature/FeatureCardSeven';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="mediumSmall"
      sizing="largeSmallSizeLargeTitles"
      background="none"
      cardStyle="gradient-mesh"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="layered"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="BurgerBite"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "About", id: "about" },
            { name: "Menu", id: "product" },
            { name: "Reviews", id: "testimonial" },
            { name: "Contact", id: "contact" }
          ]}
          button={{
            text: "Order Now",            href: "contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroLogo
          logoText="BurgerBite"
          description="Handcrafted gourmet burgers made fresh daily with premium ingredients and bold flavors"
          buttons={[
            { text: "Order Now", href: "contact" },
            { text: "View Menu", href: "product" }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/front-view-vegetarian-burger-plate_23-2148784526.jpg"
          imageAlt="Fresh gourmet burger with appetizing toppings"
          showDimOverlay={true}
          logoLineHeight={1.2}
        />
      </div>

      <div id="about" data-section="about">
        <TextSplitAbout
          title="Our Story"
          description={[
            "BurgerBite was founded with a simple mission: to create the best burgers in town using only the finest ingredients. Every burger is crafted by hand with passion and precision.",            "We source our beef from local farms, bake our buns fresh daily, and prepare our toppings with care. Our commitment to quality and flavor has made us a favorite among burger enthusiasts and casual diners alike."
          ]}
          showBorder={true}
          useInvertedBackground="noInvert"
          buttons={[
            { text: "Learn More", href: "about" }
          ]}
        />
      </div>

      <div id="feature" data-section="feature">
        <FeatureCardSeven
          title="Why Choose BurgerBite"
          description="Experience the difference quality makes in every bite"
          tag="Our Promise"
          features={[
            {
              id: 1,
              title: "Fresh Daily",              description: "All ingredients prepared fresh every single day. No frozen patties, no shortcuts—just quality and taste.",              imageSrc: "https://img.b2bpic.net/free-photo/home-made-burger-with-delicious-tomatoes_23-2148374865.jpg"
            },
            {
              id: 2,
              title: "Premium Beef",              description: "Hand-selected beef from local suppliers, ground fresh and cooked to perfection with expert timing.",              imageSrc: "https://img.b2bpic.net/free-photo/front-view-delicious-meat-hamburger-with-red-tomatoes-dark-background_179666-19342.jpg"
            },
            {
              id: 3,
              title: "Artisan Buns",              description: "Baked in-house daily using traditional recipes. Soft, fresh, and perfectly toasted for every burger.",              imageSrc: "https://img.b2bpic.net/free-photo/front-view-beef-burger-with-salad-bacon_23-2148784490.jpg"
            }
          ]}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="product" data-section="product">
        <ProductCardTwo
          title="Our Signature Menu"
          description="Discover our most popular burgers, crafted with love and premium ingredients"
          tag="Best Sellers"
          products={[
            {
              id: "1",              brand: "BurgerBite Signature",              name: "The Classic",              price: "$12.99",              rating: 5,
              reviewCount: "1.2k",              imageSrc: "https://img.b2bpic.net/free-photo/front-view-beef-burger-with-salad-bacon_23-2148784490.jpg",              imageAlt: "Classic cheeseburger with fresh toppings"
            },
            {
              id: "2",              brand: "BurgerBite Signature",              name: "Bacon Blaze",              price: "$14.99",              rating: 5,
              reviewCount: "980",              imageSrc: "https://img.b2bpic.net/free-photo/homemade-burgers-with-cutlet-fresh-lettuce-tomatoes-onions-wooden-table-copy-space_127032-1676.jpg",              imageAlt: "Crispy bacon cheeseburger with caramelized onions"
            },
            {
              id: "3",              brand: "BurgerBite Premium",              name: "The Wagyu Wonder",              price: "$19.99",              rating: 5,
              reviewCount: "750",              imageSrc: "https://img.b2bpic.net/free-photo/front-view-delicious-meat-hamburger-with-red-tomatoes-dark-background_179666-19342.jpg",              imageAlt: "Premium wagyu burger with truffle aioli"
            },
            {
              id: "4",              brand: "BurgerBite Green",              name: "Garden Delight",              price: "$11.99",              rating: 5,
              reviewCount: "650",              imageSrc: "https://img.b2bpic.net/free-photo/high-angle-beef-burger-with-salad_23-2148784488.jpg",              imageAlt: "Vegetarian burger with fresh greens and avocado"
            },
            {
              id: "5",              brand: "BurgerBite Fire",              name: "Spicy Inferno",              price: "$13.99",              rating: 5,
              reviewCount: "520",              imageSrc: "https://img.b2bpic.net/free-photo/creative-assortment-with-hamburger_23-2148614115.jpg",              imageAlt: "Spicy burger with jalapeños and hot sauce"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="blur-reveal"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="testimonial" data-section="testimonial">
        <TestimonialCardOne
          title="What Our Customers Love"
          description="Real reviews from real burger lovers who visit us regularly"
          tag="Testimonials"
          testimonials={[
            {
              id: "1",              name: "Michael Chen",              role: "Food Critic",              company: "Local Food Blog",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/closeup-shot-handsome-male-smiling_181624-41237.jpg",              imageAlt: "Portrait of Michael Chen"
            },
            {
              id: "2",              name: "Sarah Mitchell",              role: "Regular Customer",              company: "BurgerBite Fan",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/smiling-man-sitting-cafe-table-gesturing_1262-1141.jpg",              imageAlt: "Portrait of Sarah Mitchell"
            },
            {
              id: "3",              name: "David Rodriguez",              role: "Restaurant Owner",              company: "Local Dining Association",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/happy-man-with-thumbs-up_1187-3144.jpg",              imageAlt: "Portrait of David Rodriguez"
            },
            {
              id: "4",              name: "Jessica Wong",              role: "Food Blogger",              company: "Taste & Travel",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/handsome-man-making-ok-sign_1368-6336.jpg",              imageAlt: "Portrait of Jessica Wong"
            }
          ]}
          gridVariant="four-items-2x2-equal-grid"
          animationType="scale-rotate"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Get In Touch"
          title="Join Our Burger Community"
          description="Subscribe to our newsletter for exclusive burger recipes, special offers, and be the first to hear about new menu items!"
          useInvertedBackground="invertDefault"
          imageSrc="https://img.b2bpic.net/free-photo/closeup-hamburgers-wooden-tray-with-blurred-background_181624-2322.jpg"
          imageAlt="Cozy burger restaurant interior"
          mediaPosition="right"
          inputPlaceholder="Enter your email"
          buttonText="Subscribe"
          termsText="We respect your privacy. Unsubscribe anytime."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseCard
          logoText="BurgerBite"
          columns={[
            {
              title: "Menu",              items: [
                { label: "Signature Burgers", href: "#product" },
                { label: "Sides & Drinks", href: "#product" },
                { label: "Desserts", href: "#product" },
                { label: "Special Offers", href: "#contact" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "#about" },
                { label: "Our Story", href: "#about" },
                { label: "Careers", href: "#contact" },
                { label: "Press", href: "#contact" }
              ]
            },
            {
              title: "Contact",              items: [
                { label: "Call: (555) 123-4567", href: "tel:5551234567" },
                { label: "Email: hello@burgerbite.com", href: "mailto:hello@burgerbite.com" },
                { label: "123 Main St, Foodtown", href: "#" },
                { label: "Open 11am - 11pm Daily", href: "#" }
              ]
            },
            {
              title: "Follow Us",              items: [
                { label: "Instagram", href: "https://instagram.com" },
                { label: "Facebook", href: "https://facebook.com" },
                { label: "Twitter", href: "https://twitter.com" },
                { label: "TikTok", href: "https://tiktok.com" }
              ]
            }
          ]}
          copyrightText="© 2025 BurgerBite. All rights reserved. Made with 🍔 and passion."
        />
      </div>
    </ThemeProvider>
  );
}