"use client";

import { Coffee, Heart, Leaf, Sparkles, Home, Instagram, Facebook, MapPin } from "lucide-react";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
import HeroSplitDoubleCarousel from "@/components/sections/hero/HeroSplitDoubleCarousel";
import SplitAbout from "@/components/sections/about/SplitAbout";
import FeatureCardTwentyThree from "@/components/sections/feature/FeatureCardTwentyThree";
import TestimonialCardTwelve from "@/components/sections/testimonial/TestimonialCardTwelve";
import ContactSplitForm from "@/components/sections/contact/ContactSplitForm";
import FooterCard from "@/components/sections/footer/FooterCard";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="bounce-effect"
      defaultTextAnimation="background-highlight"
      borderRadius="rounded"
      contentWidth="mediumLarge"
      sizing="large"
      background="blurBottom"
      cardStyle="glass-depth"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Café Prague"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "About", id: "about" },
            { name: "Menu", id: "features" },
            { name: "Testimonials", id: "testimonials" },
            { name: "Contact", id: "contact" },
          ]}
          button={{
            text: "Reserve Table",            href: "#contact"}}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplitDoubleCarousel
          title="Welcome to Café Prague"
          description="Discover your new favorite escape. Handcrafted coffees, fresh pastries, and the warmth of genuine hospitality in the heart of Prague's charming neighborhoods."
          tag="Cozy Corner"
          tagIcon={Heart}
          tagAnimation="slide-up"
          background={{ variant: "radial-gradient" }}
          leftCarouselItems={[
            {
              imageSrc: "http://img.b2bpic.net/free-photo/young-attractive-woman-striped-trench-coat-happily-talking-cellphone-sitting-near-big-window-while-spending-time-modern-cafe_574295-4851.jpg?_wi=1",              imageAlt: "Cozy café interior with warm lighting"},
            {
              imageSrc: "http://img.b2bpic.net/free-photo/man-enjoying-cup-hot-coffee-cafe_53876-88441.jpg?_wi=1",              imageAlt: "Specialty coffee with latte art"},
            {
              imageSrc: "http://img.b2bpic.net/free-photo/croissant-coffee-food-photography_53876-104492.jpg?_wi=1",              imageAlt: "Fresh morning pastries"},
            {
              imageSrc: "http://img.b2bpic.net/free-photo/young-barista-work-looking-camera-smiling-using-tamper-prepare-espresso-shot-hipster-work-concept_197531-22373.jpg?_wi=1",              imageAlt: "Our passionate barista"},
          ]}
          rightCarouselItems={[
            {
              imageSrc: "http://img.b2bpic.net/free-photo/group-friends-meeting-restaurant_23-2148395317.jpg?_wi=1",              imageAlt: "Comfortable seating and ambiance"},
            {
              imageSrc: "http://img.b2bpic.net/free-photo/umbrellas-tables-cafe-old-street_8353-192.jpg?_wi=1",              imageAlt: "Café storefront in Prague"},
            {
              imageSrc: "http://img.b2bpic.net/free-photo/man-enjoying-cup-hot-coffee-cafe_53876-88441.jpg?_wi=2",              imageAlt: "Carefully crafted beverages"},
            {
              imageSrc: "http://img.b2bpic.net/free-photo/young-attractive-woman-striped-trench-coat-happily-talking-cellphone-sitting-near-big-window-while-spending-time-modern-cafe_574295-4851.jpg?_wi=2",              imageAlt: "Interior details and charm"},
          ]}
          carouselPosition="right"
          buttons={[
            { text: "View Menu", href: "#features" },
            { text: "Reserve Now", href: "#contact" },
          ]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="about" data-section="about">
        <SplitAbout
          title="Our Story"
          description="For over a decade, Café Prague has been a sanctuary for coffee lovers and seekers of connection. We believe every cup tells a story, and every visit creates a memory."
          tag="Established 2014"
          tagIcon={Coffee}
          tagAnimation="opacity"
          textboxLayout="default"
          useInvertedBackground={false}
          bulletPoints={[
            {
              title: "Premium Selection",              description: "Single-origin beans sourced from sustainable farms across Ethiopia, Colombia, and Brazil.",              icon: Leaf,
            },
            {
              title: "Artisan Craftsmanship",              description: "Each drink is prepared with precision and care by our certified baristas.",              icon: Sparkles,
            },
            {
              title: "Intimate Atmosphere",              description: "Vintage décor, soft lighting, and thoughtful details create your perfect refuge.",              icon: Home,
            },
            {
              title: "Community Hub",              description: "A gathering place for artists, writers, students, and neighbors."},
          ]}
          imageSrc="http://img.b2bpic.net/free-photo/young-barista-work-looking-camera-smiling-using-tamper-prepare-espresso-shot-hipster-work-concept_197531-22373.jpg?_wi=2"
          imageAlt="Our passionate café owner"
          imagePosition="right"
          mediaAnimation="slide-up"
          buttons={[
            { text: "Learn More", href: "#features" },
          ]}
          buttonAnimation="opacity"
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardTwentyThree
          title="Menu Highlights"
          description="Explore our carefully curated selection of specialty drinks and fresh pastries."
          tag="Featured Items"
          tagIcon={Sparkles}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
          animationType="slide-up"
          features={[
            {
              id: "1",              title: "Signature Espresso Blend",              tags: ["Coffee", "Bestseller"],
              imageSrc: "http://img.b2bpic.net/free-photo/man-enjoying-cup-hot-coffee-cafe_53876-88441.jpg?_wi=3",              imageAlt: "Rich espresso with perfect crema"},
            {
              id: "2",              title: "Fresh Butter Croissants",              tags: ["Pastry", "Daily Fresh"],
              imageSrc: "http://img.b2bpic.net/free-photo/croissant-coffee-food-photography_53876-104492.jpg?_wi=2",              imageAlt: "Golden, flaky croissants"},
            {
              id: "3",              title: "Premium Seating & Ambiance",              tags: ["Comfort", "Cozy"],
              imageSrc: "http://img.b2bpic.net/free-photo/group-friends-meeting-restaurant_23-2148395317.jpg?_wi=2",              imageAlt: "Comfortable café seating"},
          ]}
          buttons={[
            { text: "Full Menu", href: "#" },
          ]}
          buttonAnimation="blur-reveal"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwelve
          cardTitle="Loved by our community. Join thousands who call Café Prague their daily escape."
          cardTag="Customer Reviews"
          cardTagIcon={Heart}
          cardAnimation="slide-up"
          useInvertedBackground={false}
          testimonials={[
            {
              id: "1",              name: "Anna Novotná",              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg?_wi=1",              imageAlt: "Anna Novotná"},
            {
              id: "2",              name: "Petr Svoboda",              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg?_wi=2",              imageAlt: "Petr Svoboda"},
            {
              id: "3",              name: "Helena Dvořáková",              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg?_wi=3",              imageAlt: "Helena Dvořáková"},
            {
              id: "4",              name: "Tomáš Kučera",              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg?_wi=4",              imageAlt: "Tomáš Kučera"},
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Get in Touch"
          description="Have questions or want to reserve a table? We'd love to hear from you. Reach out today and let's create your next café memory."
          inputs={[
            { name: "name", type: "text", placeholder: "Your Name", required: true },
            { name: "email", type: "email", placeholder: "Your Email", required: true },
          ]}
          textarea={{
            name: "message",            placeholder: "Tell us about your reservation or question...",            rows: 5,
            required: true,
          }}
          useInvertedBackground={true}
          imageSrc="http://img.b2bpic.net/free-photo/umbrellas-tables-cafe-old-street_8353-192.jpg?_wi=2"
          imageAlt="Café storefront"
          mediaPosition="right"
          mediaAnimation="opacity"
          buttonText="Send Message"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterCard
          logoText="Café Prague"
          copyrightText="© 2024 Café Prague. Handcrafted with love in the heart of Prague."
          socialLinks={[
            {
              icon: Instagram,
              href: "https://instagram.com/cafeprague",              ariaLabel: "Follow us on Instagram"},
            {
              icon: Facebook,
              href: "https://facebook.com/cafeprague",              ariaLabel: "Follow us on Facebook"},
            {
              icon: MapPin,
              href: "https://maps.google.com",              ariaLabel: "Visit us on Google Maps"},
          ]}
        />
      </div>
    </ThemeProvider>
  );
}
