"use client";

import ReactLenis from "lenis/react";
import HeroLogo from "@/components/sections/hero/HeroLogo";
import SplitAbout from "@/components/sections/about/SplitAbout";
import FeatureCardSeven from "@/components/sections/feature/FeatureCardSeven";
import TestimonialCardFifteen from "@/components/sections/testimonial/TestimonialCardFifteen";
import ContactSplit from "@/components/sections/contact/ContactSplit";
import FooterSimple from "@/components/sections/footer/FooterSimple";
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import { Utensils } from "lucide-react";

export default function FedericoRestaurantPage() {
    return (
        <ThemeProvider
            defaultButtonVariant="icon-arrow"
            defaultTextAnimation="entrance-slide"
            borderRadius="rounded"
            contentWidth="medium"
            sizing="medium"
            background="none"
            cardStyle="solid"
            primaryButtonStyle="shadow"
            secondaryButtonStyle="solid"
            headingFontWeight="medium"
        >
            <ReactLenis root>
                <div id="nav" data-section="nav">
                    <NavbarLayoutFloatingInline
                        navItems={[
                            { name: "Overview", id: "overview" },
                            { name: "Menu", id: "menu" },
                            { name: "Reviews", id: "reviews" },
                            { name: "About", id: "about" },
                            { name: "Contact", id: "contact" },
                        ]}
                        brandName="FEDERICO"
                        button={{ text: "Reservations", href: "#contact" }}
                    />
                </div>
                <div id="overview" data-section="overview">
                    <HeroLogo
                        logoText="FEDERICO"
                        description="Authentic Italian flavors in the heart of Tunis. Join us for a refined culinary experience at Immeuble El Majd."
                        buttons={[
                            { text: "View Menu", href: "#menu" },
                            { text: "Directions", href: "#contact" },
                        ]}
                        imageSrc="http://img.b2bpic.net/free-photo/waiter-is-serving-dinner-two-pretty-friends-women-elegant-restaurant_8353-10575.jpg"
                        imageAlt="Elegant Italian restaurant dining"
                        showDimOverlay={true}
                    />
                </div>
                <div id="about" data-section="about">
                    <SplitAbout
                        title="We craft authentic culinary masterpieces"
                        description="Using the finest Mediterranean ingredients for a unique experience."
                        buttons={[{ text: "Learn Our Story", href: "#about" }]}
                        useInvertedBackground={false}
                        mediaAnimation="slide-up"
                        textboxLayout="inline-image"
                        bulletPoints={[
                            { title: "Authentic Recipes", description: "Generations of Italian tradition." },
                            { title: "Fresh Ingredients", description: "Sourced from the best local providers." }
                        ]}
                    />
                </div>
                <div id="menu" data-section="menu">
                    <FeatureCardSeven
                        tag="Menu"
                        tagIcon={Utensils}
                        title="A Taste of Italy"
                        description="Traditional recipes prepared with modern elegance and fresh local produce."
                        animationType="slide-up"
                        textboxLayout="default"
                        useInvertedBackground={false}
                        features={[
                            { title: "Handmade Pasta", description: "Fresh daily pasta crafted using authentic techniques.", imageSrc: "http://img.b2bpic.net/free-photo/pasta-near-eggs-flour_23-2147849810.jpg", imageAlt: "Pasta" },
                            { title: "Wood-Fired Pizza", description: "Authentic thin-crust pizzas with premium Italian toppings.", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-chef-baking-pizza-wood-fired-oven_52683-106696.jpg", imageAlt: "Pizza" },
                            { title: "Exquisite Seafood", description: "Fresh catch of the day prepared with Mediterranean herbs.", imageSrc: "http://img.b2bpic.net/free-photo/flat-lay-mussels-white-sauce-with-tablecloth-cutlery_23-2148234931.jpg", imageAlt: "Seafood" }
                        ]}
                    />
                </div>
                <div id="reviews" data-section="reviews">
                    <TestimonialCardFifteen
                        testimonial="Truly authentic flavors that transport you directly to Rome. Exceptional service and a beautiful setting."
                        rating={5}
                        author="Sami Ben Youssef"
                        avatars={[{ src: "http://img.b2bpic.net/free-photo/close-up-young-businesswoman_23-2149153828.jpg", alt: "Sami" }]}
                        ratingAnimation="slide-up"
                        avatarsAnimation="slide-up"
                        useInvertedBackground={false}
                    />
                </div>
                <div id="contact" data-section="contact">
                    <ContactSplit
                        tag="Reservations"
                        title="Connect With Us"
                        description="Need a reservation or have an inquiry? Get in touch today."
                        background={{ variant: "plain" }}
                        useInvertedBackground={false}
                        imageSrc="http://img.b2bpic.net/free-photo/view-table-arrangement-by-wedding-planner_23-2150167204.jpg"
                        imageAlt="Contact Us"
                        mediaAnimation="slide-up"
                        mediaPosition="right"
                    />
                </div>
                <FooterSimple
                    columns={[
                        { title: "Federico", items: [{ label: "Home", href: "/" }, { label: "Contact", href: "#contact" }] }
                    ]}
                    bottomLeftText="© 2025 FEDERICO Restaurant."
                    bottomRightText="1 Rue du Lac de Constance, Tunis."
                />
            </ReactLenis>
        </ThemeProvider>
    );
}