"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import HeroLogo from '@/components/sections/hero/HeroLogo';
import AboutMetric from '@/components/sections/about/AboutMetric';
import FeatureCardEight from '@/components/sections/feature/FeatureCardEight';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import TeamCardOne from '@/components/sections/team/TeamCardOne';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import { Users, Archive, Clock, Globe } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="expand-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="compact"
      sizing="mediumSizeLargeTitles"
      background="animatedAurora"
      cardStyle="gradient-radial"
      primaryButtonStyle="flat"
      secondaryButtonStyle="layered"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="WW2 Museum"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "History", id: "about" },
            { name: "Exhibits", id: "feature" },
            { name: "Visits", id: "contact" },
            { name: "Learn More", id: "faq" }
          ]}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroLogo
          logoText="WW2 Museum"
          description="Preserving History, Educating Future Generations. Explore the stories, artifacts, and lessons from World War II."
          buttons={[{"text":"Explore Exhibits","href":"https://gitea.webild.io/development/99fae003-67ce-4295-aeb8-94fcd4f67082/commit/9a5d5d0966700cea4f20a98873af8a086d78c150"},
            { text: "Plan Your Visit", href: "contact" }]}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766491397691-r82abfj9.jpg"
          imageAlt="WW2 Memorial Monument"
          showDimOverlay={true}
        />
      </div>

      <div id="about" data-section="about">
        <AboutMetric
          title="Preserving the Legacy of World War II Through Education and Remembrance"
          metrics={[
            { icon: Users, label: "Annual Visitors", value: "250,000+" },
            { icon: Archive, label: "Artifacts in Collection", value: "50,000+" },
            { icon: Clock, label: "Years of History", value: "1939-1945" },
            { icon: Globe, label: "Stories Documented", value: "1,000+" }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="feature" data-section="feature">
        <FeatureCardEight
          title="Journey Through Key WW2 Events"
          description="Experience the turning points that shaped the course of history"
          tag="Historical Timeline"
          features={[
            {
              id: 1,
              title: "The War Begins",
              description: "Understand the origins of World War II and the early strategies of major powers in 1939-1941.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766491399675-e4ksd554.jpg",
              imageAlt: "Pearl Harbor Attack December 1941"
            },
            {
              id: 2,
              title: "The Turning Point",
              description: "Explore the pivotal D-Day invasion and Pacific campaigns that shifted momentum in 1944.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766491400288-lwlcdmf8.jpg",
              imageAlt: "D-Day Landing Normandy 1944"
            },
            {
              id: 3,
              title: "Victory and Peace",
              description: "Learn about the final campaigns, surrender ceremonies, and the path to peace in 1945.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766491400904-75xefkwg.jpg",
              imageAlt: "VE Day Victory in Europe 1945"
            },
            {
              id: 4,
              title: "The Home Front",
              description: "Discover how the war affected civilians, families, and communities on the home front.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766491402170-h5m4flic.jpg",
              imageAlt: "Home Front Exhibition Display"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonial" data-section="testimonial">
        <TestimonialCardFifteen
          testimonial="This museum is a profound and moving experience. The exhibits are meticulously curated and provide invaluable insights into one of history's most significant periods. A must-visit for anyone interested in preserving memory and learning from history."
          rating={5}
          author="Dr. Michael Patterson, History Professor"
          avatars={[
            { src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766491405910-n2jdg6al.jpg", alt: "Visitor 1" },
            { src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766491406561-8cuqlxny.jpg", alt: "Visitor 2" },
            { src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766491407154-2lkb6b2p.jpg", alt: "Visitor 3" },
            { src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766491407821-hzwtbrsg.jpg", alt: "Visitor 4" }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqSplitMedia
          title="Frequently Asked Questions"
          description="Find answers about visiting our museum and learning about WW2 history"
          tag="Museum Info"
          faqs={[
            { id: "1", title: "What are the museum hours?", content: "We are open Tuesday through Sunday from 9:00 AM to 5:00 PM. Closed Mondays and major holidays. Special extended hours available for group tours." },
            { id: "2", title: "Is there an admission fee?", content: "Yes. Adults: $15, Students/Seniors: $10, Children under 12: Free. Group discounts available for parties of 10 or more." },
            { id: "3", title: "How long does a typical visit take?", content: "Most visitors spend 2-3 hours exploring our exhibits. Audio guides available add approximately 1-2 additional hours for in-depth learning." },
            { id: "4", title: "Are guided tours available?", content: "Yes, we offer guided tours daily at 10 AM, 1 PM, and 3 PM. Private group tours can be arranged with advance booking." },
            { id: "5", title: "Is the museum wheelchair accessible?", content: "Completely. All exhibits are wheelchair accessible with accessible restrooms and parking available." },
            { id: "6", title: "Can I bring children?", content: "Absolutely. We have family-friendly exhibits and interactive displays designed for all ages. Activity guides provided for children." }
          ]}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766491402816-c6eq0spc.jpg"
          imageAlt="Museum Learning Experience"
          mediaPosition="left"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="smooth"
        />
      </div>

      <div id="contact" data-section="contact">
        <TeamCardOne
          title="Meet Our Team"
          description="The dedicated professionals preserving and sharing World War II history"
          tag="Our Team"
          members={[
            {
              id: "1",
              name: "Dr. James Morrison",
              role: "Museum Director",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766493180997-hacq0ksm.jpg",
              imageAlt: "Portrait of Dr. James Morrison"
            },
            {
              id: "2",
              name: "Sarah Chen",
              role: "Curator",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766491406561-8cuqlxny.jpg",
              imageAlt: "Portrait of Sarah Chen"
            },
            {
              id: "3",
              name: "Robert Williams",
              role: "Education Manager",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766491407154-2lkb6b2p.jpg",
              imageAlt: "Portrait of Robert Williams"
            },
            {
              id: "4",
              name: "Emily Roberts",
              role: "Archives Specialist",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766491407821-hzwtbrsg.jpg",
              imageAlt: "Portrait of Emily Roberts"
            }
          ]}
          textboxLayout="default"
          animationType="slide-up"
          gridVariant="uniform-all-items-equal"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoReveal
          logoText="WW2 Museum"
        />
      </div>
    </ThemeProvider>
  );
}