"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
import FeatureBorderGlow from '@/components/sections/feature/featureBorderGlow/FeatureBorderGlow';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import TeamCardEleven from '@/components/sections/team/TeamCardEleven';
import BlogCardTwo from '@/components/sections/blog/BlogCardTwo';
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
import PricingCardTwo from '@/components/sections/pricing/PricingCardTwo';
import ContactText from '@/components/sections/contact/ContactText';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import { Radio, Mic, Headphones, Share2, Smartphone, GraduationCap, HeartHandshake, ScrollText, Users, Sparkles, Crown, Star } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-shift"
      defaultTextAnimation="background-highlight"
      borderRadius="soft"
      contentWidth="mediumSmall"
      sizing="mediumLarge"
      background="circleGradient"
      cardStyle="solid"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="solid"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="AGIDIGBO FM"
          logoSrc="http://img.b2bpic.net/free-photo/leisure-calm-chill-relax-rest-serenity-wellness_53876-13846.jpg"
          logoAlt="agidigbo fm logo royal gold black"
          navItems={[
            { name: "Listen Live", id: "#live-radio" },
            { name: "Programs", id: "#programs" },
            { name: "Presenters", id: "#presenters" },
            { name: "News", id: "#news" },
            { name: "Community", id: "#community-impact" },
            { name: "Advertise", id: "#advertise" },
            { name: "Contact", id: "#stay-connected" }
          ]}
          topBarButton={{ text: "Listen Live", href: "#live-radio" }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplitKpi
          title="The Voice of the People. The Sound of Excellence."
          description="Broadcasting news, culture, entertainment, and conversations that matter—24 hours a day. Tune in live to connect with your community."
          background={{ variant: "radial-gradient" }}
          kpis={[
            { value: "24/7", label: "Live Broadcasts" },
            { value: "1.2M+", label: "Daily Listeners" },
            { value: "Top 10", label: "Community Reach" }
          ]}
          enableKpiAnimation={true}
          buttons={[
            { text: "Listen Live", href: "#live-radio" },
            { text: "View Program Schedule", href: "#programs" }
          ]}
          imageSrc="http://img.b2bpic.net/free-photo/young-male-blogger-recording-station_1303-22010.jpg"
          imageAlt="cinematic radio studio on air broadcasters"
          mediaAnimation="slide-up"
          ariaLabel="AGIDIGBO FM Hero Section"
          imagePosition="right"
          useInvertedBackground={false}
        />
      </div>

      <div id="live-radio" data-section="live-radio">
        <FeatureBorderGlow
          title="Experience Live Radio, Anytime, Anywhere."
          description="Immerse yourself in real-time broadcasts. See what's currently playing, who's presenting, and join thousands of listeners engaging with content that matters. Our premium player brings the studio to you."
          features={[
            { icon: Radio, title: "Live Streaming Player", description: "Access our broadcast 24/7 with crystal-clear audio quality directly from your browser." },
            { icon: Mic, title: "Current Show & Presenter Info", description: "Always know what's on, who's hosting, and discover new voices in African media." },
            { icon: Headphones, title: "Now Playing & Listener Count", description: "Get real-time updates on music tracks, topics, and how many are tuned in with you." },
            { icon: Share2, title: "Quick Share & Premium Controls", description: "Share your favorite moments and manage your listening experience with intuitive, large audio controls." },
            { icon: Smartphone, title: "Mobile App & Smart Devices", description: "Listen on the go with our dedicated mobile app (iOS/Android) or through your smart home devices." }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
          ariaLabel="Live Radio Experience Section"
        />
      </div>

      <div id="programs" data-section="programs">
        <ProductCardFour
          title="Our Signature Programs & Shows"
          description="Explore a diverse range of programs spanning news, politics, entertainment, and cultural discussions, curated for our discerning audience."
          products={[
            { id: "program-news-politics", name: "Morning Agenda", price: "Live", variant: "News & Politics", imageSrc: "http://img.b2bpic.net/free-photo/young-people-working-with-professional-radio-equipment_23-2148815379.jpg", imageAlt: "news program host studio african" },
            { id: "program-entertainment", name: "Cultural Rhythm", price: "Daily", variant: "Culture & Music", imageSrc: "http://img.b2bpic.net/free-photo/classmates-learning-together-from-notes-laptop_23-2149265843.jpg", imageAlt: "sports radio program vibrant host" },
            { id: "program-talk", name: "Community Voices", price: "Weekly", variant: "Community Talk", imageSrc: "http://img.b2bpic.net/free-photo/people-running-podcast-with-microphones-headphones-from-studio_23-2149434309.jpg", imageAlt: "african culture program traditional elements" },
            { id: "program-sports", name: "Sporting Arena", price: "Live Scores", variant: "Sports Analysis", imageSrc: "http://img.b2bpic.net/free-photo/e-sport-streamer-being-upset-losing-space-shoot-video-game-championship-playing-computer_482257-2102.jpg", imageAlt: "music program dj set radio station" },
            { id: "program-business", name: "Market Pulse", price: "Insights", variant: "Business & Finance", imageSrc: "http://img.b2bpic.net/free-photo/3d-background-with-globe-programming-code_1048-5911.jpg", imageAlt: "cultural heritage discussion radio" },
            { id: "program-lifestyle", name: "Lifestyle & Wellness", price: "Tips", variant: "Lifestyle & Health", imageSrc: "http://img.b2bpic.net/free-photo/top-view-girl-wearing-headphones_23-2149829758.jpg", imageAlt: "tech trends discussion radio african" }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          ariaLabel="Featured Programs Section"
        />
      </div>

      <div id="presenters" data-section="presenters">
        <TeamCardEleven
          title="Meet Our Influential Voices"
          description="Our team of seasoned broadcasters and media personalities are the trusted voices that bring you news, insights, and entertainment every day."
          groups={[
            { id: "main-presenters", groupTitle: "Lead Broadcasters", members: [
              { id: "presenter-1", title: "Aisha Bello", subtitle: "Head of News", detail: "Aisha's authoritative voice delivers crucial news and incisive political analysis, shaping public discourse.", imageSrc: "http://img.b2bpic.net/free-photo/young-woman-with-cup-headphones-red-background-high-quality-photo_114579-60893.jpg", imageAlt: "professional african male radio presenter" },
              { id: "presenter-2", title: "Kunle Adeyemi", subtitle: "Morning Show Host", detail: "Kunle brings energy and wit to kickstart your day with engaging discussions and captivating interviews.", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-making-podcast_23-2149386571.jpg", imageAlt: "african female radio journalist serious" },
              { id: "presenter-3", title: "Funmi Coker", subtitle: "Culture & Entertainment Lead", detail: "Funmi explores the richness of African culture and the latest in entertainment with passion and insight.", imageSrc: "http://img.b2bpic.net/free-photo/military-man-suffering-from-ptsd_23-2149307571.jpg", imageAlt: "african male host engaging studio" },
              { id: "presenter-4", title: "Tunde Olaniyan", subtitle: "Sports Analyst", detail: "Tunde provides unparalleled sports analysis and lively commentary, keeping you updated on all the action.", imageSrc: "http://img.b2bpic.net/free-photo/smiling-photographer-posing_23-2148019162.jpg", imageAlt: "african male presenter dynamic pose" },
              { id: "presenter-5", title: "Ngozi Okafor", subtitle: "Community Engagement", detail: "Ngozi drives impactful conversations on social issues, fostering community development and awareness.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-afro-american-latin-woman-listening-music-with-headphones-street-outdoors_58466-11830.jpg", imageAlt: "african female radio personality vibrant" },
              { id: "presenter-6", title: "Dapo Balogun", subtitle: "Business & Economy", detail: "Dapo demystifies the world of business and finance, offering practical insights for growth and stability.", imageSrc: "http://img.b2bpic.net/free-photo/co-working-people-working-together_23-2149328319.jpg", imageAlt: "african male radio host energetic" }
            ]}]
          }
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
          ariaLabel="Meet Our Presenters Section"
        />
      </div>

      <div id="news" data-section="news">
        <BlogCardTwo
          title="Latest News & Trending Stories"
          description="Stay informed with our comprehensive coverage of local and international news, cultural stories, and insightful community reports. Your premium digital newsroom awaits."
          blogs={[
            { id: "news-1", category: "Politics", title: "Navigating the Political Landscape: An In-depth Analysis", excerpt: "Our experts break down the recent legislative changes and their potential impact on the community.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-plus-size-male-social-media-influencer_23-2151396794.jpg", imageAlt: "african news feature article vibrant", authorName: "Aisha Bello", authorAvatar: "http://img.b2bpic.net/free-photo/young-male-blogger-recording-station_1303-22006.jpg", date: "Oct 26, 2023" },
            { id: "news-2", category: "Culture", title: "Celebrating African Heritage: The Annual Cultural Festival", excerpt: "A vibrant recap of the annual festival, showcasing rich traditions and artistic expressions from across the continent.", imageSrc: "http://img.b2bpic.net/free-photo/smiling-industry-expert-does-presentation-social-media-trends-showing-clips-dynamic-screen_482257-136430.jpg", imageAlt: "entertainment news africa celebrity", authorName: "Funmi Coker", authorAvatar: "http://img.b2bpic.net/free-photo/expressive-woman-posing-indoor_344912-265.jpg", date: "Oct 25, 2023" },
            { id: "news-3", category: "Community", title: "Empowering Youth: AGIDIGBO FM's New Initiative", excerpt: "Discover how our new community program is fostering entrepreneurship and leadership skills among young adults.", imageSrc: "http://img.b2bpic.net/free-photo/american-football-player-professional-stadium_654080-927.jpg", imageAlt: "sports news headline action shot", authorName: "Ngozi Okafor", authorAvatar: "http://img.b2bpic.net/free-photo/mature-businessman-with-laptop-looking-away_23-2147955281.jpg", date: "Oct 24, 2023" },
            { id: "news-4", category: "Entertainment", title: "The Rise of Afrobeats: A Global Phenomenon", excerpt: "From Lagos to London, explore the artists and sounds defining the future of global music. Featuring exclusive interviews.", imageSrc: "http://img.b2bpic.net/free-photo/top-view-food-notebook-arrangement_23-2148708222.jpg", imageAlt: "lifestyle trends blog post africa", authorName: "Kunle Adeyemi", authorAvatar: "http://img.b2bpic.net/free-photo/cyber-woman-gamer-talking-into-microphone-live-streaming-while-playing-online-video-games-space-shooter-championship-esport-player-using-rbg-computer-equipment-e-sport-tournament_482257-41016.jpg", date: "Oct 23, 2023" },
            { id: "news-5", category: "Business", title: "Decoding the Naira: Economic Forecasts for Q4", excerpt: "Our business analysts provide key insights and predictions for the Nigerian economy in the coming quarter.", imageSrc: "http://img.b2bpic.net/free-photo/side-view-surprised-friends-reading-messages_23-2150104900.jpg", imageAlt: "arts and culture review vibrant", authorName: "Dapo Balogun", authorAvatar: "http://img.b2bpic.net/free-photo/influencer-filming-keyboard-review-pressing-different-buttons-show-typing-capabilities_482257-123040.jpg", date: "Oct 22, 2023" },
            { id: "news-6", category: "Sports", title: "World Cup Qualifiers: African Teams' Journey", excerpt: "A look at the performance and prospects of African teams as they battle for a spot in the next World Cup.", imageSrc: "http://img.b2bpic.net/free-photo/med-school-student-takes-personal-notes-from-anatomy-research-papers_482257-117781.jpg", imageAlt: "business success story african", authorName: "Tunde Olaniyan", authorAvatar: "http://img.b2bpic.net/free-photo/business-concept-confident-thoughtful-young-african-american-pointing-finger-side-grey-background_1258-104046.jpg", date: "Oct 21, 2023" }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          ariaLabel="Latest News & Stories Section"
        />
      </div>

      <div id="community-impact" data-section="community-impact">
        <MetricCardOne
          title="Empowering Communities Through Media"
          description="AGIDIGBO FM is deeply committed to fostering positive change. We leverage our platform to educate, preserve culture, and drive community development."
          metrics={[
            { id: "metric-1", icon: GraduationCap, value: "300K+", title: "Lives Educated", description: "Through educational programming and public awareness campaigns." },
            { id: "metric-2", icon: HeartHandshake, value: "150+", title: "Community Projects", description: "Supported annually across diverse regions, promoting local initiatives." },
            { id: "metric-3", icon: ScrollText, value: "90%", title: "Cultural Preservation", description: "Of our content is dedicated to celebrating African heritage and traditions." },
            { id: "metric-4", icon: Users, value: "50K+", title: "Active Volunteers", description: "Engaging in various outreach programs, amplifying our impact." }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
          ariaLabel="Community Impact Section"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFifteen
          testimonial="\"AGIDIGBO FM is truly the voice of our people. The news is always timely, the music is inspiring, and the community discussions are invaluable. It's more than just radio; it's family.\""
          rating={5}
          author="Chief Okoro, Community Elder"
          avatars={[
            { src: "http://img.b2bpic.net/free-photo/medium-shot-colleagues-with-thumbs-up_23-2149008930.jpg", alt: "happy african listener smiling" },
            { src: "http://img.b2bpic.net/free-photo/drunk-upper-class-elite-society-member-being-loud-obnoxious-social-club_482257-125477.jpg", alt: "african man happy with radio" },
            { src: "http://img.b2bpic.net/free-photo/group-friends-celebrating-lifting-face-mask-restrictions-outdoors_23-2149384588.jpg", alt: "african woman with smartphone listening" },
            { src: "http://img.b2bpic.net/free-photo/girl-headphones-works-laptop-girl-with-laptop_169016-65975.jpg", alt: "african male happy radio listener" },
            { src: "http://img.b2bpic.net/free-photo/close-up-family-reunions-outdoors_23-2149071581.jpg", alt: "african female smiling radio listener" }
          ]}
          ratingAnimation="slide-up"
          avatarsAnimation="slide-up"
          useInvertedBackground={false}
          ariaLabel="Audience Testimonials Section"
        />
      </div>

      <div id="advertise" data-section="advertise">
        <PricingCardTwo
          title="Advertise With AGIDIGBO FM"
          description="Reach thousands through a trusted voice. Partner with us to connect your brand with our influential and engaged audience across diverse demographics."
          plans={[
            { id: "basic-package", badge: "Entry", badgeIcon: Sparkles, price: "Reach 100K+", subtitle: "Starter Exposure", buttons: [{ text: "Request Quote", href: "#stay-connected" }], features: ["30-second ad spots", "Peak & off-peak rotations", "Targeted demographics"] },
            { id: "premium-package", badge: "Popular", badgeIcon: Crown, price: "Reach 500K+", subtitle: "Maximized Impact", buttons: [{ text: "Request Quote", href: "#stay-connected" }], features: ["60-second prime-time slots", "Program sponsorships", "Digital banner placements", "Monthly performance reports"] },
            { id: "enterprise-package", badge: "Exclusive", badgeIcon: Star, price: "Reach 1M+", subtitle: "Full Brand Integration", buttons: [{ text: "Request Quote", href: "#stay-connected" }], features: ["Custom campaign development", "Exclusive show sponsorships", "Multi-platform digital integration", "Dedicated account manager", "Quarterly strategy sessions"] }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
          ariaLabel="Advertising Section"
        />
      </div>

      <div id="stay-connected" data-section="stay-connected" className="bg-[--background-accent]">
        <ContactText
          text="Stay Connected to Every Conversation."
          buttons={[
            { text: "Listen Live", href: "#live-radio" },
            { text: "Contact Us", href: "mailto:info@agidigbofm.com" },
            { text: "Advertise With Us", href: "#advertise" }
          ]}
          background={{ variant: "plain" }}
          useInvertedBackground={false}
          ariaLabel="Call-To-Action Section"
          textClassName="text-[--background]"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseCard
          logoSrc="http://img.b2bpic.net/free-photo/leisure-calm-chill-relax-rest-serenity-wellness_53876-13846.jpg"
          logoAlt="agidigbo fm logo royal gold black"
          logoText="AGIDIGBO FM"
          columns={[
            { title: "Company", items: [{ label: "About AGIDIGBO FM", href: "#" }, { label: "Our Presenters", href: "#presenters" }, { label: "Latest News", href: "#news" }, { label: "Community Impact", href: "#community-impact" }] },
            { title: "Programs", items: [{ label: "Program Schedule", href: "#programs" }, { label: "News & Current Affairs", href: "#news" }, { label: "Entertainment", href: "#programs" }, { label: "Culture & Education", href: "#programs" }] },
            { title: "Connect", items: [{ label: "Contact Us", href: "mailto:info@agidigbofm.com" }, { label: "WhatsApp Us", href: "https://wa.me/XXXXXXXXXX" }, { label: "Advertise With Us", href: "#advertise" }, { label: "Listen Live", href: "#live-radio" }] },
            { title: "Follow Us", items: [{ label: "Facebook", href: "https://facebook.com/agidigbofm" }, { label: "Twitter", href: "https://twitter.com/agidigbofm" }, { label: "Instagram", href: "https://instagram.com/agidigbofm" }, { label: "YouTube", href: "https://youtube.com/agidigbofm" }] }
          ]}
          copyrightText="© 2023 AGIDIGBO FM. All Rights Reserved."
          useInvertedBackground={true}
          ariaLabel="Site Footer"
        />
      </div>
    </ThemeProvider>
  );
}
