"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import HeroLogoBillboard from '@/components/sections/hero/HeroLogoBillboard';
import TextAbout from '@/components/sections/about/TextAbout';
import FeatureCardEight from '@/components/sections/feature/FeatureCardEight';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';
import MetricCardFourteen from '@/components/sections/metrics/MetricCardFourteen';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';

export default function TavernaPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="small"
      sizing="largeSizeMediumTitles"
      background="none"
      cardStyle="elevated"
      primaryButtonStyle="flat"
      secondaryButtonStyle="glass"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="Taverna"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "Menu", id: "features" },
            { name: "Experience", id: "about" },
            { name: "Reviews", id: "testimonials" },
            { name: "Reserve", id: "contact" }
          ]}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroLogoBillboard
          logoText="Taverna"
          description="Authentic Greek cuisine crafted with traditional recipes, fresh Mediterranean ingredients, and generations of family heritage. Experience the warmth of Greek hospitality in every dish."
          background={{ variant: "plain" }}
          imageSrc="https://img.b2bpic.net/free-photo/painting-inspiration-supplies-placed-ready-be-painted-canvas_482257-115978.jpg"
          imageAlt="Traditional Greek kitchen with warm lighting and authentic atmosphere"
          frameStyle="card"
        />
      </div>

      <div id="about" data-section="about">
        <TextAbout
          title="A Mediterranean Legacy Bringing Greece to Your Table"
          useInvertedBackground="invertDefault"
          buttons={[
            { text: "View Full Menu", href: "#features" },
            { text: "Reserve Table", href: "#contact" }
          ]}
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardEight
          title="What Makes Us Special"
          description="Every dish tells a story of tradition, quality, and passion for authentic Greek cuisine"
          tag="Our Philosophy"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          features={[
            {
              id: 1,
              title: "Finest Ingredients",              description: "We source the freshest Mediterranean vegetables, premium olive oils, and authentic Greek cheeses directly from trusted suppliers",              imageSrc: "https://img.b2bpic.net/free-photo/view-raw-vegetables-composition_23-2148643062.jpg",              imageAlt: "Fresh Mediterranean ingredients including tomatoes, olives, and herbs"
            },
            {
              id: 2,
              title: "Traditional Methods",              description: "Every recipe follows time-honored Greek cooking techniques passed down through generations of our family",              imageSrc: "https://img.b2bpic.net/free-photo/top-view-sliced-whole-vegetables-such-as-onions-green-bell-peppers-tomatoes-brown-wooden-desk-grey-floor_140725-13741.jpg",              imageAlt: "Chef preparing traditional Greek dishes with authentic techniques"
            },
            {
              id: 3,
              title: "Family Heritage",              description: "Three generations of culinary excellence and commitment to preserving authentic Greek flavors and hospitality",              imageSrc: "https://img.b2bpic.net/free-photo/nuts-wooden-plates_23-2147690223.jpg",              imageAlt: "Family heritage and traditional cooking culture"
            }
          ]}
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardTwo
          title="Signature Dishes"
          description="Taste the flavors of Greece with our most beloved and celebrated dishes"
          tag="Menu Highlights"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          products={[
            {
              id: "1",              brand: "Classic",              name: "Lamb Souvlaki",              price: "$28",              rating: 5,
              reviewCount: "847",              imageSrc: "https://img.b2bpic.net/free-photo/wooden-background-with-delicious-ingredients_23-2147612077.jpg",              imageAlt: "Succulent grilled lamb souvlaki with fresh lemon and herbs"
            },
            {
              id: "2",              brand: "Traditional",              name: "Moussaka",              price: "$24",              rating: 5,
              reviewCount: "923",              imageSrc: "https://img.b2bpic.net/free-photo/salad-near-oil-vegetables_23-2147778438.jpg",              imageAlt: "Layered moussaka with eggplant, meat sauce, and creamy béchamel"
            },
            {
              id: "3",              brand: "Appetizer",              name: "Saganaki",              price: "$16",              rating: 5,
              reviewCount: "512",              imageSrc: "https://img.b2bpic.net/free-photo/garnish-bruschetta-fresh-ingredient-cooking-brown-table_23-2148195043.jpg",              imageAlt: "Golden fried saganaki cheese served with honey and lemon"
            }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwo
          title="Guest Experiences"
          description="Hear from our valued guests about their memorable dining experiences at Taverna"
          tag="Reviews"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="slide-up"
          testimonials={[
            {
              id: "1",              name: "Elena Papadopoulos",              role: "Food Critic",              testimonial: "An absolute gem! The souvlaki was perfectly grilled, and the hospitality reminds you why Greek dining is so special. Every detail speaks of authenticity.",              imageSrc: "https://img.b2bpic.net/free-photo/casual-smile-street-style-background-spring_1139-777.jpg",              imageAlt: "Elena Papadopoulos"
            },
            {
              id: "2",              name: "Marco Rossi",              role: "Regular Guest",              testimonial: "I've been coming here for years. The moussaka is exactly like my grandmother made it in Athens. The family truly cares about every guest.",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-portrait-professional-business-woman-smiling-outdoor_1391-4.jpg",              imageAlt: "Marco Rossi"
            },
            {
              id: "3",              name: "Sofia Nikolaides",              role: "Event Organizer",              testimonial: "Perfect for our family celebration. The staff went above and beyond, and the food was absolutely stunning. We couldn't have asked for better.",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-young-business-woman-standing-outside-office-buildings-business-success-concept_58466-12274.jpg",              imageAlt: "Sofia Nikolaides"
            },
            {
              id: "4",              name: "James Anderson",              role: "Food Blogger",              testimonial: "The flavor profiles are incredible. You can taste the passion and tradition in every bite. This is authentic Mediterranean dining at its finest.",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-positive-executive-work_1098-519.jpg",              imageAlt: "James Anderson"
            }
          ]}
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardFourteen
          title="A testament to our commitment to excellence and authentic Greek hospitality"
          tag="Our Achievement"
          useInvertedBackground="invertDefault"
          metrics={[
            {
              id: "1",              value: "3,500+",              description: "Happy guests welcomed each month who experience authentic Greek cuisine and warm hospitality"
            },
            {
              id: "2",              value: "25 Years",              description: "Three generations of family culinary tradition serving the community with unwavering dedication"
            }
          ]}
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqSplitMedia
          title="Common Questions"
          description="Everything you need to know about dining at Taverna"
          tag="FAQ"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          mediaPosition="right"
          animationType="smooth"
          imageSrc="https://img.b2bpic.net/free-photo/delicious-jewish-meal-bowl-high-angle_23-2148814532.jpg"
          imageAlt="Elegant dining setting at Taverna"
          faqs={[
            {
              id: "1",              title: "Do you accommodate dietary restrictions?",              content: "Absolutely! We offer vegetarian, vegan, and gluten-free options. Please inform your server or call ahead so we can prepare something special for you."
            },
            {
              id: "2",              title: "What are your hours of operation?",              content: "We're open Tuesday through Thursday from 5 PM to 10 PM, Friday and Saturday from 5 PM to 11 PM, and Sunday from 4 PM to 9 PM. We're closed Mondays."
            },
            {
              id: "3",              title: "Do you take reservations?",              content: "Yes, we highly recommend reservations, especially for weekends and large groups. You can call us or use our online reservation system."
            },
            {
              id: "4",              title: "Can I host private events at Taverna?",              content: "We'd love to host your special celebration! Please contact us for details about private dining and catering options for groups of 15 or more."
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Reserve Your Table"
          description="Experience authentic Greek cuisine. Join us for an unforgettable evening of traditional flavors and warm hospitality."
          useInvertedBackground="invertDefault"
          mediaPosition="right"
          imageSrc="https://img.b2bpic.net/free-photo/painting-inspiration-supplies-placed-ready-be-painted-canvas_482257-115978.jpg"
          imageAlt="Warm and inviting Taverna dining atmosphere"
          inputs={[
            { name: "name", type: "text", placeholder: "Your Name", required: true },
            { name: "email", type: "email", placeholder: "Email Address", required: true },
            { name: "phone", type: "tel", placeholder: "Phone Number", required: true },
            { name: "date", type: "date", placeholder: "Preferred Date", required: true }
          ]}
          textarea={{
            name: "message",            placeholder: "Special requests or dietary notes...",            rows: 4,
            required: false
          }}
          buttonText="Reserve Now"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoEmphasis
          logoText="Taverna"
          columns={[
            {
              items: [
                { label: "Home", href: "hero" },
                { label: "Menu", href: "features" },
                { label: "Reservations", href: "contact" }
              ]
            },
            {
              items: [
                { label: "Our Story", href: "about" },
                { label: "Reviews", href: "testimonials" },
                { label: "FAQ", href: "faq" }
              ]
            },
            {
              items: [
                { label: "Phone", href: "tel:+1234567890" },
                { label: "Email", href: "mailto:info@taverna.com" },
                { label: "Address", href: "#" }
              ]
            },
            {
              items: [
                { label: "Instagram", href: "https://instagram.com" },
                { label: "Facebook", href: "https://facebook.com" },
                { label: "Contact", href: "contact" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}