"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import HeroOverlayTestimonial from '@/components/sections/hero/HeroOverlayTestimonial';
import MetricSplitMediaAbout from '@/components/sections/about/MetricSplitMediaAbout';
import FeatureCardMedia from '@/components/sections/feature/FeatureCardMedia';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import PricingCardEight from '@/components/sections/pricing/PricingCardEight';
import TestimonialCardSixteen from '@/components/sections/testimonial/TestimonialCardSixteen';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import ContactText from '@/components/sections/contact/ContactText';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import { Sparkles, Award, Crown } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="bounce-effect"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="medium"
      sizing="largeSmallSizeMediumTitles"
      background="noise"
      cardStyle="glass-elevated"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="solid"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="El barachin & Parco Belvedere"
          navItems={[
            { name: "Home", id: "#hero" },
            { name: "About", id: "#about" },
            { name: "Features", id: "#features" },
            { name: "Menu", id: "#menu" },
            { name: "Pricing", id: "#pricing" },
            { name: "Testimonials", id: "#testimonials" },
            { name: "FAQ", id: "#faq" },
            { name: "Contact", id: "#contact" }
          ]}
        />
      </div>
      <div id="hero" data-section="hero">
        <HeroOverlayTestimonial
          title="Welcome to El barachin & Parco Belvedere"
          description="Experience exquisite dining and serene natural beauty in one breathtaking location. Perfect for family outings, romantic dinners, and special events."
          testimonials={[
            { name: "Mario Rossi", handle: "@mario.foodie", testimonial: "An unforgettable experience! The food was divine, and the park views were spectacular. Highly recommend for any occasion.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/cheerful-man-ready-boating-trip_23-2147562090.jpg?_wi=1", imageAlt: "Mario Rossi" },
            { name: "Sofia Bianchi", handle: "@sofia.travels", testimonial: "Absolutely magical! The perfect escape. Delicious meals and stunning landscapes. We'll definitely be back!", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/young-woman-cozy-wear-outdoors_624325-539.jpg?_wi=1", imageAlt: "Sofia Bianchi" },
            { name: "Giovanni Verdi", handle: "@giovanni.explorer", testimonial: "A true hidden gem. The service was impeccable, and walking through the park after dinner was a delight. Five stars!", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/smiling-senior-businessman-sitting-stairs_1262-3109.jpg?_wi=1", imageAlt: "Giovanni Verdi" },
            { name: "Chiara Neri", handle: "@chiara.events", testimonial: "Hosted our company event here, and everything was flawless. The team was fantastic, and the venue is simply gorgeous.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/summer-portrait-laughing-happy-woman-outdoor-enjoying-warm-sunshine-wearing-blue-t-shirt-having-dark-hair-looking-away-with-toothy-smile-expressing-happiness_176532-14837.jpg?_wi=1", imageAlt: "Chiara Neri" },
            { name: "Luca Gialli", handle: "@luca.chef", testimonial: "As a chef, I'm incredibly impressed. The ingredients are fresh, and the dishes are crafted with passion and expertise. A culinary journey!", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/enthusiastic-asian-female-entrepreneur-cafe-owner-with-tablet-wearing-shop-uniform-standing-with_1258-203446.jpg?_wi=1", imageAlt: "Luca Gialli" }
          ]}
          imageSrc="http://img.b2bpic.net/free-photo/black-wedding-background-restaurant-tableware_1203-3980.jpg"
          imageAlt="El barachin Restaurant and Parco Belvedere scenic view"
          buttons={[
            { text: "Explore Menù", href: "#menu" },
            { text: "Book a Table", href: "#contact" }
          ]}
        />
      </div>
      <div id="about" data-section="about">
        <MetricSplitMediaAbout
          title="Our Story & Vision"
          description="El barachin & Parco Belvedere is born from a passion for exquisite food and the breathtaking beauty of nature. We've created a unique destination where culinary artistry meets serene landscapes, offering an escape from the everyday. Our commitment is to provide an unparalleled experience, blending gourmet dining with tranquil park leisure for all our guests."
          metrics={[
            { value: "20+", title: "Years of Culinary Excellence" },
            { value: "15K+", title: "Happy Guests Annually" },
            { value: "100%", title: "Locally Sourced Ingredients" }
          ]}
          useInvertedBackground={false}
          imageSrc="http://img.b2bpic.net/free-photo/restaurant-private-room-with-table-14-persons-wooden-ceiling-brick-walls-fireplace_140725-8452.jpg"
          imageAlt="Elegant interior of El barachin restaurant"
          mediaAnimation="slide-up"
        />
      </div>
      <div id="features" data-section="features">
        <FeatureCardMedia
          title="Discover Our Offerings"
          description="El barachin & Parco Belvedere combines the best of both worlds: a top-tier restaurant and a beautiful park. Whether you're here for a meal, a walk, or a special celebration, we have something for everyone."
          features={[
            { id: "1", title: "El barachin Restaurant", description: "Indulge in our gourmet menu crafted with the freshest seasonal ingredients. A dining experience that delights all senses in an elegant setting.", tag: "Cuisine", imageSrc: "http://img.b2bpic.net/free-photo/female-chef-placing-orange-slice-dish_23-2148763198.jpg", imageAlt: "Gourmet dish at El barachin", buttons: [{ text: "View Menu", href: "#menu" }] },
            { id: "2", title: "Parco Belvedere", description: "Explore acres of beautifully maintained gardens and scenic pathways. Perfect for leisurely strolls, family picnics, or quiet reflection amidst nature.", tag: "Nature", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-scenery-trees-with-lake_181624-18984.jpg", imageAlt: "Scenic view of Parco Belvedere", buttons: [{ text: "Explore Park" }] },
            { id: "3", title: "Events & Celebrations", description: "Host your special moments with us. From intimate gatherings to grand weddings, our versatile spaces and dedicated team ensure a memorable event.", tag: "Events", imageSrc: "http://img.b2bpic.net/free-photo/photorealistic-wedding-venue-with-intricate-decor-ornaments_23-2151481479.jpg", imageAlt: "Outdoor event setup in the park", buttons: [{ text: "Plan Your Event", href: "#contact" }] }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>
      <div id="menu" data-section="menu">
        <ProductCardTwo
          title="Our Signature Dishes & Beverages"
          description="Savor the flavors of tradition and innovation. Our menu features a delightful array of dishes, from classic Italian fare to modern culinary creations, perfectly paired with local wines."
          products={[
            { id: "p1", brand: "El barachin", name: "Risotto ai Funghi Porcini", price: "€28", rating: 5, reviewCount: "245", imageSrc: "http://img.b2bpic.net/free-photo/side-view-man-eating-caprice-salad-with-arugula-caviar_140725-11477.jpg", imageAlt: "Risotto ai Funghi Porcini" },
            { id: "p2", brand: "El barachin", name: "Carpaccio di Manzo", price: "€22", rating: 5, reviewCount: "180", imageSrc: "http://img.b2bpic.net/free-photo/salad-slices-bread-copy-space-clipboard_23-2148748871.jpg", imageAlt: "Carpaccio di Manzo" },
            { id: "p3", brand: "El barachin", name: "Tiramisù Classico", price: "€12", rating: 5, reviewCount: "310", imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-chocolate-cake_23-2148549948.jpg", imageAlt: "Tiramisù Classico" },
            { id: "p4", brand: "Local Selection", name: "Barbera d'Asti DOCG", price: "€45", rating: 5, reviewCount: "150", imageSrc: "http://img.b2bpic.net/free-photo/two-wine-bottles-table_140725-10043.jpg", imageAlt: "Barbera d'Asti Wine" },
            { id: "p5", brand: "Signature Drinks", name: "Belvedere Sunset Cocktail", price: "€15", rating: 5, reviewCount: "190", imageSrc: "http://img.b2bpic.net/free-photo/preparing-refreshing-cocktail-bar_23-2148176752.jpg", imageAlt: "Belvedere Sunset Cocktail" },
            { id: "p6", brand: "Kids Menu", name: "Pasta al Pomodoro", price: "€10", rating: 5, reviewCount: "95", imageSrc: "http://img.b2bpic.net/free-photo/view-tasty-children-s-food-assortment_23-2149627792.jpg", imageAlt: "Pasta al Pomodoro for kids" }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>
      <div id="pricing" data-section="pricing">
        <PricingCardEight
          title="Special Experiences & Packages"
          description="Enhance your visit with our tailored packages. From romantic dinners to full-day park access, we offer options for every occasion. Contact us for custom event quotes."
          plans={[
            { id: "basic", badge: "Popular", badgeIcon: Sparkles, price: "€60 / couple", subtitle: "Romantic Dinner Package", buttons: [{ text: "Book Now", href: "#contact" }], features: ["3-course gourmet meal", "Table with park view", "Welcome drink", "Includes park access"] },
            { id: "pro", badge: "Best Value", badgeIcon: Award, price: "€35 / person", subtitle: "Full Day Park & Lunch", buttons: [{ text: "Book Now", href: "#contact" }], features: ["All-day park access", "2-course set lunch", "Complimentary water", "Guided nature walk (optional)"] },
            { id: "enterprise", badge: "Premium", badgeIcon: Crown, price: "Custom Quote", subtitle: "Private Events & Weddings", buttons: [{ text: "Enquire", href: "#contact" }], features: ["Dedicated event planner", "Tailored menu options", "Exclusive park area", "Full service coordination"] }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>
      <div id="testimonials" data-section="testimonials">
        <TestimonialCardSixteen
          title="What Our Guests Are Saying"
          description="Don't just take our word for it. Our visitors consistently praise the exceptional food, stunning environment, and warm hospitality that define the El barachin & Parco Belvedere experience."
          testimonials={[
            { id: "t1", name: "Elisa Conti", role: "Local Resident", company: "Verona", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/cheerful-man-ready-boating-trip_23-2147562090.jpg?_wi=2", imageAlt: "Elisa Conti" },
            { id: "t2", name: "Paolo Riccardi", role: "Food Critic", company: "Milan Gourmet", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/young-woman-cozy-wear-outdoors_624325-539.jpg?_wi=2", imageAlt: "Paolo Riccardi" },
            { id: "t3", name: "Francesca Romano", role: "Event Coordinator", company: "Dream Events", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/smiling-senior-businessman-sitting-stairs_1262-3109.jpg?_wi=2", imageAlt: "Francesca Romano" },
            { id: "t4", name: "Marco Esposito", role: "Nature Enthusiast", company: "Green Trails", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/summer-portrait-laughing-happy-woman-outdoor-enjoying-warm-sunshine-wearing-blue-t-shirt-having-dark-hair-looking-away-with-toothy-smile-expressing-happiness_176532-14837.jpg?_wi=2", imageAlt: "Marco Esposito" },
            { id: "t5", name: "Laura Ferrari", role: "Travel Blogger", company: "Wanderlust Italia", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/enthusiastic-asian-female-entrepreneur-cafe-owner-with-tablet-wearing-shop-uniform-standing-with_1258-203446.jpg?_wi=2", imageAlt: "Laura Ferrari" }
          ]}
          kpiItems={[
            { value: "4.9/5", label: "Average Rating" },
            { value: "98%", label: "Guest Satisfaction" },
            { value: "1200+", label: "Positive Reviews" }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>
      <div id="faq" data-section="faq">
        <FaqSplitMedia
          title="Frequently Asked Questions"
          description="Find quick answers to common questions about El barachin restaurant, Parco Belvedere, and booking information. If you can't find what you're looking for, feel free to contact us directly."
          faqs={[
            { id: "q1", title: "What are your opening hours for the restaurant and park?", content: "El barachin restaurant is open Tuesday to Sunday, from 12:00 PM to 2:30 PM for lunch and 7:00 PM to 10:30 PM for dinner. Parco Belvedere is open daily from 9:00 AM to 7:00 PM." },
            { id: "q2", title: "Do I need a reservation for the restaurant?", content: "We highly recommend making a reservation, especially for dinner and weekend lunches, to ensure you get a table. You can book online through our contact page or by calling us directly." },
            { id: "q3", title: "Is Parco Belvedere accessible for people with disabilities?", content: "Yes, key areas and pathways in Parco Belvedere are designed to be accessible. Please contact us in advance if you have specific needs so we can ensure the best experience for you." },
            { id: "q4", title: "Can I host a private event or wedding at your venue?", content: "Absolutely! We specialize in hosting a variety of private events, from corporate gatherings to dream weddings. Our team will work with you to customize every detail. Please reach out via our contact form for more information and a personalized quote." },
            { id: "q5", title: "Are pets allowed in the park or restaurant?", content: "Well-behaved dogs on a leash are welcome in designated areas of Parco Belvedere. For the restaurant, only service animals are permitted inside. We have outdoor seating options where pets can accompany you." }
          ]}
          imageSrc="http://img.b2bpic.net/free-photo/annoyed-young-bald-call-center-man-wearing-headset-sitting-desk-with-work-tools-looking-laptop-isolated-white_141793-76435.jpg"
          imageAlt="Person asking question at reception desk"
          mediaAnimation="slide-up"
          faqsAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>
      <div id="contact" data-section="contact">
        <ContactText
          text="Ready to experience El barachin & Parco Belvedere? Contact us to make a reservation, inquire about events, or simply say hello. We look forward to welcoming you!"
          background={{"variant":"radial-gradient"}}
          useInvertedBackground={false}
          buttons={[
            { text: "Make a Reservation", href: "mailto:info@elbarachin.com" },
            { text: "Call Us", href: "tel:+390123456789" }
          ]}
        />
      </div>
      <div id="footer" data-section="footer">
        <FooterBaseCard
          logoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=a0lzw1"
          logoAlt="El barachin & Parco Belvedere Logo"
          logoText="El barachin & Parco Belvedere"
          columns={[
            { title: "Explore", items: [{ label: "Our Story", href: "#about" }, { label: "Restaurant", href: "#menu" }, { label: "The Park", href: "#features" }, { label: "Events", href: "#pricing" }] },
            { title: "Connect", items: [{ label: "Contact Us", href: "#contact" }, { label: "Reservations", href: "#contact" }, { label: "FAQ", href: "#faq" }] },
            { title: "Legal", items: [{ label: "Privacy Policy", href: "#" }, { label: "Terms of Service", href: "#" }] }
          ]}
          copyrightText="© 2024 El barachin & Parco Belvedere. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}
