"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import HeroBillboardRotatedCarousel from '@/components/sections/hero/HeroBillboardRotatedCarousel';
import FeatureCardTwentyFive from '@/components/sections/feature/FeatureCardTwentyFive';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { Camera, DollarSign, Leaf, MapPin, Smile } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="bounce-effect"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="small"
      sizing="mediumLargeSizeMediumTitles"
      background="blurBottom"
      cardStyle="gradient-radial"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="layered"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="Sushi Cafe"
          navItems={[
            { name: "Menu", id: "menu" },
            { name: "Why Us", id: "why-us" },
            { name: "Gallery", id: "gallery" },
            { name: "Contact", id: "contact" }
          ]}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardRotatedCarousel
          title="Fresh Sushi & Hibachi — Made Simple"
          description="Local favorite for classic rolls, hibachi, and Japanese comfort food. Premium ingredients, fast service, and authentic flavors."
          background={{ variant: "plain" }}
          tag="Order Now"
          tagAnimation="slide-up"
          buttons={[
            { text: "Call Now", href: "tel:+1234567890" },
            { text: "Order / Reserve", href: "#contact" }
          ]}
          buttonAnimation="slide-up"
          carouselItems={[
            { id: "carousel-1", imageSrc: "http://img.b2bpic.net/free-photo/set-delicious-different-sushi-wooden-plate_114579-33489.jpg?_wi=1", imageAlt: "Fresh sushi rolls professional presentation" },
            { id: "carousel-2", imageSrc: "http://img.b2bpic.net/free-photo/male-chef-kitchen-cooking_23-2148934665.jpg?_wi=1", imageAlt: "Hibachi cooking with flames" },
            { id: "carousel-3", imageSrc: "http://img.b2bpic.net/free-photo/raw-fresh-hamaji-fish-meat-sashimi-white-plate_74190-842.jpg", imageAlt: "Premium sashimi platter" },
            { id: "carousel-4", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-women-learning-make-sushi_23-2151202944.jpg", imageAlt: "Japanese comfort food rice bowls" },
            { id: "carousel-5", imageSrc: "http://img.b2bpic.net/free-photo/contemporary-house-interior-design_23-2151050941.jpg", imageAlt: "Cozy restaurant interior with warm lighting" },
            { id: "carousel-6", imageSrc: "http://img.b2bpic.net/free-photo/asian-rice-japanese-background-raw_1203-4007.jpg", imageAlt: "Complete sushi platter multiple dishes" }
          ]}
          autoPlay={true}
          autoPlayInterval={5000}
          ariaLabel="Sushi Cafe hero carousel"
        />
      </div>

      <div id="why-us" data-section="why-us">
        <FeatureCardTwentyFive
          title="Why Choose Sushi Cafe"
          description="We combine authentic Japanese cuisine with local hospitality to deliver an unforgettable dining experience."
          tag="Our Promise"
          tagAnimation="slide-up"
          features={[
            {
              title: "Fresh Ingredients Daily",              description: "Premium fish and vegetables sourced fresh every morning. We never compromise on quality.",              icon: Leaf,
              mediaItems: [
                { imageSrc: "http://img.b2bpic.net/free-photo/raw-fish-market_1368-6217.jpg", imageAlt: "Fresh quality ingredients" },
                { imageSrc: "http://img.b2bpic.net/free-photo/set-delicious-different-sushi-wooden-plate_114579-33489.jpg?_wi=2", imageAlt: "Quality sushi presentation" }
              ]
            },
            {
              title: "Fast & Friendly Service",              description: "Experienced team dedicated to making your meal special. Quick turnaround for takeout orders.",              icon: Smile,
              mediaItems: [
                { imageSrc: "http://img.b2bpic.net/free-photo/close-up-happy-people-having-fun_23-2149152868.jpg", imageAlt: "Friendly restaurant service" },
                { imageSrc: "http://img.b2bpic.net/free-photo/cozy-japanese-street-scene-night_23-2152023669.jpg?_wi=1", imageAlt: "Welcoming restaurant atmosphere" }
              ]
            },
            {
              title: "Affordable Pricing",              description: "Generous portions and fair prices. Lunch specials and combo deals available daily.",              icon: DollarSign,
              mediaItems: [
                { imageSrc: "http://img.b2bpic.net/free-photo/side-view-friends-eating-restaurant_23-2150491790.jpg", imageAlt: "Value pricing menu" },
                { imageSrc: "http://img.b2bpic.net/free-photo/tempura-maki-with-chicken-avocado-side-view_141793-4538.jpg?_wi=1", imageAlt: "Quality portion size" }
              ]
            },
            {
              title: "Conveniently Local",              description: "Easy parking and walkable location. Your neighborhood sushi spot for takeout or dine-in.",              icon: MapPin,
              mediaItems: [
                { imageSrc: "http://img.b2bpic.net/free-photo/three-friends-drinking-beer_23-2147681013.jpg", imageAlt: "Local convenient location" },
                { imageSrc: "http://img.b2bpic.net/free-photo/chef-preparing-recipe_23-2148145586.jpg?_wi=1", imageAlt: "Accessible dining environment" }
              ]
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          buttons={[
            { text: "View Full Menu", href: "#menu" }
          ]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="menu" data-section="menu">
        <ProductCardOne
          title="Menu Highlights"
          description="Explore our most popular dishes, crafted with care and authentic Japanese techniques."
          tag="Featured Items"
          tagAnimation="slide-up"
          products={[
            { id: "california-roll", name: "California Roll", price: "$12.95", imageSrc: "http://img.b2bpic.net/free-photo/tempura-maki-with-chicken-avocado-side-view_141793-4538.jpg?_wi=2", imageAlt: "California roll sushi" },
            { id: "spicy-tuna", name: "Spicy Tuna Roll", price: "$13.95", imageSrc: "http://img.b2bpic.net/free-photo/hands-wrapping-toasted-seaweed_23-2148259235.jpg", imageAlt: "Spicy tuna roll sushi" },
            { id: "salmon-sashimi", name: "Salmon Sashimi (6 pc)", price: "$16.95", imageSrc: "http://img.b2bpic.net/free-photo/nigiri-sushi_1203-9602.jpg", imageAlt: "Premium salmon sashimi" },
            { id: "hibachi-chicken", name: "Hibachi Chicken Plate", price: "$18.95", imageSrc: "http://img.b2bpic.net/free-photo/male-chef-kitchen-cooking_23-2148934665.jpg?_wi=2", imageAlt: "Hibachi chicken with vegetables" },
            { id: "lunch-combo", name: "Lunch Combo Special", price: "$14.95", imageSrc: "http://img.b2bpic.net/free-photo/tempura-maki-with-chicken-avocado-side-view_141793-4538.jpg?_wi=3", imageAlt: "Lunch combo plate with miso soup" },
            { id: "edamame", name: "Edamame (Appetizer)", price: "$5.95", imageSrc: "http://img.b2bpic.net/free-photo/arrangement-with-vegetarian-food-plate_23-2148899004.jpg", imageAlt: "Steamed edamame appetizer" }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          buttons={[
            { text: "Order Now", href: "#contact" }
          ]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardOne
          title="Loved by Locals"
          description="Real reviews from customers who trust Sushi Cafe for authentic flavors and friendly service."
          tag="Customer Reviews"
          tagAnimation="slide-up"
          testimonials={[
            { id: "1", name: "Sarah Johnson", role: "Regular Customer", company: "Local Community", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/beautiful-young-european-woman-with-charismatic-smile-laughing-cheerfully_273609-9262.jpg", imageAlt: "professional headshot man smiling" },
            { id: "2", name: "Michael Chen", role: "Takeout Enthusiast", company: "Downtown Workers", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/portrait-beauty-businesswoman-leaning-against-brick-wall_613910-773.jpg", imageAlt: "professional headshot woman portrait" },
            { id: "3", name: "David Martinez", role: "Food Critic", company: "Local Blogger", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/man-smiling-with-arms-crossed_1187-3243.jpg", imageAlt: "diverse professional headshot male" },
            { id: "4", name: "Emily Rodriguez", role: "Family Dining", company: "Community Member", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/front-view-smiley-business-woman-with-sunglasses_23-2148603032.jpg", imageAlt: "professional woman business portrait" }
          ]}
          gridVariant="four-items-2x2-equal-grid"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          buttons={[
            { text: "See All Reviews", href: "#contact" }
          ]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="gallery" data-section="gallery">
        <TestimonialAboutCard
          tag="Gallery"
          title="Experience Sushi Cafe"
          description="Step into our welcoming restaurant and discover the perfect blend of authentic Japanese cuisine and warm hospitality."
          subdescription="From our cozy dining room to our open sushi bar, every detail is crafted for your comfort and enjoyment."
          icon={Camera}
          imageSrc="http://img.b2bpic.net/free-photo/cozy-japanese-street-scene-night_23-2152023669.jpg?_wi=2"
          imageAlt="Sushi Cafe restaurant interior"
          mediaAnimation="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Get in Touch"
          title="Ready to Order or Reserve?"
          description="Contact us today for takeout, reservations, or catering inquiries. We're here to serve you."
          background={{ variant: "plain" }}
          useInvertedBackground={false}
          inputPlaceholder="Enter your email"
          buttonText="Get Started"
          termsText="We'll send you our menu, specials, and reservation options."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="http://img.b2bpic.net/free-photo/chef-preparing-recipe_23-2148145586.jpg?_wi=2"
          imageAlt="Sushi Cafe restaurant"
          logoText="Sushi Cafe"
          copyrightText="© 2025 Sushi Cafe. All rights reserved."
          columns={[
            {
              title: "Menu",              items: [
                { label: "Sushi Rolls", href: "#menu" },
                { label: "Sashimi", href: "#menu" },
                { label: "Hibachi", href: "#menu" },
                { label: "Specials", href: "#menu" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "#why-us" },
                { label: "Gallery", href: "#gallery" },
                { label: "Reviews", href: "#testimonials" },
                { label: "Contact", href: "#contact" }
              ]
            },
            {
              title: "Contact",              items: [
                { label: "Phone: (555) 123-4567", href: "tel:+15551234567" },
                { label: "Email: info@sushicafe.com", href: "mailto:info@sushicafe.com" },
                { label: "Hours: Tue-Sun 11am-10pm", href: "#" },
                { label: "Closed Mondays", href: "#" }
              ]
            },
            {
              title: "Follow Us",              items: [
                { label: "Instagram", href: "https://instagram.com" },
                { label: "Facebook", href: "https://facebook.com" },
                { label: "Google Maps", href: "https://maps.google.com" },
                { label: "Yelp", href: "https://yelp.com" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}