"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from "@/components/navbar/NavbarStyleApple/NavbarStyleApple";
import HeroSplit from "@/components/sections/hero/HeroSplit";
import SocialProofOne from "@/components/sections/socialProof/SocialProofOne";
import SplitAbout from "@/components/sections/about/SplitAbout";
import ProductCardTwo from "@/components/sections/product/ProductCardTwo";
import FeatureCardSixteen from "@/components/sections/feature/FeatureCardSixteen";
import TestimonialCardOne from "@/components/sections/testimonial/TestimonialCardOne";
import FaqDouble from "@/components/sections/faq/FaqDouble";
import FooterCard from "@/components/sections/footer/FooterCard";
import { Star, Flame, DollarSign, Users, Wallet, Leaf, UtensilsCrossed, Package } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="background-highlight"
      borderRadius="rounded"
      contentWidth="small"
      sizing="largeSmall"
      background="grid"
      cardStyle="gradient-bordered"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="Loras Family Restaurant"
          navItems={[
            { name: "What to Order", id: "what-to-order" },
            { name: "Menu", id: "menu" },
            { name: "Visit", id: "visit" },
            { name: "Reviews", id: "reviews" },
            { name: "Call Now", id: "tel:+1-555-0100" },
          ]}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplit
          title="The burger you've been trying to find"
          description="Loras Family Restaurant: cozy, nostalgic, and shockingly affordable. Fresh-made classics, friendly service, family-sized portions. Just cash or check—and worth every penny."
          tag="Local Gem Diner"
          tagIcon={Star}
          tagAnimation="slide-up"
          background={{ variant: "grid" }}
          imageSrc="http://img.b2bpic.net/free-photo/side-view-hamburger-grilled-beef-patty-with-melted-cheese-red-onion-tomato-lettuce-burger-buns-onion-rings-table_141793-4952.jpg"
          imageAlt="Signature burger with onion rings"
          mediaAnimation="slide-up"
          imagePosition="right"
          buttons={[
            { text: "Get Directions", href: "#visit" },
            { text: "Call Now", href: "tel:+1-555-0100" },
          ]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="social-proof" data-section="social-proof">
        <SocialProofOne
          title="What regulars say"
          description="Trusted by locals and travelers for fresh food, great prices, and genuine hospitality."
          textboxLayout="default"
          useInvertedBackground={false}
          tag="Reviews"
          names={[
            "\"Best burger ever\"",            "\"Feels like home\"",            "\"Great food, great price\"",            "\"Friendly, fast service\"",            "\"Wildcat burger—only $4\"",            "\"Pineapple cake perfection\"",            "\"Where locals eat\""]}
          speed={35}
          showCard={true}
        />
      </div>

      <div id="about" data-section="about">
        <SplitAbout
          title="The kind of place that feels like America"
          description="Loras is the local gem you hear about from someone who really knows food. A small, cozy diner with welcoming patrons, kind service, and simple meals done right. From fresh, juicy burgers to comfort-food classics, it's the kind of spot that turns first-timers into regulars."
          tag="Our Story"
          textboxLayout="default"
          useInvertedBackground={true}
          imageSrc="http://img.b2bpic.net/free-photo/pretty-happy-blonde-hipster-woman-eating-tasty-raspberry-dessert-cake-sitting-cute-bakery-enjoy-her-meal-sweet-breakfast-diet-nutrition-concept_291049-2281.jpg"
          imageAlt="Cozy diner interior with vintage booths"
          mediaAnimation="blur-reveal"
          imagePosition="right"
          bulletPoints={[
            {
              title: "Fresh, Juicy Burgers",              description: "House-made patties grilled to perfection—the signature everyone raves about.",              icon: Flame,
            },
            {
              title: "Unbeatable Prices",              description: "Three people's breakfast for just over $15. Prices that feel like a throwback.",              icon: DollarSign,
            },
            {
              title: "Family Service",              description: "Friendly, attentive staff who treat you like you belong here.",              icon: Users,
            },
            {
              title: "Cash or Check Only",              description: "Simple, no fees, no complications. Just good food at great prices.",              icon: Wallet,
            },
          ]}
          buttons={[{ text: "View Menu", href: "#menu" }]}
        />
      </div>

      <div id="what-to-order" data-section="what-to-order">
        <ProductCardTwo
          title="Don't overthink it—start with these"
          description="The signatures everyone talks about. Order with confidence."
          tag="Most Popular"
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="slide-up"
          gridVariant="three-columns-all-equal-width"
          products={[
            {
              id: "burger",              brand: "Signature",              name: "The Burger Everyone Talks About",              price: "$7.50",              rating: 5,
              reviewCount: "300+",              imageSrc: "http://img.b2bpic.net/free-photo/side-view-cheeseburger-grilled-beef-patty-with-cheese-lettuce-burger-buns_141793-4806.jpg",              imageAlt: "Fresh juicy burger"},
            {
              id: "wildcat",              brand: "Local Favorite",              name: "Wildcat Burger",              price: "$4.00",              rating: 5,
              reviewCount: "250+",              imageSrc: "http://img.b2bpic.net/free-photo/knife-stuck-burger-metal-tray-roof_181624-2170.jpg",              imageAlt: "Wildcat burger with all the fixings"},
            {
              id: "pizza-dog",              brand: "Unique Creation",              name: "Pizza Dog",              price: "$6.00",              rating: 5,
              reviewCount: "200+",              imageSrc: "http://img.b2bpic.net/free-photo/arrangement-with-hot-dog-basket-sauce-bottles_23-2148314158.jpg",              imageAlt: "Pizza dog specialty item"},
            {
              id: "chef-salad",              brand: "Light Option",              name: "Chef Salad + Cheese Balls",              price: "$8.50",              rating: 5,
              reviewCount: "150+",              imageSrc: "http://img.b2bpic.net/free-photo/young-man-chef-cooking-healthy-salad_1220-3977.jpg",              imageAlt: "Chef salad with cheese balls"},
            {
              id: "sides",              brand: "Sides",              name: "Onion Rings + Pasta Salad",              price: "$5.50",              rating: 5,
              reviewCount: "280+",              imageSrc: "http://img.b2bpic.net/free-photo/fried-onion-rings-table_140725-6647.jpg",              imageAlt: "Golden onion rings and pasta salad"},
            {
              id: "cake",              brand: "Dessert",              name: "Upside-Down Pineapple Cake",              price: "$3.50",              rating: 5,
              reviewCount: "320+",              imageSrc: "http://img.b2bpic.net/free-photo/pineapple-strawberries-composition_23-2147717556.jpg",              imageAlt: "Moist upside-down pineapple cake"},
          ]}
          buttons={[{ text: "Call to Ask Today's Specials", href: "tel:+1-555-0100" }]}
        />
      </div>

      <div id="menu" data-section="menu">
        <SplitAbout
          title="Menu Highlights"
          description="Full menu available in-house—ask about specials. Items and availability can vary."
          tag="What We Serve"
          textboxLayout="default"
          useInvertedBackground={false}
          imageSrc="http://img.b2bpic.net/free-photo/pretty-happy-blonde-hipster-woman-eating-tasty-raspberry-dessert-cake-sitting-cute-bakery-enjoy-her-meal-sweet-breakfast-diet-nutrition-concept_291049-2281.jpg"
          imageAlt="Diner atmosphere"
          mediaAnimation="opacity"
          imagePosition="left"
          bulletPoints={[
            {
              title: "Burgers & Sandwiches",              description: "Classic hamburgers, specialty burgers, hot dogs (including the Pizza Dog)",              icon: Flame,
            },
            {
              title: "Salads & Lighter",              description: "Chef Salad, Salmon Salad (when available), fresh vegetables",              icon: Leaf,
            },
            {
              title: "Family Favorites",              description: "Fish Sticks, Butter Pasta, comfort plates and seasonal specials",              icon: UtensilsCrossed,
            },
            {
              title: "Sides & Extras",              description: "Onion Rings, Pasta Salad, rotating homestyle sides",              icon: Package,
            },
          ]}
          buttons={[{ text: "Get Directions", href: "#visit" }]}
        />
      </div>

      <div id="breakfast" data-section="breakfast">
        <FeatureCardSixteen
          title="Breakfast that feels affordable"
          description="Pancakes, classic breakfast plates, and the kind of service where your coffee never sits empty. Prices that won't break the bank."
          tag="Morning Value"
          textboxLayout="default"
          useInvertedBackground={true}
          animationType="slide-up"
          negativeCard={{
            items: [
              "Chain restaurant prices",              "Rushed service",              "Mediocre quality"],
          }}
          positiveCard={{
            items: [
              "Three people's breakfast for just over $15",              "Attentive, unhurried service",              "Fresh, made-to-order meals"],
          }}
          buttons={[{ text: "Call for Breakfast Hours", href: "tel:+1-555-0100" }]}
        />
      </div>

      <div id="reviews" data-section="reviews">
        <TestimonialCardOne
          title="What customers really say"
          description="Real feedback from people who've made Loras their spot."
          tag="Customer Love"
          textboxLayout="default"
          useInvertedBackground={false}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          testimonials={[
            {
              id: "1",              name: "Sarah M.",              role: "Local Regular",              company: "Hometown",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/happy-businessman-smiling-camera_1163-4660.jpg",              imageAlt: "Sarah"},
            {
              id: "2",              name: "Marcus J.",              role: "Motorcycle Traveler",              company: "Cross-Country Trip",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/young-businesswoman-portrait-office_1262-1506.jpg",              imageAlt: "Marcus"},
            {
              id: "3",              name: "Emma K.",              role: "Family Parent",              company: "Weekend Outing",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/happy-businessman-smiling-camera_1163-4660.jpg",              imageAlt: "Emma"},
            {
              id: "4",              name: "David L.",              role: "Business Owner",              company: "Daily Customer",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/smiling-young-businessman-suit-looking-camera-meeting_1163-4654.jpg",              imageAlt: "David"},
            {
              id: "5",              name: "Jennifer P.",              role: "First-Time Visitor",              company: "Now a Regular",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/happy-businessman-smiling-camera_1163-4660.jpg",              imageAlt: "Jennifer"},
            {
              id: "6",              name: "Tom R.",              role: "Food Enthusiast",              company: "Local Favorite",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/happy-businessman-smiling-camera_1163-4660.jpg",              imageAlt: "Tom"},
          ]}
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqDouble
          title="Frequently Asked Questions"
          description="Everything you need to know before your first (or fiftieth) visit."
          tag="Getting Ready"
          textboxLayout="default"
          useInvertedBackground={true}
          faqsAnimation="slide-up"
          animationType="smooth"
          faqs={[
            {
              id: "1",              title: "Do you accept credit cards?",              content: "<strong>No—cash or check only.</strong> This keeps our prices low and overhead simple. We recommend planning ahead."},
            {
              id: "2",              title: "What's the must-try dish?",              content: "The hamburger is our legend, and the Pizza Dog has a loyal following. Start there and work your way through the menu."},
            {
              id: "3",              title: "Is it good for families?",              content: "Absolutely. Family-friendly menu, generous portions, and welcoming service. Kids love it here."},
            {
              id: "4",              title: "Do you have desserts?",              content: "Yes—ask about our upside-down pineapple cake. It's moist, sweet, and the perfect finish."},
            {
              id: "5",              title: "Do you offer daily specials?",              content: "Often. Call ahead if you want to know what's featured today—specials change based on fresh availability."},
            {
              id: "6",              title: "What are your hours?",              content: "Mon–Sat: [insert hours] | Sun: [insert hours]. Call if you're planning a special visit."},
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterCard
          logoText="Loras Family Restaurant"
          copyrightText="© 2025 Loras Family Restaurant | Fresh • Affordable • Family-Friendly | Cash or Check Only"
        />
      </div>
    </ThemeProvider>
  );
}