"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
import BlogCardThree from '@/components/sections/blog/BlogCardThree';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import { Sparkles, BookOpen, Mail } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="background-highlight"
      borderRadius="sharp"
      contentWidth="smallMedium"
      sizing="mediumLargeSizeLargeTitles"
      background="floatingGradient"
      cardStyle="glass-elevated"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={[
            { name: "Home", id: "home" },
            { name: "Articles", id: "articles" },
            { name: "Categories", id: "categories" },
            { name: "About", id: "about" },
            { name: "Contact", id: "contact" }
          ]}
          brandName="Editorial"
          bottomLeftText="Since 2024"
          bottomRightText="hello@editorial.com"
        />
      </div>
      
      <div id="hero" data-section="hero">
        <HeroBillboard
          title="Welcome to Editorial"
          description="Discover thoughtful articles on technology, design, business, lifestyle, and more. Join our community of curious minds exploring ideas that shape the future."
          background={{ variant: "sparkles-gradient" }}
          tag="New Stories Weekly"
          tagIcon={Sparkles}
          imageSrc="https://img.b2bpic.net/free-photo/from-notebook-glasses-near-laptop_23-2147768820.jpg"
          imageAlt="Blog editorial workspace"
          buttons={[
            { text: "Browse Articles", href: "articles" },
            { text: "Subscribe", href: "newsletter" }
          ]}
        />
      </div>
      
      <div id="articles" data-section="articles">
        <BlogCardThree
          title="Featured Articles"
          description="Our latest insights and stories handpicked for you"
          tag="Latest"
          tagIcon={BookOpen}
          blogs={[
            {
              id: "1",              category: "Technology",              title: "The Future of AI in Creative Work",              excerpt: "Exploring how artificial intelligence is transforming design, writing, and creative industries.",              imageSrc: "https://img.b2bpic.net/free-photo/woman-using-laptop-global-network-technology-digital-remix_53876-104961.jpg",              imageAlt: "AI and technology",              authorName: "Sarah Chen",              authorAvatar: "https://img.b2bpic.net/free-photo/woman-using-laptop-global-network-technology-digital-remix_53876-104961.jpg",              date: "Jan 15, 2025"
            },
            {
              id: "2",              category: "Design",              title: "Minimalism in Modern Web Design",              excerpt: "Understanding the principles of clean design and how less truly can be more.",              imageSrc: "https://img.b2bpic.net/free-photo/young-digital-nomad-businesswoman-sitting-with-laptop-city-centre-office-worker-using-computer-ou_1258-117417.jpg",              imageAlt: "Minimalist design concept",              authorName: "Marcus Rodriguez",              authorAvatar: "https://img.b2bpic.net/free-photo/young-digital-nomad-businesswoman-sitting-with-laptop-city-centre-office-worker-using-computer-ou_1258-117417.jpg",              date: "Jan 12, 2025"
            },
            {
              id: "3",              category: "Business",              title: "Building Sustainable Startups",              excerpt: "How emerging entrepreneurs are creating businesses with purpose and profitability.",              imageSrc: "https://img.b2bpic.net/free-photo/business-teamwork-meeting-concept_1421-551.jpg",              imageAlt: "Startup team collaboration",              authorName: "Emma Thompson",              authorAvatar: "https://img.b2bpic.net/free-photo/business-teamwork-meeting-concept_1421-551.jpg",              date: "Jan 10, 2025"
            },
            {
              id: "4",              category: "Lifestyle",              title: "Digital Wellness in 2025",              excerpt: "Strategies for maintaining mental health and balance in an increasingly connected world.",              imageSrc: "https://img.b2bpic.net/free-photo/business-person-using-laptop_53876-138158.jpg",              imageAlt: "Wellness and mindfulness",              authorName: "James Mitchell",              authorAvatar: "https://img.b2bpic.net/free-photo/business-person-using-laptop_53876-138158.jpg",              date: "Jan 8, 2025"
            },
            {
              id: "5",              category: "Travel",              title: "Slow Travel: Discovering Hidden Gems",              excerpt: "Why traveling slowly and intentionally leads to deeper cultural connections and memories.",              imageSrc: "https://img.b2bpic.net/free-photo/data-technology-blue-background-with-hacker-remixed-media_53876-108534.jpg",              imageAlt: "Travel and exploration",              authorName: "Lisa Patel",              authorAvatar: "https://img.b2bpic.net/free-photo/data-technology-blue-background-with-hacker-remixed-media_53876-108534.jpg",              date: "Jan 5, 2025"
            }
          ]}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="newsletter" data-section="newsletter">
        <ContactSplit
          tag="Newsletter"
          tagIcon={Mail}
          title="Stay Connected"
          description="Get our latest articles delivered straight to your inbox every week. No spam, just quality content."
          background={{ variant: "radial-gradient" }}
          useInvertedBackground="noInvert"
          imageSrc="https://img.b2bpic.net/free-photo/e-mail-global-communications-connection-social-networking-concept_53876-134026.jpg"
          imageAlt="Newsletter subscription"
          mediaPosition="right"
          inputPlaceholder="Enter your email address"
          buttonText="Subscribe"
          termsText="We respect your privacy. Unsubscribe at any time."
        />
      </div>
      
      <div id="footer" data-section="footer">
        <FooterLogoEmphasis
          logoText="Editorial"
          columns={[
            {
              items: [
                { label: "Home", href: "home" },
                { label: "Articles", href: "articles" },
                { label: "Categories", href: "categories" }
              ]
            },
            {
              items: [
                { label: "About Us", href: "about" },
                { label: "Contact", href: "contact" },
                { label: "Subscribe", href: "newsletter" }
              ]
            },
            {
              items: [
                { label: "Privacy Policy", href: "https://example.com/privacy" },
                { label: "Terms of Service", href: "https://example.com/terms" },
                { label: "RSS Feed", href: "https://example.com/rss" }
              ]
            },
            {
              items: [
                { label: "Twitter", href: "https://twitter.com/editorial" },
                { label: "LinkedIn", href: "https://linkedin.com/company/editorial" },
                { label: "Instagram", href: "https://instagram.com/editorial" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}