"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import HeroBillboardGallery from '@/components/sections/hero/HeroBillboardGallery';
import InlineImageSplitTextAbout from '@/components/sections/about/InlineImageSplitTextAbout';
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="icon-arrow"
        defaultTextAnimation="background-highlight"
        borderRadius="rounded"
        contentWidth="compact"
        sizing="mediumLargeSizeMediumTitles"
        background="fluid"
        cardStyle="glass-depth"
        primaryButtonStyle="gradient"
        secondaryButtonStyle="radial-glow"
        headingFontWeight="medium"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingOverlay
      navItems={[
        {
          name: "Home",
          id: "#hero",
        },
        {
          name: "About",
          id: "#about",
        },
        {
          name: "Menu",
          id: "#menu",
        },
        {
          name: "Gallery",
          id: "#gallery",
        },
        {
          name: "Reviews",
          id: "#testimonials",
        },
        {
          name: "Reservations",
          id: "#contact",
        },
      ]}
      brandName="Obaw Restaurant"
      button={{
        text: "Reserve Now",
        href: "#contact",
      }}
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroBillboardGallery
      background={{
        variant: "radial-gradient",
      }}
      title="Obaw Restaurant"
      description="An Unforgettable Culinary Journey with Breathtaking Views. Experience the authentic tastes of Kurdistan and beyond, crafted with passion and served with unparalleled hospitality."
      buttons={[
        {
          text: "Reserve a Table",
          href: "#contact",
        },
      ]}
      buttonAnimation="slide-up"
      mediaItems={[
        {
          imageSrc: "http://img.b2bpic.net/free-photo/couple-having-dinner-restaurant_23-2148018852.jpg",
          imageAlt: "Elegant restaurant interior with warm lighting",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/red-brown-restaurant_400718-10.jpg",
          imageAlt: "A gourmet dish presentation",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/slice-cake-with-cocoa-cookies-white-plate_114579-19145.jpg",
          imageAlt: "Luxurious dining table setting",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/lamb-bone-covered-with-dough-finely-cooked_114579-2429.jpg",
          imageAlt: "Panoramic view from the restaurant",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-male-chef-preparing-spaghetti-dish_23-2147863804.jpg",
          imageAlt: "Chef meticulously plating a dish",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/portrait-cute-shy-young-asian-woman-standing-front-cafe-entrance-touching-her-neck_1258-199358.jpg",
          imageAlt: "Outdoor dining area with a scenic backdrop",
        },
      ]}
      mediaAnimation="slide-up"
    />
  </div>

  <div id="about" data-section="about">
      <InlineImageSplitTextAbout
      useInvertedBackground={false}
      heading={[
        {
          type: "text",
          content: "Our Legacy of Flavor & Hospitality",
        },
      ]}
      buttons={[
        {
          text: "Discover Our Story",
          href: "#",
        },
      ]}
    />
  </div>

  <div id="menu" data-section="menu">
      <ProductCardTwo
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={true}
      products={[
        {
          id: "starter-1",
          brand: "Starters",
          name: "Smoked Lamb Carpaccio",
          price: "IQD 15,000",
          rating: 5,
          reviewCount: "22",
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-cooked-squashes-designed-meal-inside-plate-grey-surface_140725-89993.jpg",
          imageAlt: "Smoked Lamb Carpaccio",
        },
        {
          id: "starter-2",
          brand: "Starters",
          name: "Aubergine & Halloumi Rolls",
          price: "IQD 12,000",
          rating: 4,
          reviewCount: "18",
          imageSrc: "http://img.b2bpic.net/free-photo/brussels-sprout-soup-pots_23-2148486564.jpg",
          imageAlt: "Aubergine & Halloumi Rolls",
        },
        {
          id: "main-1",
          brand: "Mains",
          name: "Obaw Special Kebab Platter",
          price: "IQD 25,000",
          rating: 5,
          reviewCount: "35",
          imageSrc: "http://img.b2bpic.net/free-photo/gourmet-seared-duck-breast-with-roasted-vegetables-rich-sauce_84443-72273.jpg",
          imageAlt: "Obaw Special Kebab Platter",
        },
        {
          id: "main-2",
          brand: "Mains",
          name: "Pan-Seared Sea Bass",
          price: "IQD 30,000",
          rating: 5,
          reviewCount: "28",
          imageSrc: "http://img.b2bpic.net/free-photo/vertical-view-delicious-meatball-meal-fresh-vegetables-fallen-oil-bottle-black-background_140725-159848.jpg",
          imageAlt: "Pan-Seared Sea Bass",
        },
        {
          id: "dessert-1",
          brand: "Desserts",
          name: "Saffron Pistachio Baklava",
          price: "IQD 8,000",
          rating: 5,
          reviewCount: "20",
          imageSrc: "http://img.b2bpic.net/free-photo/traditional-italian-dessert-tiramisu-ceramic-plate-top-view_114579-9835.jpg",
          imageAlt: "Saffron Pistachio Baklava",
        },
        {
          id: "drink-1",
          brand: "Drinks",
          name: "Pomegranate & Rose Refresher",
          price: "IQD 7,000",
          rating: 4,
          reviewCount: "15",
          imageSrc: "http://img.b2bpic.net/free-photo/glass-raspberry-cocktail-with-ice_140725-4866.jpg",
          imageAlt: "Pomegranate & Rose Refresher",
        },
      ]}
      title="Our Exquisite Menu"
      description="A symphony of traditional Kurdish flavors and international gourmet creations, meticulously crafted to delight your palate. Each dish tells a story of heritage and innovation."
    />
  </div>

  <div id="gallery" data-section="gallery">
      <ProductCardTwo
      textboxLayout="default"
      gridVariant="bento-grid"
      useInvertedBackground={false}
      products={[
        {
          id: "gallery-1",
          brand: "Cuisine",
          name: "Gourmet Mezze Platter",
          price: "",
          rating: 0,
          reviewCount: "",
          imageSrc: "http://img.b2bpic.net/free-photo/green-salad-lettuce-corns-bell-peppers-parsley-compote-side-view_140725-11264.jpg",
          imageAlt: "Gourmet Mezze Platter",
        },
        {
          id: "gallery-2",
          brand: "Ambiance",
          name: "Warm & Rustic Interior",
          price: "",
          rating: 0,
          reviewCount: "",
          imageSrc: "http://img.b2bpic.net/free-photo/interior-cafe-with-brick-walls_53876-42535.jpg",
          imageAlt: "Warm & Rustic Interior",
        },
        {
          id: "gallery-3",
          brand: "Cuisine",
          name: "Traditional Lamb Kuzi",
          price: "",
          rating: 0,
          reviewCount: "",
          imageSrc: "http://img.b2bpic.net/free-photo/high-angle-ladle-bowl-with-bean-soup_23-2148660398.jpg",
          imageAlt: "Traditional Lamb Kuzi",
        },
        {
          id: "gallery-4",
          brand: "Ambiance",
          name: "Scenic Outdoor Terrace",
          price: "",
          rating: 0,
          reviewCount: "",
          imageSrc: "http://img.b2bpic.net/free-photo/beautiful-girl-with-long-hair-sits-table-terrace-cafe-she-wears-white-dress-with-bare-shoulders-red-lipstick-she-is-smiling-camera_197531-657.jpg",
          imageAlt: "Scenic Outdoor Terrace",
        },
        {
          id: "gallery-5",
          brand: "Cuisine",
          name: "Exotic Fruit Dessert",
          price: "",
          rating: 0,
          reviewCount: "",
          imageSrc: "http://img.b2bpic.net/free-photo/fruit-salad-blue-bowl-wooden-table_123827-32690.jpg",
          imageAlt: "Exotic Fruit Dessert",
        },
        {
          id: "gallery-6",
          brand: "Drinks",
          name: "Signature Crafted Cocktails",
          price: "",
          rating: 0,
          reviewCount: "",
          imageSrc: "http://img.b2bpic.net/free-photo/selective-closeup-shot-coffee-with-latte-art-black-ceramic-cup-wooden-surface_181624-3880.jpg",
          imageAlt: "Signature Crafted Cocktails",
        },
        {
          id: "gallery-7",
          brand: "Cuisine",
          name: "Pistachio Crusted Fish",
          price: "",
          rating: 0,
          reviewCount: "",
          imageSrc: "http://img.b2bpic.net/free-photo/grilled-salmon-steak_1203-3045.jpg",
          imageAlt: "Pistachio Crusted Fish",
        },
      ]}
      title="A Glimpse of Our Ambiance & Dishes"
      description="Step into the world of Obaw Restaurant through captivating visuals. From the artfully presented dishes to the serene dining spaces, every image tells a story of an unforgettable experience."
    />
  </div>

  <div id="social-proof" data-section="social-proof">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={true}
      names={[
        "Gourmet Magazine",
        "Local Food Critics",
        "Hospitality Awards",
        "Rawanduz Tourism Board",
        "Artisan Producers Collective",
        "Erbil Fine Dining Guide",
        "Chef's Guild of Kurdistan",
      ]}
      title="Esteemed Recognitions & Partnerships"
      description="Proudly acknowledged by leading culinary guides and collaborating with premium local suppliers, Obaw Restaurant is committed to excellence."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardSix
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      testimonials={[
        {
          id: "1",
          name: "Faryal Minhas",
          handle: "@FaryalM",
          testimonial: "A new restaurant. We had breakfast which was excellent. The view from the restaurant is worth everything, just breathtaking. Would definitely go back and recommend.",
          imageSrc: "http://img.b2bpic.net/free-photo/couple-having-date-together-luxurious-restaurant_23-2150517423.jpg",
          imageAlt: "Customer Faryal Minhas",
        },
        {
          id: "2",
          name: "Black Pearl",
          handle: "@BlackPearl",
          testimonial: "I went to Obaw Restaurant for breakfast. The view of Rawanduz was amazing, and the place had a great atmosphere. The food was delicious, but it took a while to be served. Still, I enjoyed my time there.",
          imageSrc: "http://img.b2bpic.net/free-photo/group-young-people-enjoying-dinner-together_23-2148454092.jpg",
          imageAlt: "Customer Black Pearl",
        },
        {
          id: "3",
          name: "Hoshang Kanabi",
          handle: "@HoshangK",
          testimonial: "This restaurant offers an incredible dining experience with a breathtaking view of the Rwanduz Canyon. We visited for breakfast, and it was excellent. The best part? It only cost 12,000 IQD for breakfast for two people—great value for such a wonderful setting!",
          imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-young-professional-male-chef-with-his-prepared-dish_23-2147863802.jpg",
          imageAlt: "Customer Hoshang Kanabi",
        },
        {
          id: "4",
          name: "Sarah J.",
          handle: "@SarahJ",
          testimonial: "The ambiance at Obaw Restaurant is simply enchanting. Every dish was a masterpiece, beautifully presented and bursting with flavor. A truly memorable dining experience!",
          imageSrc: "http://img.b2bpic.net/free-photo/couple-with-delicious-drinks-high-angle_23-2150124832.jpg",
          imageAlt: "Customer Sarah J.",
        },
        {
          id: "5",
          name: "Ahmad R.",
          handle: "@AhmadR",
          testimonial: "From the moment we arrived, the service was impeccable. The staff were attentive and knowledgeable, and the traditional Kurdish dishes were exquisite. Highly recommended!",
          imageSrc: "http://img.b2bpic.net/free-photo/cook-with-pasta-dish_1154-135.jpg",
          imageAlt: "Customer Ahmad R.",
        },
      ]}
      title="What Our Cherished Guests Say"
      description="Hear directly from those who have experienced the magic of Obaw Restaurant. Their words are a testament to our dedication to culinary excellence and warm service."
      speed={60}
      topMarqueeDirection="right"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplitForm
      useInvertedBackground={true}
      title="Plan Your Visit & Reservations"
      description="We are open 24 hours to serve you an exceptional dining experience. Whether for a special occasion or a casual meal, we look forward to welcoming you to Obaw Restaurant.\n\nAddress: JG7H+96J, ھەولێر, Erbil Governorate\nPhone: 0750 497 1391\nEmail: info@obawrestaurant.com"
      inputs={[
        {
          name: "name",
          type: "text",
          placeholder: "Your Full Name",
          required: true,
        },
        {
          name: "email",
          type: "email",
          placeholder: "Your Email Address",
          required: true,
        },
        {
          name: "phone",
          type: "tel",
          placeholder: "Phone Number",
          required: false,
        },
        {
          name: "date",
          type: "date",
          placeholder: "Date",
          required: true,
        },
        {
          name: "time",
          type: "time",
          placeholder: "Time",
          required: true,
        },
        {
          name: "partySize",
          type: "number",
          placeholder: "Party Size (e.g., 4)",
          required: true,
        },
      ]}
      textarea={{
        name: "message",
        placeholder: "Special requests or message...",
        rows: 4,
        required: false,
      }}
      imageSrc="http://img.b2bpic.net/free-photo/maps-loupe-black-desk_23-2148193385.jpg"
      imageAlt="Map showing Obaw Restaurant location in Erbil"
      mediaAnimation="opacity"
      mediaPosition="left"
      buttonText="Confirm Reservation"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBaseReveal
      logoText="Obaw Restaurant"
      columns={[
        {
          title: "Quick Links",
          items: [
            {
              label: "Home",
              href: "#hero",
            },
            {
              label: "About Us",
              href: "#about",
            },
            {
              label: "Menu",
              href: "#menu",
            },
            {
              label: "Gallery",
              href: "#gallery",
            },
          ],
        },
        {
          title: "Support",
          items: [
            {
              label: "Reservations",
              href: "#contact",
            },
            {
              label: "Contact Us",
              href: "#contact",
            },
            {
              label: "FAQ",
              href: "#",
            },
          ],
        },
        {
          title: "Follow Us",
          items: [
            {
              label: "Instagram",
              href: "https://instagram.com/obawrestaurant",
            },
            {
              label: "Facebook",
              href: "https://facebook.com/obawrestaurant",
            },
            {
              label: "Twitter",
              href: "https://twitter.com/obawrestaurant",
            },
          ],
        },
      ]}
      copyrightText="© 2024 Obaw Restaurant. All rights reserved."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
