"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
import HeroLogoBillboard from "@/components/sections/hero/HeroLogoBillboard";
import SplitAbout from "@/components/sections/about/SplitAbout";
import FeatureCardTwentyThree from "@/components/sections/feature/FeatureCardTwentyThree";
import MetricCardSeven from "@/components/sections/metrics/MetricCardSeven";
import TestimonialCardTwo from "@/components/sections/testimonial/TestimonialCardTwo";
import ContactSplitForm from "@/components/sections/contact/ContactSplitForm";
import FooterMedia from "@/components/sections/footer/FooterMedia";
import { UtensilsCrossed, Heart, Home, Star } from "lucide-react";

export default function HomePage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-shift"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="small"
      sizing="mediumLargeSizeMediumTitles"
      background="none"
      cardStyle="gradient-radial"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="Mensa Gjyshi"
          navItems={[
            { name: "Home", id: "home" },
            { name: "About", id: "about" },
            { name: "Menu", id: "menu" },
            { name: "Reviews", id: "reviews" },
            { name: "Gallery", id: "gallery" },
            { name: "Contact", id: "contact" },
          ]}
          button={{
            text: "Book Table",
            href: "/contact",
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroLogoBillboard
          logoText="Mensa Gjyshi"
          description="Shije tradicionale shqiptare në zemër të Tiranës / Authentic Albanian Flavors in the Heart of Tirana"
          buttons={[
            {
              text: "View Menu",
              href: "/menu",
            },
            {
              text: "Book Table",
              href: "/contact",
            },
          ]}
          buttonAnimation="slide-up"
          background={{
            variant: "gradient-bars",
          }}
          imageSrc="http://img.b2bpic.net/free-photo/stone-walled-restaurant-top-lighting_140725-9731.jpg"
          imageAlt="Mensa Gjyshi Restaurant Interior"
          mediaAnimation="blur-reveal"
          frameStyle="card"
        />
      </div>

      <div id="about" data-section="about">
        <SplitAbout
          title="Rreth Nesh / About Us"
          description="Mensa Gjyshi është një restorant tradicional në Tiranë që ofron ushqim autentik shqiptar. Restoranti është i njohur për atmosferën familjare, stafin mikpritës dhe gatimet e përgatitura me përbërës të freskët. / Mensa Gjyshi is a traditional restaurant in Tirana offering authentic Albanian cuisine. Known for its family atmosphere, welcoming staff, and dishes prepared with fresh ingredients."
          tag="⭐ 4.8 / 5 - 27 Reviews"
          bulletPoints={[
            {
              title: "Ushqim Tradicional / Traditional Cuisine",
              description: "Recetat autentike të kaluar përgjatë brezave / Authentic recipes passed down through generations",
              icon: UtensilsCrossed,
            },
            {
              title: "Shërbim i Sjellshëm / Friendly Service",
              description: "Stafi ynë është i dedikuar për përvojën tuaj / Our staff is dedicated to your experience",
              icon: Heart,
            },
            {
              title: "Ambient Lokal / Warm Ambiance",
              description: "Atmosfera e ngrohtë dhe ngrohjëse / Cozy and welcoming atmosphere",
              icon: Home,
            },
          ]}
          imageSrc="http://img.b2bpic.net/free-photo/man-woman-interact-with-storekeeper_482257-76182.jpg"
          imageAlt="Mensa Gjyshi Traditional Albanian Restaurant"
          mediaAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          imagePosition="right"
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardTwentyThree
          title="Menu Highlights / Zgjedhjet e Menysë"
          description="Discover our most popular Albanian dishes / Zbuloni pjata tona më të njohura shqiptare"
          features={[
            {
              id: "qofte",
              title: "Qofte me Patate Furre / Meatballs with Baked Potatoes",
              tags: ["Main Course", "Traditional"],
              imageSrc: "http://img.b2bpic.net/free-photo/penne-pasta-with-meatballs-tomato-sauce-white-bowl_2829-7665.jpg",
            },
            {
              id: "supe",
              title: "Supë Tradicionale / Traditional Soup",
              tags: ["Starter", "Seasonal"],
              imageSrc: "http://img.b2bpic.net/free-photo/chicken-soup-with-vegetables-mushrooms-top-view-close-up-served-with-black-bread-sour-cream-garlic-healthy-hot-winter-lunch-layout-gray-background_166373-1752.jpg",
            },
            {
              id: "mish",
              title: "Mish me Salcë Shtëpie / Meat with House Sauce",
              tags: ["Main Course", "Specialty"],
              imageSrc: "http://img.b2bpic.net/free-photo/horizontal-view-red-meat-wooden-tray-garlic-green-ketchup-chopped-pepper-oil-bottle-cutting-board-dark-background_140725-140326.jpg",
            },
            {
              id: "tave",
              title: "Tavë me Perime / Baked Vegetables",
              tags: ["Side Dish", "Vegetarian"],
              imageSrc: "http://img.b2bpic.net/free-photo/baked-vegetables-baking-sheet-eggplant-zucchini-tomatoes-paprika-onions-top-view_2829-17235.jpg",
            },
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
          buttons={[
            {
              text: "View Full Menu",
              href: "/menu",
            },
          ]}
          buttonAnimation="slide-up"
          carouselMode="buttons"
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardSeven
          title="Why Choose Mensa Gjyshi / Pse të Zgjedhni Mensa Gjyshi"
          description="Trusted by locals and visitors alike / Besuar nga banorë dhe vizitorë"
          metrics={[
            {
              id: "years",
              value: "15+",
              title: "Vite Përvojë / Years of Experience",
              items: ["Autentik", "Reliable", "Trusted"],
            },
            {
              id: "reviews",
              value: "27",
              title: "Vlerësimet / Reviews",
              items: ["4.8★ Rating", "5 Stars", "Positive Feedback"],
            },
            {
              id: "daily",
              value: "100+",
              title: "Vizitorë Ditore / Daily Guests",
              items: ["Peak Hours", "Popular Spot", "Busy Restaurant"],
            },
            {
              id: "menu",
              value: "50+",
              title: "Pjata në Menu / Dishes",
              items: ["Variety", "Options", "Choices"],
            },
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          carouselMode="buttons"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwo
          title="Customer Reviews / Komente të Klientëve"
          description="See what our guests have to say / Shikoni çfarë thonë të ftuarit tanë"
          testimonials={[
            {
              id: "1",
              name: "Linda Greaves",
              role: "Visitor",
              testimonial: "Great local food. The lady serving was very kind and helpful. / Ushqim i shkëlqyer lokal. Gruaja që shërbente ishte shumë e sjellshme dhe e dobishme.",
              imageSrc: "http://img.b2bpic.net/free-photo/portrait-woman-happy-after-shopping_23-2148660676.jpg",
              icon: Star,
            },
            {
              id: "2",
              name: "Luciana González",
              role: "Traveler",
              testimonial: "Amazing local food and very friendly staff. / Ushqim lokal mahnitës dhe stafi shumë miqësor.",
              imageSrc: "http://img.b2bpic.net/free-photo/young-woman-eating-salad-cafe_1303-25278.jpg",
              icon: Star,
            },
            {
              id: "3",
              name: "Alex Millar",
              role: "Food Enthusiast",
              testimonial: "The best soup I've had in my life. / Supa më e mirë që kam pasur ndonjëherë.",
              imageSrc: "http://img.b2bpic.net/free-photo/smiling-handsome-young-man-sitting-armchair-against-grey-wall_23-2148130370.jpg",
              icon: Star,
            },
            {
              id: "4",
              name: "Maria Rossi",
              role: "Regular Guest",
              testimonial: "Authentic Albanian experience in every bite. Highly recommended! / Përvojë autentike shqiptare në çdo përgjim. Shumë i rekomanduar!",
              imageSrc: "http://img.b2bpic.net/free-photo/portrait-joyful-woman-holding-mobile-phone_171337-4024.jpg",
              icon: Star,
            },
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
          carouselMode="buttons"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Book Your Table / Rezervoni Tryezën Tuaj"
          description="Contact us to make a reservation or send us your questions / Na kontaktoni për të bërë një rezervim ose për të dërguar pyetjet tuaja"
          inputs={[
            {
              name: "name",
              type: "text",
              placeholder: "Your Name / Emri Juaj",
            },
            {
              name: "email",
              type: "email",
              placeholder: "Your Email / Email Juaj",
            },
            {
              name: "phone",
              type: "tel",
              placeholder: "+355 68 204 2026 / Phone",
            },
            {
              name: "date",
              type: "date",
              placeholder: "Preferred Date / Data Preferuar",
            },
          ]}
          textarea={{
            name: "message",
            placeholder: "Your Message / Mesazhi Juaj",
            rows: 5,
          }}
          useInvertedBackground={false}
          imageSrc="http://img.b2bpic.net/free-photo/table-set-dinning-table_1339-3461.jpg"
          imageAlt="Mensa Gjyshi Contact"
          mediaAnimation="blur-reveal"
          mediaPosition="right"
          buttonText="Send Reservation / Dërgo Rezervim"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          logoText="Mensa Gjyshi"
          copyrightText="© 2025 Mensa Gjyshi | Rruga Viktor Eftemiu 8, Tiranë"
          imageSrc="http://img.b2bpic.net/free-vector/flat-design-food-label-collection_23-2149111140.jpg"
          imageAlt="Mensa Gjyshi Restaurant Logo"
          columns={[
            {
              title: "Restaurant / Restoranti",
              items: [
                {
                  label: "Home",
                  href: "/",
                },
                {
                  label: "Menu",
                  href: "/menu",
                },
                {
                  label: "Gallery",
                  href: "/gallery",
                },
                {
                  label: "Reviews",
                  href: "#reviews",
                },
              ],
            },
            {
              title: "Contact / Kontakt",
              items: [
                {
                  label: "Phone: +355 68 204 2026",
                  href: "tel:+35568204202026",
                },
                {
                  label: "Address: Rruga Viktor Eftemiu 8, Tiranë",
                  href: "#",
                },
                {
                  label: "Get Directions",
                  href: "#",
                },
                {
                  label: "Book Table",
                  href: "/contact",
                },
              ],
            },
            {
              title: "Hours / Oraet",
              items: [
                {
                  label: "Monday - Sunday",
                  href: "#",
                },
                {
                  label: "Open - Closes 6:30 PM",
                  href: "#",
                },
                {
                  label: "Dine-in Available",
                  href: "#",
                },
                {
                  label: "Takeout Available",
                  href: "#",
                },
              ],
            },
            {
              title: "Legal / Ligjore",
              items: [
                {
                  label: "Privacy Policy",
                  href: "#",
                },
                {
                  label: "Terms of Service",
                  href: "#",
                },
                {
                  label: "Contact",
                  href: "/contact",
                },
              ],
            },
          ]}
        />
      </div>
    </ThemeProvider>
  );
}