"use client";

import Link from 'next/link';
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleMinimal from '@/components/navbar/NavbarStyleMinimal';
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
import InlineImageSplitTextAbout from '@/components/sections/about/InlineImageSplitTextAbout';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import TeamCardTen from '@/components/sections/team/TeamCardTen';
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';
import MetricCardThree from '@/components/sections/metrics/MetricCardThree';
import FooterBase from '@/components/sections/footer/FooterBase';
import { Sparkles, Film, Award, TrendingUp, Users, Globe } from 'lucide-react';

export default function HomePage() {
  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="compact"
      sizing="large"
      background="circleGradient"
      cardStyle="gradient-mesh"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="layered"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleMinimal 
          brandName="Happy Bee"
          button={{
            text: "Get In Touch",
            href: "/contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboard
          title="Bringing Stories to Life"
          description="Happy Bee Studios creates award-winning films that captivate audiences worldwide. From concept to screen, we deliver cinematic excellence."
          background={{ variant: "sparkles-gradient" }}
          tag="Award-Winning Productions"
          tagIcon={Sparkles}
          imageSrc="https://img.b2bpic.net/free-photo/professional-cameraman-recording-poeple-watching-football-public-place-night_1268-18138.jpg"
          imageAlt="Film production in action at Happy Bee Studio"
          buttons={[
            { text: "View Our Films", href: "/films" },
            { text: "Learn More", href: "/about" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <InlineImageSplitTextAbout
          heading={[
            { type: "text", content: "Crafting compelling narratives with" },
            { type: "image", src: "https://img.b2bpic.net/free-photo/professional-camera-tripod_1268-20718.jpg", alt: "Happy Bee Studio" },
            { type: "text", content: "passion and precision" }
          ]}
          useInvertedBackground="invertDefault"
          buttons={[
            { text: "Explore Our Story", href: "/about" },
            { text: "Work With Us", href: "/contact" }
          ]}
        />
      </div>

      <div id="featured-films" data-section="featured-films">
        <ProductCardTwo
          title="Featured Productions"
          description="Discover our latest cinematic masterpieces that have captivated audiences and critics alike"
          tag="Latest Releases"
          tagIcon={Film}
          products={[
            {
              id: "1",
              brand: "Happy Bee Studios",
              name: "The Infinite Journey",
              price: "2024 Award Winner",
              rating: 5,
              reviewCount: "12.4k",
              imageSrc: "https://img.b2bpic.net/free-photo/medium-shot-man-holding-photo-camera_23-2149537027.jpg",
              imageAlt: "The Infinite Journey movie poster"
            },
            {
              id: "2",
              brand: "Happy Bee Studios",
              name: "Silent Echoes",
              price: "Audience Favorite",
              rating: 5,
              reviewCount: "9.8k",
              imageSrc: "https://img.b2bpic.net/free-photo/camcorder-camera-with-film-reels-popcorn_23-2148188210.jpg",
              imageAlt: "Silent Echoes movie poster"
            },
            {
              id: "3",
              brand: "Happy Bee Studios",
              name: "Neon Dreams",
              price: "Critically Acclaimed",
              rating: 5,
              reviewCount: "15.2k",
              imageSrc: "https://img.b2bpic.net/free-photo/arrangement-cinema-objects-close-up_23-2148457829.jpg",
              imageAlt: "Neon Dreams movie poster"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          buttons={[
            { text: "View All Films", href: "/films" }
          ]}
        />
      </div>

      <div id="team" data-section="team">
        <TeamCardTen
          title="Meet the Creative Minds Behind Happy Bee"
          tag="Our Talented Team"
          members={[
            {
              id: "1",
              name: "Alexandra Chen",
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-bearded-young-reporter-with-photo-camera-dark-photo-studio_613910-3843.jpg",
              imageAlt: "Alexandra Chen, Director"
            },
            {
              id: "2",
              name: "Marcus Williams",
              imageSrc: "https://img.b2bpic.net/free-photo/traveler-female-holds-digital-photo-camera-takeaway-coffee-grey-background_613910-737.jpg",
              imageAlt: "Marcus Williams, Producer"
            },
            {
              id: "3",
              name: "Sophie Laurent",
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-bearded-young-reporter-with-photo-camera-dark-photo-studio_613910-12968.jpg",
              imageAlt: "Sophie Laurent, Cinematographer"
            }
          ]}
          memberVariant="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwo
          title="What Industry Leaders Say"
          description="Trusted by actors, producers, and directors from around the world"
          tag="Industry Recognition"
          tagIcon={Award}
          testimonials={[
            {
              id: "1",
              name: "Isabella Martinez",
              role: "Award-Winning Actress",
              testimonial: "Happy Bee Studios brought my character to life in ways I never imagined. Their creative vision and technical expertise are unmatched.",
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-brutal-bearded-macho-male-dressed-suit-dark-grey-background_613910-1524.jpg",
              imageAlt: "Isabella Martinez"
            },
            {
              id: "2",
              name: "James Richardson",
              role: "Executive Producer",
              testimonial: "Working with Happy Bee was transformative. They understood our vision and delivered a film that exceeded all expectations.",
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-brutal-bearded-macho-male-dressed-suit-dark-grey-background_613910-9486.jpg",
              imageAlt: "James Richardson"
            },
            {
              id: "3",
              name: "Yuki Tanaka",
              role: "Acclaimed Director",
              testimonial: "Their attention to detail and passion for storytelling sets them apart. Happy Bee is the gold standard in film production.",
              imageSrc: "https://img.b2bpic.net/free-photo/bearded-black-man-wearing-suit-felt-hat_613910-16012.jpg",
              imageAlt: "Yuki Tanaka"
            },
            {
              id: "4",
              name: "Amara Okonkwo",
              role: "Content Creator",
              testimonial: "Happy Bee transformed our raw footage into a masterpiece. Their post-production team is simply incredible.",
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-brutal-bearded-macho-male-dressed-suit-dark-grey-background_613910-9483.jpg",
              imageAlt: "Amara Okonkwo"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          carouselMode="buttons"
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardThree
          title="Happy Bee by the Numbers"
          description="Our track record speaks to our commitment to excellence and industry leadership"
          tag="Studio Achievements"
          tagIcon={TrendingUp}
          metrics={[
            {
              id: "1",
              icon: Film,
              title: "Films Produced",
              value: "47+"
            },
            {
              id: "2",
              icon: Award,
              title: "Awards Won",
              value: "89"
            },
            {
              id: "3",
              icon: Users,
              title: "Audience Reach",
              value: "50M+"
            },
            {
              id: "4",
              icon: Globe,
              title: "Countries",
              value: "65"
            }
          ]}
          animationType="scale-rotate"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBase
          logoText="Happy Bee Studios"
          copyrightText="© 2025 Happy Bee Movie Studio. All rights reserved."
          columns={[
            {
              title: "Company",
              items: [
                { label: "About Us", href: "/about" },
                { label: "Our Films", href: "/films" },
                { label: "Team", href: "/team" }
              ]
            },
            {
              title: "Services",
              items: [
                { label: "Production", href: "/" },
                { label: "Post-Production", href: "/" },
                { label: "Consultancy", href: "/" }
              ]
            },
            {
              title: "Connect",
              items: [
                { label: "Contact Us", href: "/contact" },
                { label: "Partnerships", href: "/contact" },
                { label: "Careers", href: "/contact" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}