"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroLogoCarousel from '@/components/sections/hero/HeroLogoCarousel';
import ParallaxAbout from '@/components/sections/about/ParallaxAbout';
import FeatureCardSix from '@/components/sections/feature/FeatureCardSix';
import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo';
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';
import ContactFaq from '@/components/sections/contact/ContactFaq';
import FooterSocial from '@/components/sections/footer/FooterSocial';
import { Calendar, Instagram, Facebook } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="directional-hover"
      defaultTextAnimation="background-highlight"
      borderRadius="soft"
      contentWidth="smallMedium"
      sizing="mediumLarge"
      background="grid"
      cardStyle="solid-accent"
      primaryButtonStyle="outline"
      secondaryButtonStyle="layered"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="Bashnak"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "About", id: "about" },
            { name: "Menu", id: "menu" },
            { name: "Testimonials", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
          button={{
            text: "Reserve",
            href: "contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroLogoCarousel
          logoText="Bashnak"
          description="An exquisite culinary experience where tradition meets innovation. Discover authentic flavors crafted with the finest ingredients and served with elegant sophistication."
          mediaItems={[
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766416778445-zl3jwowr.jpg",
              imageAlt: "Bashnak Restaurant ambiance"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766923411603-y1wnlaxe.jpg",
              imageAlt: "Signature appetizer presentation"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766923412687-h0g4d7bc.jpg",
              imageAlt: "Gourmet main course"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766416778445-zl3jwowr.jpg",
              imageAlt: "Elegant dessert"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766915462711-kbixbk5b.jpg",
              imageAlt: "Fresh seafood dish"
            }
          ]}
          ariaLabel="Bashnak Restaurant hero section"
        />
      </div>

      <div id="about" data-section="about">
        <ParallaxAbout
          title="Our Story"
          description="Bashnak represents a celebration of culinary artistry and warm hospitality. For years, we have been committed to creating memorable dining experiences that blend authentic recipes with contemporary techniques. Every dish tells a story, every visit becomes a cherished memory."
          tag="About Us"
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766915460515-mb858co5.jpg"
          imageAlt="Bashnak dining experience"
          buttons={[
            {
              text: "Explore Our Heritage",
              href: "#menu"
            }
          ]}
        />
      </div>

      <div id="menu" data-section="menu">
        <FeatureCardSix
          title="Signature Creations"
          description="Explore our carefully curated menu featuring distinctive dishes that showcase our culinary expertise"
          tag="Menu"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          features={[
            {
              id: 1,
              title: "Appetizers",
              description: "Begin your journey with carefully selected starters that awaken the palate and set the tone for an exceptional meal.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766923411603-y1wnlaxe.jpg"
            },
            {
              id: 2,
              title: "Main Courses",
              description: "Our signature entrees feature premium proteins and seasonal ingredients prepared with meticulous attention to detail.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766923412687-h0g4d7bc.jpg"
            },
            {
              id: 3,
              title: "Seafood Specialties",
              description: "Fresh daily selections showcasing the finest maritime flavors prepared with traditional and modern techniques.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766915462711-kbixbk5b.jpg"
            },
            {
              id: 4,
              title: "Desserts",
              description: "Conclude your experience with our artisanal desserts, each crafted to provide the perfect sweet finale.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766416778445-zl3jwowr.jpg"
            }
          ]}
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardTwo
          title="Our Legacy"
          description="Years of excellence in fine dining"
          tag="Achievements"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          metrics={[
            {
              id: "1",
              value: "25+",
              description: "Years of Excellence"
            },
            {
              id: "2",
              value: "50K+",
              description: "Satisfied Guests"
            },
            {
              id: "3",
              value: "30+",
              description: "Signature Dishes"
            },
            {
              id: "4",
              value: "5★",
              description: "Guest Rating"
            }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwo
          title="Guest Experiences"
          description="Hear from our valued guests about their memorable moments at Bashnak"
          tag="Reviews"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="slide-up"
          testimonials={[
            {
              id: "1",
              name: "Sarah Mitchell",
              role: "Food Critic",
              testimonial: "Bashnak is a masterpiece of culinary artistry. Every dish demonstrates exceptional skill and passion. The ambiance perfectly complements the exquisite flavors. Truly unforgettable.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766923413920-703l2xxn.jpg",
              imageAlt: "Sarah Mitchell"
            },
            {
              id: "2",
              name: "Michael Chen",
              role: "Chef & Restaurant Owner",
              testimonial: "The attention to detail in every aspect of the dining experience is remarkable. From ingredient selection to plating, Bashnak sets the gold standard for fine dining.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766923414743-5dcbkmk0.jpg",
              imageAlt: "Michael Chen"
            },
            {
              id: "3",
              name: "Emily Rodriguez",
              role: "Culinary Journalist",
              testimonial: "A celebration of authentic flavors with contemporary elegance. The menu is thoughtfully curated and executed with precision. Bashnak deserves every accolade.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766923415657-1vcxojqe.jpg",
              imageAlt: "Emily Rodriguez"
            },
            {
              id: "4",
              name: "David Kim",
              role: "Hospitality Consultant",
              testimonial: "The combination of exceptional cuisine, impeccable service, and sophisticated ambiance makes Bashnak the destination for discerning diners.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766923416593-a9cdcvrx.jpg",
              imageAlt: "David Kim"
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactFaq
          ctaTitle="Reserve Your Table"
          ctaDescription="Experience culinary excellence. Book your reservation and prepare for an unforgettable evening."
          ctaButton={{
            text: "Book Now",
            href: "https://www.resy.com"
          }}
          ctaIcon={Calendar}
          useInvertedBackground="noInvert"
          animationType="slide-up"
          accordionAnimationType="smooth"
          faqs={[
            {
              id: "1",
              title: "What are your dining hours?",
              content: "We are open Tuesday through Sunday from 5:00 PM to 11:00 PM. Monday is our day of rest. We welcome walk-ins based on availability, but reservations are highly recommended."
            },
            {
              id: "2",
              title: "Do you accommodate dietary restrictions?",
              content: "Absolutely. Please inform us of any dietary requirements when making your reservation. Our culinary team is happy to create customized menu options for guests with specific dietary needs."
            },
            {
              id: "3",
              title: "What is your dress code?",
              content: "Business casual to elegant attire is recommended. We want our guests to feel comfortable while maintaining the sophistication of our dining environment."
            },
            {
              id: "4",
              title: "Do you offer private dining?",
              content: "Yes, we have private dining options available for special occasions and group events. Please contact us directly to discuss your specific requirements."
            },
            {
              id: "5",
              title: "Can I bring wine?",
              content: "We have an extensive wine collection curated to complement our menu. Outside wine is not permitted, but our sommelier can suggest perfect pairings for your meal."
            },
            {
              id: "6",
              title: "How far in advance should I book?",
              content: "We recommend reserving at least 2-3 weeks in advance, especially for weekends. However, we often have availability for last-minute bookings as well."
            }
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSocial
          logoText="Bashnak"
          copyrightText="© Bashnak Restaurant, 2025. All rights reserved."
          columns={[
            {
              title: "Restaurant",
              items: [
                {
                  label: "About Us",
                  href: "#about"
                },
                {
                  label: "Our Menu",
                  href: "#menu"
                },
                {
                  label: "Reservations",
                  href: "#contact"
                }
              ]
            },
            {
              title: "Policies",
              items: [
                {
                  label: "Terms & Conditions",
                  href: "/terms"
                },
                {
                  label: "Privacy Policy",
                  href: "/privacy"
                },
                {
                  label: "Cancellation Policy",
                  href: "/cancellation"
                }
              ]
            }
          ]}
          socialLinks={[
            {
              icon: Instagram,
              href: "https://instagram.com",
              ariaLabel: "Follow us on Instagram"
            },
            {
              icon: Facebook,
              href: "https://facebook.com",
              ariaLabel: "Follow us on Facebook"
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}