"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import HeroBillboardGallery from '@/components/sections/hero/HeroBillboardGallery';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import FeatureCardSeven from '@/components/sections/feature/FeatureCardSeven';
import ProductCardFive from '@/components/sections/product/ProductCardFive';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
import MetricCardTen from '@/components/sections/metrics/MetricCardTen';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterCard from '@/components/sections/footer/FooterCard';
import { Award, User, Zap, Star, Heart, Quote, BarChart3, Linkedin, Mail } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="elastic-effect"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="compact"
      sizing="largeSmallSizeLargeTitles"
      background="none"
      cardStyle="layered-gradient"
      primaryButtonStyle="outline"
      secondaryButtonStyle="glass"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple 
          brandName="Portfolio"
          navItems={[
            { name: "About", id: "about" },
            { name: "Work", id: "work" },
            { name: "Impact", id: "impact" },
            { name: "Contact", id: "contact" }
          ]}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardGallery 
          title="IB Student with Perfect Grades & a Passion for Change"
          description="Combining academic excellence with real-world impact through education and community service"
          tag="Academic Excellence"
          tagIcon={Award}
          buttons={[
            { text: "Explore My Work", href: "work" },
            { text: "Get in Touch", href: "contact" }
          ]}
          mediaItems={[
            { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766140152452-p4x3ah4p.jpg", imageAlt: "Professional portrait" },
            { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766400736715-h6xrke76.jpg", imageAlt: "Academic excellence showcase" },
            { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766908667464-s1krlgsd.jpg", imageAlt: "Community service work" },
            { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766484273512-laxrceeq.jpg", imageAlt: "Learning and education" },
            { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766347537329-jgeyxwm0.jpg", imageAlt: "Leadership and teamwork" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <TestimonialAboutCard 
          tag="About Me"
          tagIcon={User}
          title="IB Student Dedicated to Academic Excellence and Social Impact"
          description="Passionate learner from Thailand"
          subdescription="Perfect IB Diploma Candidate"
          icon={Zap}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766140152452-p4x3ah4p.jpg"
          imageAlt="Student portrait"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="work" data-section="work">
        <FeatureCardSeven 
          title="Key Achievements"
          description="Demonstrating commitment to excellence across academics and leadership"
          tag="Accomplishments"
          tagIcon={Star}
          textboxLayout="default"
          animationType="blur-reveal"
          useInvertedBackground="noInvert"
          features={[
            {
              id: 1,
              title: "Perfect IB Predicted Grades",
              description: "Consistently achieving top marks across all IB subjects with strong performance in both Higher and Standard Levels",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766400736715-h6xrke76.jpg",
              imageAlt: "Academic achievement"
            },
            {
              id: 2,
              title: "Extended Essay Excellence",
              description: "Completed a rigorous 4000-word research project demonstrating critical thinking and independent research capabilities",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766484273512-laxrceeq.jpg",
              imageAlt: "Research and learning"
            },
            {
              id: 3,
              title: "Theory of Knowledge Mastery",
              description: "Engaged deeply with epistemological questions and developed nuanced understanding across multiple disciplines",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766908669364-cg60cda4.jpg",
              imageAlt: "Knowledge and mentoring"
            },
            {
              id: 4,
              title: "Creativity, Activity, Service",
              description: "Over 200 hours of community engagement through nonprofit initiative, demonstrating holistic development",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766908667464-s1krlgsd.jpg",
              imageAlt: "Community service"
            }
          ]}
        />
      </div>

      <div id="impact" data-section="impact">
        <ProductCardFive 
          title="Nonprofit Initiative: Education for All"
          description="Leading a community-driven nonprofit focused on providing quality education to underprivileged students"
          tag="Social Impact"
          tagIcon={Heart}
          textboxLayout="default"
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          products={[
            {
              id: "1",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766484273512-laxrceeq.jpg",
              imageAlt: "Student learning",
              button: { text: "Learn More" }
            },
            {
              id: "2",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766347537329-jgeyxwm0.jpg",
              imageAlt: "Community impact",
              button: { text: "View Impact" }
            },
            {
              id: "3",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766908667464-s1krlgsd.jpg",
              imageAlt: "Volunteer work",
              button: { text: "Get Involved" }
            }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFive 
          title="What Others Say"
          description="Recommendations from teachers, mentors, and community leaders"
          tag="Testimonials"
          tagIcon={Quote}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          testimonials={[
            {
              id: "1",
              name: "Mr. James Chen, IB Coordinator",
              date: "Date: January 2024",
              title: "Exceptional Academic Commitment",
              quote: "This student demonstrates outstanding dedication to their IB studies. The quality of thinking in their Extended Essay is remarkable for their age.",
              tag: "Teacher",
              avatarSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766908669364-cg60cda4.jpg",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766400736715-h6xrke76.jpg"
            },
            {
              id: "2",
              name: "Ms. Sarah Williams, CAS Coordinator",
              date: "Date: December 2023",
              title: "Natural Leader with Heart",
              quote: "The nonprofit initiative led by this student has positively impacted over 500 students in the community. Their leadership is inspiring.",
              tag: "Educator",
              avatarSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766908669364-cg60cda4.jpg",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766908667464-s1krlgsd.jpg"
            },
            {
              id: "3",
              name: "Dr. Priya Sharma, University Counselor",
              date: "Date: November 2023",
              title: "Well-Rounded Global Citizen",
              quote: "This student embodies the qualities top universities seek - intellectual excellence, social consciousness, and genuine compassion.",
              tag: "Counselor",
              avatarSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766908669364-cg60cda4.jpg",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766347537329-jgeyxwm0.jpg"
            },
            {
              id: "4",
              name: "Community Leader - Local Organization",
              date: "Date: October 2023",
              title: "A True Change-Maker",
              quote: "Working with this student has shown me what dedicated youth can accomplish. They are a beacon of hope for their generation.",
              tag: "Community",
              avatarSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766908669364-cg60cda4.jpg",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766908667464-s1krlgsd.jpg"
            },
            {
              id: "5",
              name: "Peer - Student Leadership Team",
              date: "Date: September 2023",
              title: "Inspiring Peer and Friend",
              quote: "Their ability to balance academic excellence with genuine care for others is something we all admire and try to emulate.",
              tag: "Peer",
              avatarSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766908669364-cg60cda4.jpg",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766347537329-jgeyxwm0.jpg"
            },
            {
              id: "6",
              name: "Parent - Scholarship Recipient",
              date: "Date: August 2023",
              title: "A Light in Our Community",
              quote: "This young leader helped my child access quality education. We are forever grateful for their initiative and compassion.",
              tag: "Community",
              avatarSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766908669364-cg60cda4.jpg",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766908667464-s1krlgsd.jpg"
            }
          ]}
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardTen 
          title="Impact by Numbers"
          description="Measurable achievements and contributions"
          tag="Statistics"
          tagIcon={BarChart3}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="slide-up"
          metrics={[
            {
              id: "1",
              title: "45/45 Predicted IB Score",
              subtitle: "Perfect IB Diploma Prediction",
              category: "Academic",
              value: "Top 0.1%"
            },
            {
              id: "2",
              title: "500+ Students Impacted",
              subtitle: "Through nonprofit education initiative",
              category: "Impact",
              value: "Lives Changed"
            },
            {
              id: "3",
              title: "200+ Hours CAS",
              subtitle: "Community service and leadership",
              category: "Service",
              value: "Dedicated"
            },
            {
              id: "4",
              title: "15+ Awards",
              subtitle: "Academic and leadership recognition",
              category: "Recognition",
              value: "Achieved"
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm 
          title="Get in Touch"
          description="Interested in learning more about my academic journey or nonprofit initiative? I'd love to connect. Reach out for college inquiries, collaboration opportunities, or just to say hello."
          inputs={[
            { name: "name", type: "text", placeholder: "Your Name", required: true },
            { name: "email", type: "email", placeholder: "Your Email", required: true }
          ]}
          textarea={{
            name: "message",
            placeholder: "Tell me about your inquiry or how you'd like to collaborate",
            rows: 5,
            required: true
          }}
          useInvertedBackground="noInvert"
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766140151637-4n68pd8r.jpg"
          imageAlt="Contact background"
          mediaPosition="right"
          buttonText="Send Message"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterCard 
          logoText="Portfolio"
          copyrightText="© 2024 | IB Student Portfolio | Thailand"
          socialLinks={[
            { icon: Linkedin, href: "https://linkedin.com", ariaLabel: "LinkedIn" },
            { icon: Mail, href: "mailto:student@example.com", ariaLabel: "Email" }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}