"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroBillboardScroll from '@/components/sections/hero/HeroBillboardScroll';
import TextSplitAbout from '@/components/sections/about/TextSplitAbout';
import FeatureCardEleven from '@/components/sections/feature/FeatureCardEleven';
import PricingCardEight from '@/components/sections/pricing/PricingCardEight';
import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';
import FaqSplitText from '@/components/sections/faq/FaqSplitText';
import ContactInline from '@/components/sections/contact/ContactInline';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import { Compass, MapPin, Backpack, Star, Sparkles, Heart } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="reveal-blur"
      borderRadius="rounded"
      contentWidth="mediumSmall"
      sizing="mediumSizeLargeTitles"
      background="floatingGradient"
      cardStyle="gradient-radial"
      primaryButtonStyle="flat"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="Poland"
          navItems={[
            { name: "Attractions", id: "attractions" },
            { name: "Culture", id: "culture" },
            { name: "Experiences", id: "experiences" },
            { name: "FAQ", id: "faq" },
            { name: "Contact", id: "contact" }
          ]}
          button={{
            text: "Start Journey",
            href: "contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardScroll
          title="Discover the Soul of Poland"
          description="Explore hidden gems, rich history, and vibrant culture in one of Europe's most underrated cities"
          tag="Cultural Exploration"
          tagIcon={Compass}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767705066623-rwp1fy3d.jpg"
          imageAlt="Historic Polish city with traditional architecture"
          buttons={[
            {
              text: "Start Your Journey",
              href: "contact"
            },
            {
              text: "Learn More",
              href: "culture"
            }
          ]}
        />
      </div>

      <div id="culture" data-section="culture">
        <TextSplitAbout
          title="Rich Cultural Heritage"
          description={[
            "Poland's cities are living museums of European history, culture, and artistic tradition. Each cobblestone street tells stories of centuries past, from medieval times through renaissance splendor to contemporary vibrancy.",
            "Beyond the well-trodden tourist paths lie authentic neighborhoods where locals gather, where traditional crafts endure, and where modern creativity thrives alongside centuries-old architecture. This is where true cultural tourism happens—in genuine connection with place and people."
          ]}
          showBorder={true}
          useInvertedBackground="noInvert"
          buttons={[
            {
              text: "Explore Attractions",
              href: "attractions"
            }
          ]}
        />
      </div>

      <div id="attractions" data-section="attractions">
        <FeatureCardEleven
          title="Must-See Destinations"
          description="Discover the landmarks and hidden gems that define authentic Polish cultural experience"
          tag="Top Attractions"
          tagIcon={MapPin}
          features={[
            {
              id: 1,
              title: "Historic Old Town",
              description: "Wander through perfectly preserved medieval squares ringed by colorful Renaissance townhouses, live street performances, and authentic local cafes where time moves slowly.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767705068422-qnkxa21w.jpg",
              imageAlt: "Historic Polish old town square"
            },
            {
              id: 2,
              title: "Royal Fortifications",
              description: "Explore majestic castles perched on hillsides, showcasing centuries of architectural evolution and royal grandeur. Museums inside reveal royal artifacts, art, and the region's political history.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767705070662-whvbizaa.jpg",
              imageAlt: "Polish castle fortress landmark"
            },
            {
              id: 3,
              title: "Local Markets & Bazaars",
              description: "Experience authentic market culture where vendors sell traditional handicrafts, regional foods, and artisanal goods. These gathering places pulse with local energy and authentic cultural exchange.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767705073468-8btvkq35.jpg",
              imageAlt: "Traditional Polish market and local culture"
            },
            {
              id: 4,
              title: "Natural Landscapes",
              description: "Venture beyond the city to pristine countryside, national parks, and riverside trails offering respite and natural beauty. Perfect for travelers seeking balance between cultural immersion and outdoor exploration.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767705075698-qma5oq7e.jpg",
              imageAlt: "Polish countryside and scenic landscape"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          usePrimaryButtonImage={false}
        />
      </div>

      <div id="experiences" data-section="experiences">
        <PricingCardEight
          title="Curated Travel Experiences"
          description="Choose the perfect itinerary to match your interests and travel style"
          tag="Travel Packages"
          tagIcon={Backpack}
          plans={[
            {
              id: "cultural-immersion",
              badge: "Popular",
              badgeIcon: Star,
              price: "$1,200",
              subtitle: "5-day cultural deep dive",
              buttons: [
                {
                  text: "Book Now",
                  href: "contact"
                }
              ],
              features: [
                "Guided historic walking tours",
                "Local cooking class with traditional meal",
                "Museum entry and behind-the-scenes access",
                "Small group cultural meetings",
                "4 nights accommodation"
              ]
            },
            {
              id: "quick-escape",
              badge: "Best Value",
              badgeIcon: Sparkles,
              price: "$650",
              subtitle: "3-day weekend getaway",
              buttons: [
                {
                  text: "Book Now",
                  href: "contact"
                }
              ],
              features: [
                "Highlights walking tour",
                "Traditional dinner experience",
                "Castle or museum visit",
                "2 nights accommodation",
                "Local transit pass"
              ]
            },
            {
              id: "extended-explorer",
              badge: "Comprehensive",
              badgeIcon: Compass,
              price: "$2,100",
              subtitle: "10-day explorer package",
              buttons: [
                {
                  text: "Book Now",
                  href: "contact"
                }
              ],
              features: [
                "Multi-city itinerary",
                "Daily guided experiences",
                "Cooking, art, and history workshops",
                "Countryside excursion",
                "9 nights accommodation",
                "All meals and transit included"
              ]
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardThirteen
          title="Traveler Stories"
          description="Real experiences from cultural travelers who discovered authentic Poland"
          tag="Guest Reviews"
          tagIcon={Heart}
          testimonials={[
            {
              id: "1",
              name: "Sarah Mitchell",
              handle: "@sarahwanders",
              testimonial: "Finally experienced authentic Poland beyond the guidebooks. The local connections made this trip unforgettable. Every meal, every conversation felt genuine and enriching.",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767705080437-sdy42uht.jpg",
              imageAlt: "Sarah Mitchell"
            },
            {
              id: "2",
              name: "James Rodriguez",
              handle: "@jamesexplores",
              testimonial: "The cultural immersion package was worth every penny. Walking through centuries-old streets with someone who actually lives there changes your perspective completely.",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767705082131-ow5iprjr.jpg",
              imageAlt: "James Rodriguez"
            },
            {
              id: "3",
              name: "Emma Chen",
              handle: "@emmatravels",
              testimonial: "I came for the history, stayed for the people. The cooking class, the market visits, the conversations—this felt like visiting a friend's hometown, not a typical tour.",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767705083806-9z3w7lb7.jpg",
              imageAlt: "Emma Chen"
            },
            {
              id: "4",
              name: "Marcus Thompson",
              handle: "@marcusadventures",
              testimonial: "Avoided the tourist traps completely. Every recommendation led to genuine, local experiences. This is how travel should be—real connection with real places.",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767705085467-izxypqeg.jpg",
              imageAlt: "Marcus Thompson"
            }
          ]}
          showRating={true}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqSplitText
          sideTitle="Frequently Asked Questions"
          sideDescription="Everything you need to know about planning your authentic Polish cultural experience"
          textPosition="left"
          useInvertedBackground="noInvert"
          faqs={[
            {
              id: "1",
              title: "When is the best time to visit?",
              content: "Spring (April-May) and fall (September-October) offer perfect weather and fewer crowds. Summer is vibrant with festivals and events, while winter brings magical Christmas markets and snowy landscapes. Each season reveals different facets of Polish culture."
            },
            {
              id: "2",
              title: "Do I need a visa?",
              content: "EU and Schengen area citizens can travel freely. US, Canada, and Australian citizens can visit for 90 days visa-free. Check current requirements based on your passport. We provide guidance during booking."
            },
            {
              id: "3",
              title: "Is it budget-friendly?",
              content: "Absolutely. Poland offers exceptional value—meals, accommodation, and activities cost significantly less than Western Europe. Our budget-conscious experiences deliver authenticity without breaking the bank."
            },
            {
              id: "4",
              title: "What about language barriers?",
              content: "Young Poles speak excellent English, especially in cities. We provide guides fluent in your language for all experiences. Learning a few Polish phrases delights locals and deepens cultural connection."
            },
            {
              id: "5",
              title: "How do I get around cities?",
              content: "Excellent public transportation via trams and buses. City centers are highly walkable. We include transit passes with packages. Bike rentals and walking tours are our preferred exploration methods."
            },
            {
              id: "6",
              title: "What's included in packages?",
              content: "Accommodation, guided experiences, most meals, museum entries, and local transit. Flights not included. Detailed itineraries sent after booking. Full customization available for specific interests."
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactInline
          text="Ready to experience authentic Poland?"
          animationType="reveal-blur"
          inputPlaceholder="Enter your email to start planning"
          buttonText="Begin Journey"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseCard
          logoText="Polish Cultural Journeys"
          columns={[
            {
              title: "Explore",
              items: [
                {
                  label: "Attractions",
                  href: "#attractions"
                },
                {
                  label: "Experiences",
                  href: "#experiences"
                },
                {
                  label: "Travel Guide",
                  href: "#culture"
                }
              ]
            },
            {
              title: "Company",
              items: [
                {
                  label: "About Us",
                  href: "#culture"
                },
                {
                  label: "Contact",
                  href: "#contact"
                },
                {
                  label: "Blog",
                  href: "#"
                }
              ]
            },
            {
              title: "Support",
              items: [
                {
                  label: "FAQ",
                  href: "#faq"
                },
                {
                  label: "Booking Help",
                  href: "#contact"
                },
                {
                  label: "Travel Tips",
                  href: "#"
                }
              ]
            }
          ]}
          copyrightText="© 2025 Polish Cultural Journeys. Authentic experiences, real connections."
        />
      </div>
    </ThemeProvider>
  );
}