"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroBillboardSplit from '@/components/sections/hero/HeroBillboardSplit';
import SplitAboutCards from '@/components/sections/about/SplitAboutCards';
import FeatureCardThirteen from '@/components/sections/feature/FeatureCardThirteen';
import TestimonialCardNine from '@/components/sections/testimonial/TestimonialCardNine';
import ContactInline from '@/components/sections/contact/ContactInline';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="elastic-effect"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="mediumLarge"
      sizing="large"
      background="floatingGradient"
      cardStyle="gradient-subtle"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="solid"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="DoDo"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "About", id: "about" },
            { name: "Menu", id: "menu" },
            { name: "Reviews", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
          button={{ text: "Reserve Table", href: "contact" }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardSplit
          tag="Welcome to DoDo"
          title="Exceptional Dining Experience Awaits"
          description="Discover our curated selection of authentic dishes crafted with passion and the finest ingredients. Join us for an unforgettable culinary journey."
          buttons={[
            { text: "View Menu", href: "menu" },
            { text: "Reserve Now", href: "contact" }
          ]}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766490266944-6grpqq0f.jpg"
          imageAlt="Restaurant dining ambiance"
          frameStyle="browser"
        />
      </div>

      <div id="about" data-section="about">
        <SplitAboutCards
          tag="Our Story"
          title="Crafted with Passion Since Day One"
          description="At DoDo, we believe that exceptional food is more than just ingredients—it's about creating memories around the table. Our chef-driven approach ensures every dish tells a story of quality, creativity, and dedication to culinary excellence."
          features={[
            {
              id: "tradition",
              title: "Time-Honored Tradition",
              description: "Our recipes blend classic techniques with modern innovation, honoring culinary traditions while pushing creative boundaries.",
              label: "Est. 2015"
            },
            {
              id: "ingredients",
              title: "Premium Sourcing",
              description: "We partner with local farmers and artisans to bring the freshest, highest-quality ingredients to your table every service.",
              label: "100% Fresh"
            }
          ]}
          buttons={[{ text: "Learn More", href: "#" }]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="menu" data-section="menu">
        <FeatureCardThirteen
          tag="Signature Dishes"
          title="Our Culinary Highlights"
          description="Each dish is carefully crafted to showcase the finest flavors and presentation standards."
          features={[
            {
              id: "01",
              title: "Pan-Seared Salmon",
              description: "Succulent Atlantic salmon with seasonal vegetables, lemon beurre blanc, and crispy skin perfection."
            },
            {
              id: "02",
              title: "Wagyu Tenderloin",
              description: "Premium Japanese wagyu with truffle mash, roasted garlic, and aged balsamic reduction."
            },
            {
              id: "03",
              title: "Lobster Bisque",
              description: "Rich and creamy bisque made with fresh Maine lobster, finished with truffle oil and croutons."
            },
            {
              id: "04",
              title: "Chocolate Flourless Cake",
              description: "Decadent dark chocolate cake with vanilla bean ice cream and berry coulis."
            }
          ]}
          textboxLayout="default"
          gridVariant="four-items-2x2-equal-grid"
          animationType="slide-up"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardNine
          tag="Guest Reviews"
          title="Loved by Our Community"
          description="Hear from our valued guests about their unforgettable experiences at DoDo."
          testimonials={[
            {
              id: "1",
              quote: "The attention to detail in every dish is remarkable. From the presentation to the flavors, DoDo delivers an exceptional dining experience every single time.",
              name: "Margaret Chen",
              role: "Food Critic",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766490270889-y1dksta5.jpg",
              imageAlt: "Margaret Chen"
            },
            {
              id: "2",
              quote: "I've dined at many restaurants, but DoDo stands out for its impeccable service and innovative menu. Absolutely worth the visit!",
              name: "James Mitchell",
              role: "Restaurant Enthusiast",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766161716897-3ct4uqsh.jpg",
              imageAlt: "James Mitchell"
            },
            {
              id: "3",
              quote: "The freshness of ingredients and the chef's creativity made our anniversary dinner truly special. We'll definitely be back.",
              name: "Sarah Rodriguez",
              role: "Customer",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766490271462-sykbkwr2.jpg",
              imageAlt: "Sarah Rodriguez"
            },
            {
              id: "4",
              quote: "Best dining experience I've had in years. The ambiance is perfect, the food is exquisite, and the team genuinely cares about your satisfaction.",
              name: "David Thompson",
              role: "Regular Guest",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766490272198-yzkfctxq.jpg",
              imageAlt: "David Thompson"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactInline
          text="Ready for an unforgettable meal?"
          inputPlaceholder="Enter your email to reserve or inquire"
          buttonText="Get and Touch"
          animationType="reveal-blur"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoReveal logoText="DoDo" />
      </div>
    </ThemeProvider>
  );
}