"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from "@/components/navbar/NavbarStyleApple/NavbarStyleApple";
import HeroSplit from "@/components/sections/hero/HeroSplit";
import MediaAbout from "@/components/sections/about/MediaAbout";
import TeamCardEleven from "@/components/sections/team/TeamCardEleven";
import FeatureCardTwentyOne from "@/components/sections/feature/FeatureCardTwentyOne";
import TestimonialCardSix from "@/components/sections/testimonial/TestimonialCardSix";
import FaqSplitMedia from "@/components/sections/faq/FaqSplitMedia";
import ContactSplit from "@/components/sections/contact/ContactSplit";
import FooterLogoReveal from "@/components/sections/footer/FooterLogoReveal";
import { Heart, BookOpen, Calendar, HelpCircle, Mail, Star } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="smallMedium"
      sizing="largeSizeMediumTitles"
      background="none"
      cardStyle="solid"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="solid"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="TADMBC"
          navItems={[
            { name: "About", id: "about" },
            { name: "Leadership", id: "leadership" },
            { name: "Services", id: "services" },
            { name: "Testimonies", id: "testimonies" },
            { name: "Contact", id: "contact" },
          ]}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplit
          title="The Ajayi Dahunsi Memorial Baptist Church"
          description="A Place of Worship, Growth, and Love. Join our faith community for spiritual transformation, meaningful fellowship, and service to God."
          tag="Welcome"
          tagIcon={Heart}
          tagAnimation="slide-up"
          background={{ variant: "glowing-orb" }}
          imageSrc="http://img.b2bpic.net/free-photo/church-sunset_1361-82.jpg"
          imageAlt="The Ajayi Dahunsi Memorial Baptist Church building"
          imagePosition="right"
          mediaAnimation="slide-up"
          buttons={[
            { text: "Join Us This Sunday", href: "services" },
            { text: "Watch Live Service", href: "contact" },
          ]}
          buttonAnimation="blur-reveal"
        />
      </div>

      <div id="about" data-section="about">
        <MediaAbout
          title="About TADMBC"
          description="The Ajayi Dahunsi Memorial Baptist Church is committed to spreading the Gospel of Jesus Christ, fostering spiritual growth, and serving our community with love and integrity. Our mission is to be a beacon of faith, hope, and transformation in the lives of all who seek God's presence and purpose."
          tag="Our Story"
          tagIcon={BookOpen}
          tagAnimation="slide-up"
          imageSrc="http://img.b2bpic.net/free-photo/medium-shot-people-praying-together_23-2150755539.jpg"
          imageAlt="Church worship and community gathering"
          useInvertedBackground={true}
          buttons={[{ text: "Learn More About Our Faith", href: "#" }]}
        />
      </div>

      <div id="leadership" data-section="leadership">
        <TeamCardEleven
          title="Church Leadership"
          description="Meet the dedicated servants who guide our church community in faith, wisdom, and spiritual growth."
          tag="Leadership"
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="slide-up"
          groups={[
            {
              id: "pastoral",              groupTitle: "Pastoral Leadership",              members: [
                {
                  id: "pastor",                  title: "Pastor",                  subtitle: "Senior Pastor",                  detail: "pastor@tadmbc.org",                  imageSrc: "http://img.b2bpic.net/free-photo/stylish-black-american-male-dressed-suit-grey-background_613910-1548.jpg?_wi=1",                  imageAlt: "Senior Pastor"},
              ],
            },
            {
              id: "deacons",              groupTitle: "Deacons",              members: [
                {
                  id: "deacon1",                  title: "Deacon Johnson",                  subtitle: "Head Deacon",                  detail: "deacon@tadmbc.org",                  imageSrc: "http://img.b2bpic.net/free-photo/close-up-priest-his-lunch-time_23-2149284682.jpg",                  imageAlt: "Head Deacon"},
                {
                  id: "deacon2",                  title: "Deaconess Mary",                  subtitle: "Deaconess",                  detail: "deaconess@tadmbc.org",                  imageSrc: "http://img.b2bpic.net/free-photo/front-view-smiley-woman-posing_23-2149429383.jpg",                  imageAlt: "Deaconess"},
              ],
            },
            {
              id: "departments",              groupTitle: "Department Heads",              members: [
                {
                  id: "usher",                  title: "Brother Samuel",                  subtitle: "Head of Ushering",                  detail: "ushering@tadmbc.org",                  imageSrc: "http://img.b2bpic.net/free-photo/stylish-black-american-male-dressed-suit-grey-background_613910-1548.jpg?_wi=2",                  imageAlt: "Head of Ushering"},
                {
                  id: "sunday-school",                  title: "Sister Grace",                  subtitle: "Head of Sunday School",                  detail: "sundayschool@tadmbc.org",                  imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-woman-library_23-2148680199.jpg",                  imageAlt: "Head of Sunday School"},
                {
                  id: "media",                  title: "Brother David",                  subtitle: "Head of Media",                  detail: "media@tadmbc.org",                  imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-people-working-together_23-2149307823.jpg",                  imageAlt: "Head of Media"},
                {
                  id: "choir",                  title: "Sister Ruth",                  subtitle: "Head of Choir",                  detail: "choir@tadmbc.org",                  imageSrc: "http://img.b2bpic.net/free-photo/man-white-shirt-playing-digital-piano-sings_23-2148673609.jpg",                  imageAlt: "Head of Choir"},
              ],
            },
          ]}
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardTwentyOne
          title="Our Services & Programs"
          description="Discover the various ways TADMBC serves God and our community through worship, education, and spiritual growth."
          tag="Services"
          tagIcon={Calendar}
          tagAnimation="slide-up"
          mediaPosition="right"
          imageSrc="http://img.b2bpic.net/free-photo/photo-people-hands-holding-meeting-with-psychologist-home_496169-2368.jpg?_wi=1"
          imageAlt="Church community support and fellowship"
          mediaAnimation="blur-reveal"
          useInvertedBackground={true}
          accordionItems={[
            {
              id: "sunday-worship",              title: "Sunday Worship Service",              content:
                "Join us every Sunday at 9:00 AM for our main worship service featuring spirited hymns, powerful preaching, and meaningful fellowship with our church family."},
            {
              id: "midweek",              title: "Midweek Service & Prayer Meeting",              content:
                "Every Wednesday at 7:00 PM, we gather for prayer, Bible study, and spiritual development. A wonderful opportunity to deepen your faith and connect with other believers."},
            {
              id: "sunday-school",              title: "Sunday School",              content:
                "Children and adults are invited to our Sunday School classes at 8:00 AM, where we explore Scripture and build our understanding of God's Word in an interactive setting."},
            {
              id: "youth-programs",              title: "Youth Programs & Outreach",              content:
                "Our dynamic youth ministry includes Bible studies, community service projects, and social activities designed to help young people grow spiritually and serve others."},
            {
              id: "special-events",              title: "Special Events & Celebrations",              content:
                "Throughout the year, TADMBC hosts seasonal celebrations, holiday services, baptisms, and community outreach initiatives to glorify God and strengthen our bonds."},
          ]}
          buttons={[{ text: "View Full Schedule", href: "#" }]}
        />
      </div>

      <div id="testimonies" data-section="testimonies">
        <TestimonialCardSix
          title="Member Testimonies"
          description="Hear powerful stories of faith, transformation, and spiritual growth from our church community."
          tag="Testimonies"
          tagIcon={Star}
          tagAnimation="slide-up"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          testimonials={[
            {
              id: "1",              name: "Sophia Adeyemi",              handle: "@sophiafaith",              testimonial:
                "Coming to TADMBC transformed my spiritual journey. The love and support from this church family has been instrumental in my faith walk. God is truly at work here.",              imageSrc: "http://img.b2bpic.net/free-photo/sun-shining-woman-with-curly-hair-surrounded-by-trees-grass_181624-30896.jpg",              imageAlt: "Sophia Adeyemi"},
            {
              id: "2",              name: "Oladele Johnson",              handle: "@oladele.blessed",              testimonial:
                "I found healing and restoration through the prayers and pastoral care at TADMBC. This church community truly lives out the Gospel message of love and compassion.",              imageSrc: "http://img.b2bpic.net/free-photo/beautiful-young-woman-wool-coat-forest-sunset_1328-3378.jpg",              imageAlt: "Oladele Johnson"},
            {
              id: "3",              name: "Adeola Okonkwo",              handle: "@adelaokonkwo",              testimonial:
                "The Sunday School and youth programs have helped my children grow in their faith. TADMBC is a safe, nurturing place for families seeking spiritual guidance.",              imageSrc: "http://img.b2bpic.net/free-photo/african-lady-looking-camera_171337-11724.jpg?_wi=1",              imageAlt: "Adeola Okonkwo"},
            {
              id: "4",              name: "Michael Chen",              handle: "@michaelblessed",              testimonial:
                "As a visitor, I was welcomed with open hearts at TADMBC. The warmth, authenticity, and commitment to Scripture made me feel like family from day one.",              imageSrc: "http://img.b2bpic.net/free-photo/people-visiting-praying-church-building_23-2151103941.jpg",              imageAlt: "Michael Chen"},
            {
              id: "5",              name: "Chioma Okoro",              handle: "@chioma.grace",              testimonial:
                "The prayer and worship at TADMBC have deepened my personal relationship with God. I am grateful for the spiritual foundation this church provides.",              imageSrc: "http://img.b2bpic.net/free-photo/african-lady-looking-camera_171337-11724.jpg?_wi=2",              imageAlt: "Chioma Okoro"},
            {
              id: "6",              name: "James Adenekan",              handle: "@jamesadenekan",              testimonial:
                "TADMBC has shown me what Christian community truly means. Through prayer, service, and genuine fellowship, I've found my purpose in God's kingdom.",              imageSrc: "http://img.b2bpic.net/free-photo/business-people-talking-together-park_53876-22949.jpg",              imageAlt: "James Adenekan"},
          ]}
          speed={40}
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqSplitMedia
          title="Frequently Asked Questions"
          description="Find answers to common questions about TADMBC, our beliefs, services, and how to get involved in our church community."
          tag="Help"
          tagIcon={HelpCircle}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
          mediaPosition="right"
          imageSrc="http://img.b2bpic.net/free-photo/photo-people-hands-holding-meeting-with-psychologist-home_496169-2368.jpg?_wi=2"
          imageAlt="Church support and community guidance"
          mediaAnimation="opacity"
          faqsAnimation="slide-up"
          animationType="smooth"
          faqs={[
            {
              id: "1",              title: "What are your service times?",              content:
                "Sunday Worship Service: 9:00 AM. Sunday School: 8:00 AM. Midweek Prayer Meeting: Wednesdays at 7:00 PM. Check our full schedule for additional programs and events."},
            {
              id: "2",              title: "How can I visit TADMBC?",              content:
                "Visitors are always welcome! Simply come to our Sunday service at 9:00 AM. Our ushers will greet you warmly and help you feel at home. We look forward to meeting you!"},
            {
              id: "3",              title: "What is your church's denomination and beliefs?",              content:
                "TADMBC is a Baptist church committed to the fundamentals of the Christian faith: the authority of Scripture, salvation through Christ, and the importance of personal relationship with God."},
            {
              id: "4",              title: "How do I join the church?",              content:
                "We invite you to accept Jesus Christ as your Lord and Savior. Membership is typically through baptism and a commitment to our church covenant. Speak with our pastor for more details."},
            {
              id: "5",              title: "Does TADMBC offer youth programs?",              content:
                "Yes! We have dynamic youth programs including Sunday School, youth Bible studies, community service projects, and social activities designed for spiritual growth and fellowship."},
            {
              id: "6",              title: "How can I submit a prayer request?",              content:
                "You can submit prayer requests through our website contact form, speak with our pastoral team, or call our office. All prayer requests are handled with confidentiality and care."},
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Get In Touch"
          tagIcon={Mail}
          tagAnimation="slide-up"
          title="Connect With TADMBC"
          description="Have questions or want to know more about our church? Reach out to us via email, phone, or visit us in person. We're here to help and welcome your inquiries."
          background={{ variant: "sparkles-gradient" }}
          useInvertedBackground={false}
          imageSrc="http://img.b2bpic.net/free-vector/religious-crosses-location-pins-set_78370-7379.jpg"
          imageAlt="Church location and directions map"
          mediaPosition="right"
          mediaAnimation="blur-reveal"
          inputPlaceholder="Enter your email address"
          buttonText="Submit"
          termsText="We respect your privacy. Your information will be used to contact you regarding church updates and prayer requests."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoReveal
          logoText="TADMBC"
          leftLink={{ text: "Privacy Policy", href: "#" }}
          rightLink={{ text: "© TADMBC - Built with love for God", href: "#" }}
        />
      </div>
    </ThemeProvider>
  );
}
