"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen";
import HeroCarouselLogo from "@/components/sections/hero/heroCarouselLogo/HeroCarouselLogo";
import ProductCardTwo from "@/components/sections/product/ProductCardTwo";
import TestimonialCardThirteen from "@/components/sections/testimonial/TestimonialCardThirteen";
import ContactCTA from "@/components/sections/contact/ContactCTA";
import FooterBase from "@/components/sections/footer/FooterBase";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="mediumSmall"
      sizing="largeSmallSizeMediumTitles"
      background="aurora"
      cardStyle="gradient-bordered"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="layered"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          brandName="Pizza Parlour"
          navItems={[
            { name: "Home", id: "home" },
            { name: "Menu", id: "menu" },
            { name: "Reviews", id: "reviews" },
            { name: "Contact", id: "contact" }
          ]}
          bottomLeftText="Lahore, Pakistan"
          bottomRightText="+92 322 6263322"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroCarouselLogo
          logoText="Pizza Parlour"
          description="Experience the finest luxury pizza in Lahore. Fresh ingredients, authentic flavors, and an exceptional dining experience."
          buttons={[
            { text: "Order Now", href: "tel:+923226263322" },
            { text: "View Menu", href: "#menu" }
          ]}
          slides={[
            {
              imageSrc: "http://img.b2bpic.net/free-photo/grating-cheese_23-2147985172.jpg",              imageAlt: "luxury pizza background dark professional"
            }
          ]}
          autoplayDelay={3000}
          showDimOverlay={true}
          ariaLabel="Hero section with pizza carousel"
        />
      </div>

      <div id="menu" data-section="menu">
        <ProductCardTwo
          title="Popular Menu"
          description="Discover our signature pizzas crafted with premium ingredients and authentic flavors."
          gridVariant="four-items-2x2-equal-grid"
          animationType="blur-reveal"
          textboxLayout="default"
          useInvertedBackground={false}
          products={[
            {
              id: "malai-boti",              brand: "Signature",              name: "Malai Boti Pizza",              price: "Rs. 1,200",              rating: 5,
              reviewCount: "248",              imageSrc: "http://img.b2bpic.net/free-photo/front-view-fresh-chicken-salad-with-onions-greens-dark-background-chicken-dish-health-diet-meat-salad-food_140725-157573.jpg",              imageAlt: "malai boti pizza creamy chicken topping"
            },
            {
              id: "fajita",              brand: "Specialty",              name: "Fajita Pizza",              price: "Rs. 1,100",              rating: 5,
              reviewCount: "186",              imageSrc: "http://img.b2bpic.net/free-photo/pie-with-nuts-wooden-plate_141793-1236.jpg",              imageAlt: "fajita pizza spicy chicken premium"
            },
            {
              id: "kabab",              brand: "Premium",              name: "Kabab Pizza",              price: "Rs. 1,350",              rating: 5,
              reviewCount: "312",              imageSrc: "http://img.b2bpic.net/free-photo/side-view-man-sprinkles-kutab-with-sumach-with-yogurt_141793-3879.jpg",              imageAlt: "kabab pizza juicy meat toppings"
            },
            {
              id: "pizza-burger",              brand: "Exclusive",              name: "Pizza Burger",              price: "Rs. 950",              rating: 5,
              reviewCount: "154",              imageSrc: "http://img.b2bpic.net/free-photo/front-view-cheesy-meat-burger-with-seasonings-dark-surface-bun-sandwich-meat-fries_140725-81845.jpg",              imageAlt: "pizza burger loaded toppings premium"
            }
          ]}
          carouselMode="buttons"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardThirteen
          title="Customer Reviews"
          description="What our valued customers say about Pizza Parlour"
          textboxLayout="default"
          useInvertedBackground={false}
          showRating={true}
          animationType="blur-reveal"
          testimonials={[
            {
              id: "1",              name: "Sarah Ahmed",              handle: "@sarah_lahore",              testimonial: "Amazing taste and very economical price. Best pizza in Lahore!",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/portrait-cheerful-young-hispanic-male-blue-shirt-posing-against-white-wall_181624-44847.jpg",              imageAlt: "happy customer portrait professional headshot"
            },
            {
              id: "2",              name: "Hassan Khan",              handle: "@hassan_pk",              testimonial: "Kabab pizza is very good. Highly recommended for pizza lovers.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/girl-leather-jacket-taking-her-photos-elegant-positive-positions_114579-27851.jpg",              imageAlt: "professional headshot testimonial portrait"
            },
            {
              id: "3",              name: "Fatima Ali",              handle: "@fatima_dining",              testimonial: "Good taste and nice fast food spot. Perfect for family gatherings.",              rating: 4,
              imageSrc: "http://img.b2bpic.net/free-photo/portrait-middle-aged-hispanic-cheerful-female-with-curly-hair_181624-53321.jpg",              imageAlt: "professional portrait testimonial headshot"
            },
            {
              id: "4",              name: "Usman Malik",              handle: "@usman_food",              testimonial: "Fresh ingredients and authentic flavors. Absolutely worth it!",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/smiley-man-holding-camera_23-2148503570.jpg",              imageAlt: "professional testimonial portrait headshot"
            },
            {
              id: "5",              name: "Amira Khan",              handle: "@amira_foodie",              testimonial: "Premium quality pizza with luxury ambiance. Highly satisfied.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-model-posing_23-2149154619.jpg",              imageAlt: "professional headshot portrait testimonial"
            },
            {
              id: "6",              name: "Ahmed Raza",              handle: "@ahmed_pk",              testimonial: "Exceptional dining experience with outstanding customer service.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/modern-businesswoman_23-2148012909.jpg",              imageAlt: "testimonial portrait professional headshot"
            }
          ]}
          carouselMode="buttons"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCTA
          tag="Get in Touch"
          title="Visit Us Today"
          description="Experience luxury pizza dining at our Lahore location. Open until 3 AM for your convenience."
          buttons={[
            { text: "Call Now", href: "tel:+923226263322" },
            { text: "View Location", href: "https://maps.google.com/maps?q=2+Akbar+Road+Kachu+Pura+Road+Faiz+Bagh+Shad+Bagh+Lahore" }
          ]}
          background={{ variant: "radial-gradient" }}
          useInvertedBackground={false}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBase
          logoText="Pizza Parlour"
          copyrightText="© 2025 Pizza Parlour Lahore | All Rights Reserved"
          columns={[
            {
              title: "Navigation",              items: [
                { label: "Home", href: "#home" },
                { label: "Menu", href: "#menu" },
                { label: "Reviews", href: "#reviews" },
                { label: "Contact", href: "#contact" }
              ]
            },
            {
              title: "Contact Info",              items: [
                { label: "Phone: +92 322 6263322", href: "tel:+923226263322" },
                { label: "Address: 2 Akbar Road, Lahore", href: "https://maps.google.com/maps?q=2+Akbar+Road+Kachu+Pura+Road+Faiz+Bagh+Shad+Bagh+Lahore" },
                { label: "Open: Daily until 3 AM", href: "#" }
              ]
            },
            {
              title: "Legal",              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" },
                { label: "Disclaimer", href: "#" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}