"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
import SplitAbout from '@/components/sections/about/SplitAbout';
import FeatureCardSix from '@/components/sections/feature/FeatureCardSix';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterBase from '@/components/sections/footer/FooterBase';
import { Sparkles, CheckCircle, Heart, ChefHat, Leaf, Users, Star, MapPin, Clock, Phone } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="medium"
      sizing="medium"
      background="none"
      cardStyle="solid"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="solid"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered 
          navItems={[
            { name: "Menu", id: "product-section" },
            { name: "About", id: "about-section" },
            { name: "Reviews", id: "testimonial-section" },
            { name: "Locations", id: "contact-section" }
          ]}
          button={{
            text: "Order Online",            href: "#product-section"
          }}
          brandName="Bob's Burgers"
        />
      </div>

      <div id="hero-section" data-section="hero-section">
        <HeroBillboard
          title="Pretty Darn Good Burgers"
          description="Make it a habit. Reliable comfort food with surprisingly good taste. Fresh ingredients, friendly service, and fast pickup. Bob's Burgers is your neighborhood burger destination."
          background={{ variant: "plain" }}
          tag="Fast Pickup Available"
          tagIcon={Sparkles}
          tagAnimation="slide-up"
          buttons={[
            { text: "View Menu", href: "#product-section" },
            { text: "Order Now", href: "#product-section" }
          ]}
          buttonAnimation="slide-up"
          avatars={[
            { src: "https://img.b2bpic.net/free-photo/young-happy-woman-her-friends-having-fun-while-drinking-wine-lunch-time-home_637285-3187.jpg", alt: "Happy customer enjoying a burger" },
            { src: "https://img.b2bpic.net/free-photo/happy-waiter-serving-food-group-cheerful-friends-pub_637285-12525.jpg", alt: "Friendly service at Bob's Burgers" }
          ]}
          avatarText="Trusted by thousands of regulars"
          imageSrc="https://img.b2bpic.net/free-photo/front-view-vegetarian-burger-plate_23-2148784526.jpg"
          imageAlt="Delicious premium burger"
          mediaAnimation="slide-up"
          marqueeItems={[
            { type: "text", text: "Fresh Ingredients" },
            { type: "text", text: "Friendly Service" },
            { type: "text", text: "Fast Pickup" }
          ]}
          marqueeSpeed={30}
          showMarqueeCard={true}
          ariaLabel="Hero section featuring Bob's Burgers"
        />
      </div>

      <div id="about-section" data-section="about-section">
        <SplitAbout
          title="Our Story"
          description="Bob's Burgers has been serving the community with reliable comfort food and surprisingly good taste. We focus on fresh, locally-sourced ingredients and friendly service that keeps customers coming back. It's not just a burger—it's a habit."
          tag="Locally Sourced"
          tagIcon={Leaf}
          tagAnimation="slide-up"
          buttons={[
            { text: "View Menu", href: "#product-section" },
            { text: "Get Directions", href: "#contact-section" }
          ]}
          buttonAnimation="slide-up"
          bulletPoints={[
            {
              title: "Reliable Quality",              description: "Every burger made with care and attention to detail. Consistent quality you can count on.",              icon: CheckCircle
            },
            {
              title: "Friendly Service",              description: "Our team treats you like family. Genuine hospitality with a smile.",              icon: Users
            },
            {
              title: "Fast Pickup",              description: "Get your order ready quickly without sacrificing quality. Perfect for busy schedules.",              icon: Clock
            }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/group-happy-young-people-having-dinner-together-dining-table-focus-is-redhead-woman-taking-food-from-her-friend_637285-3752.jpg"
          imageAlt="Cozy interior of Bob's Burgers with warm lighting"
          mediaAnimation="slide-up"
          imagePosition="left"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="features-section" data-section="features-section">
        <FeatureCardSix
          title="Why Customers Come Back"
          description="We've perfected the art of making great burgers with fresh ingredients, exceptional service, and a commitment to making your visit special."
          textboxLayout="default"
          useInvertedBackground={false}
          features={[
            {
              id: 1,
              title: "Fresh, Quality Ingredients",              description: "Sourced locally whenever possible. Premium beef, fresh vegetables, and handcrafted sauces every single day.",              imageSrc: "https://img.b2bpic.net/free-photo/front-view-fresh-vegetables-with-seasonings-dark-background-ripe-salad-health-food_140725-115776.jpg",              imageAlt: "Fresh ingredients for burgers"
            },
            {
              id: 2,
              title: "Friendly Service",              description: "Our team genuinely cares. Fast, attentive service with a personal touch that makes you feel welcome.",              imageSrc: "https://img.b2bpic.net/free-photo/tables-chairs-arranged-empty-coffee-shop_107420-96463.jpg",              imageAlt: "Welcoming dining atmosphere"
            },
            {
              id: 3,
              title: "Fast Pickup & Delivery",              description: "Order ahead and get your meal quick. Perfect for lunch breaks or family dinners. Hot, fresh, on time.",              imageSrc: "https://img.b2bpic.net/free-photo/toast-many-upcoming-family-dinners_637285-12559.jpg",              imageAlt: "Ready-to-serve burgers"
            }
          ]}
        />
      </div>

      <div id="product-section" data-section="product-section">
        <ProductCardThree
          title="Our Menu"
          description="Made with fresh ingredients and served with friendly service. Choose your favorite or discover something new."
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          products={[
            {
              id: "classic-burger",              name: "Classic Bob's Burger",              price: "$12.99",              imageSrc: "https://img.b2bpic.net/free-photo/black-burger-with-beef-meat-french-fries-tasty-appetizing_482257-10359.jpg",              imageAlt: "Classic Bob's Burger with premium beef",              initialQuantity: 1
            },
            {
              id: "chicken-burger",              name: "Grilled Chicken Burger",              price: "$11.99",              imageSrc: "https://img.b2bpic.net/free-photo/tasty-healthy-burgers-with-chicken-breast_1220-7105.jpg",              imageAlt: "Grilled Chicken Burger with fresh toppings",              initialQuantity: 1
            },
            {
              id: "veggie-burger",              name: "Garden Veggie Burger",              price: "$10.99",              imageSrc: "https://img.b2bpic.net/free-photo/vegan-burgers-with-lentils-pistashios_661915-259.jpg",              imageAlt: "Garden Veggie Burger with fresh vegetables",              initialQuantity: 1
            }
          ]}
        />
      </div>

      <div id="testimonial-section" data-section="testimonial-section">
        <TestimonialCardOne
          testimonials={[
            {
              id: "testimonial-1",              name: "Sarah M.",              role: "Regular Customer",              company: "Local Community",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/low-angle-friends-shaking-hands_23-2148395404.jpg?_wi=1",              imageAlt: "Satisfied customer at Bob's Burgers"
            },
            {
              id: "testimonial-2",              name: "Mike T.",              role: "Comes for Lunch",              company: "Downtown Office",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/group-diverse-friends-are-having-dinner-together_53876-40927.jpg",              imageAlt: "Customer enjoying lunch at Bob's"
            },
            {
              id: "testimonial-3",              name: "Emma & Family",              role: "Family Diner",              company: "Neighborhood Favorite",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/low-angle-friends-shaking-hands_23-2148395404.jpg?_wi=2",              imageAlt: "Family enjoying dinner at Bob's Burgers"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          title="What Regulars Say"
          description="See why Bob's Burgers is the go-to spot for reliable, delicious burgers and friendly service."
          tag="Customer Reviews"
          tagIcon={Star}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          carouselMode="buttons"
        />
      </div>

      <div id="contact-section" data-section="contact-section">
        <ContactSplitForm
          title="Join Our Regular Customers"
          description="Sign up for our email and SMS list. Get special offers, menu updates, and be the first to know about new items. Make Bob's Burgers your habit."
          inputs={[
            { name: "email", type: "email", placeholder: "Your Email", required: true },
            { name: "phone", type: "tel", placeholder: "Your Phone (for SMS offers)", required: true }
          ]}
          textarea={{
            name: "message",            placeholder: "Any dietary preferences or special requests?",            rows: 3,
            required: false
          }}
          useInvertedBackground={false}
          imageSrc="https://img.b2bpic.net/free-photo/love-sign-wall-wedding-reception_637285-5615.jpg"
          imageAlt="Warm atmosphere at Bob's Burgers"
          mediaAnimation="slide-up"
          mediaPosition="right"
          buttonText="Sign Me Up"
          ariaLabel="Contact and signup section"
        />
      </div>

      <div id="footer-section" data-section="footer-section">
        <FooterBase
          columns={[
            {
              title: "Bob's Burgers",              items: [
                { label: "Menu", href: "#product-section" },
                { label: "About Us", href: "#about-section" },
                { label: "Reviews", href: "#testimonial-section" },
                { label: "Order Online", href: "#product-section" }
              ]
            },
            {
              title: "Visit Us",              items: [
                { label: "Get Directions", href: "#contact-section" },
                { label: "Hours", href: "#contact-section" },
                { label: "Contact", href: "#contact-section" },
                { label: "Catering", href: "#contact-section" }
              ]
            },
            {
              title: "Connect",              items: [
                { label: "Join Our List", href: "#contact-section" },
                { label: "Careers", href: "#contact-section" },
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" }
              ]
            }
          ]}
          logoText="Bob's Burgers"
          copyrightText="© 2025 Bob's Burgers | Making it a habit since day one"
          ariaLabel="Site footer"
        />
      </div>
    </ThemeProvider>
  );
}
