"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FeatureCardTwentyFour from '@/components/sections/feature/FeatureCardTwentyFour';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import HeroBillboardTestimonial from '@/components/sections/hero/HeroBillboardTestimonial';
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
import TextSplitAbout from '@/components/sections/about/TextSplitAbout';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="hover-magnetic"
        defaultTextAnimation="reveal-blur"
        borderRadius="rounded"
        contentWidth="mediumLarge"
        sizing="mediumSizeLargeTitles"
        background="fluid"
        cardStyle="inset"
        primaryButtonStyle="flat"
        secondaryButtonStyle="glass"
        headingFontWeight="semibold"
    >
      <ReactLenis root>
        <div id="nav" data-section="nav">
          <NavbarLayoutFloatingInline
            navItems={[
              { name: "Home", id: "hero" },
              { name: "Menu", id: "menu" },
              { name: "Gallery", id: "gallery" },
              { name: "Contact", id: "contact" },
            ]}
            brandName="DIVAN"
            button={{ text: "Book Now", href: "#contact" }}
          />
        </div>

        <div id="hero" data-section="hero">
          <HeroBillboardTestimonial
            useInvertedBackground={true}
            background={{ variant: "gradient-bars" }}
            title="DIVAN"
            description="Turkish Family Restaurant in Tashkent with authentic flavors and modern dining experience."
            testimonials={[
              { name: "Laziza Samar", handle: "@laziza", testimonial: "Заехали на обед и остались очень довольными! Любимые позиции это: чечевичный суп, салат Диван и пиде.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/maximalist-interior-design_23-2151898527.jpg?_wi=1" },
              { name: "Шахноза Анваровна", handle: "@shahnoza", testimonial: "Отличное место рекомендую посетить с семьёй с любимым человеком с родителями очень уютное место.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/top-view-food-banquet_23-2149893420.jpg" },
              { name: "Barno B", handle: "@barno", testimonial: "Еда вкусная, Ассортимент блюд тоже. Обслуживание отличное, новая национальная одежда у работников.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/toast-with-fried-egg-cream-cheese-dark-background_1150-37946.jpg?_wi=1" },
              { name: "Тима Хамидов", handle: "@tima", testimonial: "Все вкусно красивый вид зал обслуживание на высшем уровне хорошое место семейный ресторан всем советую.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/azerbaijani-lule-kebab-lavash-bread-with-onion-green-salad_114579-2911.jpg?_wi=1" },
              { name: "Жадыра", handle: "@jadyra", testimonial: "Мы гости из Казахстана. Очень вежливый персонал, чисто, уютно. Очень вкусный салат Азиатский.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/top-view-turkish-baklava-dessert-made-thin-pastry-nuts-honey_176474-3480.jpg?_wi=1" },
            ]}
            buttons={[{ text: "Reserve a Table", href: "#contact" }, { text: "View Menu", href: "#menu" }]}
            imageSrc="http://img.b2bpic.net/free-photo/maximalist-interior-design_23-2151898527.jpg?_wi=2"
            avatars={[
              { src: "http://img.b2bpic.net/free-photo/medium-shot-happy-woman-taking-photos_23-2149250046.jpg", alt: "Diner portrait" },
              { src: "http://img.b2bpic.net/free-photo/happy-woman-doing-selfie-with-modern-phone-cafe_7502-7239.jpg", alt: "Diner portrait" },
              { src: "http://img.b2bpic.net/free-photo/side-view-friends-eating-salmon-bowls_23-2150427606.jpg", alt: "Diner portrait" },
              { src: "http://img.b2bpic.net/free-photo/portrait-joyful-man-being-glad-hear-old-best-friend-mobile-phone_273609-8929.jpg", alt: "Diner portrait" },
              { src: "http://img.b2bpic.net/free-photo/confident-asian-businesswoman-showing-thumbs-up-standing-near-entrance-her-cafe-restaurant_1258-199354.jpg", alt: "Diner portrait" },
            ]}
            marqueeItems={[
              { type: "text", text: "Authentic Flavors" },
              { type: "text", text: "Family Atmosphere" },
              { type: "text", text: "Premium Turkish Cuisine" },
              { type: "text", text: "Fresh Ingredients" },
              { type: "text", text: "Tashkent Tradition" },
            ]}
          />
        </div>

        <div id="about" data-section="about">
          <TextSplitAbout
            useInvertedBackground={false}
            title="Welcome to Divan"
            description={[
              "Divan is a family-owned Turkish restaurant in Tashkent offering a premium-mid dining experience. We are famous for our generous portions, cozy atmosphere, and strong selection of authentic kebabs and traditional breakfasts.",              "Our menu brings the heart of Turkey to Mirzo Ulugbek Avenue, perfect for large companies, family gatherings, and those seeking a modern yet traditional dining ambiance."]}
          />
        </div>

        <div id="menu" data-section="menu">
          <ProductCardThree
            animationType="slide-up"
            textboxLayout="split-description"
            gridVariant="three-columns-all-equal-width"
            useInvertedBackground={true}
            products={[
              { id: "m1", name: "Turkish Breakfast Set", price: "120,000 UZS", imageSrc: "http://img.b2bpic.net/free-photo/toast-with-fried-egg-cream-cheese-dark-background_1150-37946.jpg?_wi=2" },
              { id: "m2", name: "Beef Shish Kebab", price: "95,000 UZS", imageSrc: "http://img.b2bpic.net/free-photo/azerbaijani-lule-kebab-lavash-bread-with-onion-green-salad_114579-2911.jpg?_wi=2" },
              { id: "m3", name: "Baklava Assortment", price: "60,000 UZS", imageSrc: "http://img.b2bpic.net/free-photo/top-view-turkish-baklava-dessert-made-thin-pastry-nuts-honey_176474-3480.jpg?_wi=2" },
              { id: "m4", name: "Hummus with Pita", price: "45,000 UZS", imageSrc: "http://img.b2bpic.net/free-photo/travel-concept-setup-with-traditional-turkish-breakfast_114579-180.jpg" },
              { id: "m5", name: "Mixed Grill Platter", price: "180,000 UZS", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-delicious-kebab-slate-with-salad_23-2148685501.jpg" },
              { id: "m6", name: "Lentil Soup", price: "35,000 UZS", imageSrc: "http://img.b2bpic.net/free-photo/azerbaijan-national-pastry-pakhlava-white-plate-top-view-spring-new-year-celebration-novruz-holiday_114579-7427.jpg" },
            ]}
            title="Signature Menu"
            description="Explore our curated selection of authentic Turkish flavors."
          />
        </div>

        <div id="gallery" data-section="gallery">
          <FeatureCardTwentyFour
            animationType="slide-up"
            textboxLayout="split"
            useInvertedBackground={false}
            features={[
              { id: "g1", title: "Main Branch", author: "Mirzo Ulugbek Ave", description: "Spacious two-floor dining experience.", tags: ["family-friendly", "spacious"], imageSrc: "http://img.b2bpic.net/free-photo/classic-luxury-style-restaurant-with-tables-chairs_140725-9389.jpg" },
              { id: "g2", title: "Signature Dishes", author: "Chef's Special", description: "Authentic flavors prepared with love.", tags: ["authentic", "gourmet"], imageSrc: "http://img.b2bpic.net/free-photo/chef-placing-fresh-tomatoes-salad_23-2148516911.jpg" },
              { id: "g3", title: "Local Branch", author: "Abay Street", description: "Your cozy local destination.", tags: ["modern", "cozy"], imageSrc: "http://img.b2bpic.net/free-photo/easter-interior-created-with-generative-ai-technology_185193-110030.jpg" },
            ]}
            title="Aesthetic & Atmosphere"
            description="Explore our spaces designed for your ultimate comfort."
          />
        </div>

        <div id="reviews" data-section="reviews">
          <TestimonialCardOne
            animationType="scale-rotate"
            textboxLayout="default"
            gridVariant="three-columns-all-equal-width"
            useInvertedBackground={true}
            testimonials={[
              { id: "t1", name: "Ирода Расулова", role: "Diner", company: "Divan", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/photo-attractive-black-woman-has-afro-hairstyle_273609-28702.jpg" },
              { id: "t2", name: "Asya Yanisheva", role: "Regular", company: "Divan", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/couple-enjoying-food-restaurant_23-2149269176.jpg" },
              { id: "t3", name: "Андрей", role: "Visitor", company: "Divan", rating: 4, imageSrc: "http://img.b2bpic.net/free-photo/group-young-women-having-dinner-wine-together_23-2148454135.jpg" },
              { id: "t4", name: "Динара Рахимова", role: "Regular", company: "Divan", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/people-leisure-lifestyle-concept-successful-young-man-black-hat-casual-t-shirt-having-coffee-sitting-sidewalk-restaurant_273609-1754.jpg" },
              { id: "t5", name: "Софи Ко", role: "Diner", company: "Divan", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/smiling-woman-with-olives-beer_23-2147680964.jpg" },
            ]}
            title="Voices of Divan"
            description="Hear what our guests have to say about us."
          />
        </div>

        <div id="contact" data-section="contact">
          <ContactSplitForm
            useInvertedBackground={false}
            title="Reserve Your Table"
            description="We look forward to welcoming you soon. Contact us directly or book via our bot."
            inputs={[
              { name: "name", type: "text", placeholder: "Your Name" },
              { name: "phone", type: "tel", placeholder: "Phone Number" },
            ]}
            imageSrc="http://img.b2bpic.net/free-photo/closeup-side-dish-with-vegetables-caviar-top-with-blurred-background_181624-2204.jpg"
          />
        </div>

        <div id="footer" data-section="footer">
          <FooterMedia
            imageSrc="http://img.b2bpic.net/free-photo/vintage-chairs-antique-store_23-2149640752.jpg"
            logoText="DIVAN"
            columns={[
              { title: "Branches", items: [{ label: "Mirzo Ulugbek Ave 19", href: "#" }, { label: "Abay Street 12A", href: "#" }] },
              { title: "Social", items: [{ label: "Instagram", href: "https://www.instagram.com/divan.rest/" }, { label: "Telegram Bot", href: "https://t.me/divanuzbot" }] },
              { title: "Contact", items: [{ label: "+998 90 830 22 22", href: "tel:+998908302222" }, { label: "+998 71 233 10 80", href: "tel:+998712331080" }] },
            ]}
          />
        </div>
      </ReactLenis>
    </ThemeProvider>
  );
}