"use client"

import { Sparkles, Heart, ChefHat, Star, Users, Award } from "lucide-react";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroSplitAvatars from '@/components/sections/hero/HeroSplitAvatars';
import AboutPhoneTimeline from '@/components/sections/about/AboutPhoneTimeline';
import FeatureCardNine from '@/components/sections/feature/FeatureCardNine';
import TestimonialCardEight from '@/components/sections/testimonial/TestimonialCardEight';
import PricingCardFour from '@/components/sections/pricing/PricingCardFour';
import MetricCardSeven from '@/components/sections/metrics/MetricCardSeven';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterMedia from '@/components/sections/footer/FooterMedia';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="directional-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="sharp"
      contentWidth="medium"
      sizing="mediumLargeSizeLargeTitles"
      background="grid"
      cardStyle="solid-accent-light"
      primaryButtonStyle="outline"
      secondaryButtonStyle="outline"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="Rainbaw"
          navItems={[
            { name: "Home", id: "home" },
            { name: "About", id: "about" },
            { name: "Menu", id: "menu" },
            { name: "Reviews", id: "reviews" },
            { name: "Contact", id: "contact" }
          ]}
          button={{ text: "Reserve Now", href: "contact" }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplitAvatars
          title="Culinary Excellence Meets Warm Hospitality"
          description="Experience unforgettable dining at Rainbaw, where innovative cuisine and exceptional service create moments that linger long after your last bite."
          tag="Award-Winning Restaurant"
          tagIcon={Sparkles}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767693839997-bn1nbqzh.jpg"
          imageAlt="Rainbaw restaurant dining experience"
          imagePosition="right"
          avatars={[
            { src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767693842305-hvciyt49.jpg", alt: "Happy diner" },
            { src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767693843008-khseyvza.jpg", alt: "Satisfied guest" },
            { src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767693843649-q54kxv3e.jpg", alt: "Restaurant visitor" },
            { src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767693844399-zeqbh4sb.jpg", alt: "Customer testimonial" }
          ]}
          avatarText="Join 5,000+ satisfied guests"
          buttons={[
            { text: "Reserve Table", href: "contact" },
            { text: "View Menu", href: "menu" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <AboutPhoneTimeline
          tag="Our Story"
          title="From Vision to Table"
          description="Founded in 2015, Rainbaw transformed from a small kitchen dream into a destination restaurant. We believe every dish tells a story, and every guest deserves an extraordinary experience. Our commitment to locally-sourced ingredients and innovative cooking techniques has earned us recognition among culinary enthusiasts."
          tagIcon={Heart}
          phoneOne={{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767693845128-nrdgkh58.jpg" }}
          phoneTwo={{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767693845643-1o9iw7ip.jpg" }}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          buttons={[
            { text: "Learn More", href: "#" }
          ]}
        />
      </div>

      <div id="menu" data-section="menu">
        <FeatureCardNine
          title="Signature Creations"
          description="Discover our most celebrated dishes, crafted with passion and precision"
          tag="Featured Menu"
          tagIcon={ChefHat}
          showStepNumbers={true}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          features={[
            {
              id: 1,
              title: "Pan-Seared Diver Scallops",
              description: "Perfectly seared scallops with seasonal vegetables and brown butter emulsion, finished with crispy sage",
              phoneOne: { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767693846604-y97799yk.jpg" },
              phoneTwo: { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767693847472-k6g1wj9j.jpg" }
            },
            {
              id: 2,
              title: "Heritage Grains & Forest Mushrooms",
              description: "Risotto made with locally-milled heritage grains, wild mushrooms, and truffle oil, topped with crispy breadcrumbs",
              phoneOne: { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767693846604-y97799yk.jpg" },
              phoneTwo: { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767693847472-k6g1wj9j.jpg" }
            }
          ]}
        />
      </div>

      <div id="reviews" data-section="reviews">
        <TestimonialCardEight
          title="What Our Guests Say"
          description="Read the heartfelt reviews from diners who've experienced Rainbaw"
          tag="Guest Reviews"
          tagIcon={Star}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          testimonials={[
            {
              id: "1",
              name: "Sarah Mitchell",
              role: "Food Critic",
              company: "Gourmet Magazine",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767693848346-lgya33u8.jpg"
            },
            {
              id: "2",
              name: "James Chen",
              role: "Restaurant Owner",
              company: "Fine Dining Alliance",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767693848966-za3orw4p.jpg"
            },
            {
              id: "3",
              name: "Emma Rodriguez",
              role: "Culinary Student",
              company: "Institute of Gastronomy",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767693849630-h3mjashf.jpg"
            },
            {
              id: "4",
              name: "Marcus Johnson",
              role: "Wine Enthusiast",
              company: "Sommelier Society",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767693850449-doyv5utu.jpg"
            },
            {
              id: "5",
              name: "Lisa Thompson",
              role: "Event Planner",
              company: "Elegant Events Co.",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767693851149-kooo8j76.jpg"
            },
            {
              id: "6",
              name: "David Park",
              role: "Chef Instructor",
              company: "Culinary Institute",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767693851964-zoe1fwf4.jpg"
            }
          ]}
        />
      </div>

      <div id="pricing" data-section="pricing">
        <PricingCardFour
          title="Dining Experiences"
          tag="Reserve Your Experience"
          tagIcon={Users}
          useInvertedBackground="noInvert"
          animationType="slide-up"
          ctaCards={[
            {
              title: "Book a Table",
              description: "Secure your reservation for an unforgettable evening at Rainbaw",
              href: "contact"
            },
            {
              title: "Private Events",
              description: "Host your special celebration in our exclusive dining spaces",
              href: "contact"
            }
          ]}
          plans={[
            {
              id: "casual",
              name: "A La Carte",
              price: "À votre guise",
              subtitle: "Choose your own culinary journey with our full menu",
              features: [
                "Full menu access",
                "Wine pairings available",
                "Vegetarian options",
                "Dessert selections"
              ]
            },
            {
              id: "tasting",
              name: "Chef's Tasting",
              price: "$125pp",
              subtitle: "Curated multi-course experience showcasing seasonal highlights",
              features: [
                "6-course tasting menu",
                "Wine pairings included",
                "Chef's specials",
                "Personalized service"
              ]
            },
            {
              id: "premium",
              name: "Omakase Experience",
              price: "$185pp",
              subtitle: "Premium chef-guided selection of finest ingredients and techniques",
              features: [
                "Chef's selection only",
                "Premium wine pairings",
                "Counter seating",
                "Exclusive preparation"
              ]
            }
          ]}
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardSeven
          title="By The Numbers"
          description="Our commitment to excellence reflected in our achievements"
          tag="Restaurant Achievements"
          tagIcon={Award}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          gridVariant="four-items-2x2-equal-grid"
          animationType="scale-rotate"
          metrics={[
            {
              id: "1",
              value: "10+",
              title: "Years of Excellence",
              items: [
                "Award-winning cuisine",
                "Consistent 5-star reviews",
                "Trusted by local food critics"
              ]
            },
            {
              id: "2",
              value: "50+",
              title: "Menu Selections",
              items: [
                "Seasonal rotations",
                "Chef's specials weekly",
                "Wine list curated by experts"
              ]
            },
            {
              id: "3",
              value: "5,000+",
              title: "Happy Guests Annually",
              items: [
                "Private event hosting",
                "Perfect occasions",
                "Memorable celebrations"
              ]
            },
            {
              id: "4",
              value: "100%",
              title: "Local Sourcing",
              items: [
                "Farm partnerships",
                "Seasonal ingredients",
                "Sustainable practices"
              ]
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Get In Touch"
          title="Reserve Your Table Today"
          description="Join us for an exceptional dining experience. Whether you're planning an intimate dinner or a special celebration, our team is ready to welcome you."
          useInvertedBackground="noInvert"
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767693840691-upw84tie.jpg"
          imageAlt="Rainbaw restaurant ambiance"
          mediaPosition="right"
          inputPlaceholder="your@email.com"
          buttonText="Reserve Now"
          termsText="We respect your privacy. Our team will contact you within 24 hours to confirm your reservation."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767693841237-ryc1ndch.jpg"
          imageAlt="Rainbaw kitchen"
          logoText="Rainbaw"
          copyrightText="© 2025 Rainbaw Restaurant. All rights reserved."
          columns={[
            {
              title: "Restaurant",
              items: [
                { label: "Menu", href: "menu" },
                { label: "Reservations", href: "contact" },
                { label: "Private Events", href: "contact" },
                { label: "Gift Cards", href: "#" }
              ]
            },
            {
              title: "About",
              items: [
                { label: "Our Story", href: "about" },
                { label: "Team", href: "#" },
                { label: "Philosophy", href: "#" },
                { label: "Sustainability", href: "#" }
              ]
            },
            {
              title: "Contact",
              items: [
                { label: "Call us", href: "#" },
                { label: "Email", href: "#" },
                { label: "Location", href: "#" },
                { label: "Hours", href: "#" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}