"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import HeroBillboardScroll from '@/components/sections/hero/HeroBillboardScroll';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCardTen';
import FooterBase from '@/components/sections/footer/FooterBase';

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="small"
      sizing="largeSizeMediumTitles"
      background="none"
      cardStyle="soft-shadow"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="glass"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="Corner"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Team", id: "/team" },
            { name: "News", id: "/news" },
            { name: "Schedule", id: "/schedule" },
            { name: "Contact", id: "/contact" }
          ]}
        />
      </div>

      <div id="contact-hero" data-section="contact-hero">
        <HeroBillboardScroll
          title="Contact Corner"
          description="Have questions? Want to join our team? We're here to help. Get in touch with us today."
          tag="Get in Touch"
          background={{ variant: "plain" }}
          imageSrc="https://img.b2bpic.net/free-photo/junior-football-team-hugging-each-other_53876-137683.jpg"
          imageAlt="Corner contact"
        />
      </div>

      <div id="contact-form" data-section="contact-form">
        <ContactSplitForm
          title="Send us a Message"
          description="Fill out the form below and we'll get back to you as soon as possible. Whether you're interested in joining Corner or just have a question, we're eager to hear from you."
          inputs={[
            { name: "parentName", type: "text", placeholder: "Parent/Guardian Name", required: true },
            { name: "childName", type: "text", placeholder: "Child's Name", required: true },
            { name: "email", type: "email", placeholder: "Email Address", required: true },
            { name: "phone", type: "tel", placeholder: "Phone Number", required: true }
          ]}
          textarea={{
            name: "inquiry",            placeholder: "What would you like to know about Corner? Tell us about your child's football experience.",            rows: 6,
            required: true
          }}
          useInvertedBackground="invertDefault"
          imageSrc="https://img.b2bpic.net/free-photo/full-shot-kids-gathering-field_23-2149270930.jpg"
          imageAlt="Contact us image"
          mediaPosition="right"
          buttonText="Send Inquiry"
        />
      </div>

      <div id="contact-info" data-section="contact-info">
        <TestimonialCardTen
          testimonials={[
            {
              id: "1",              title: "Training Ground Location",              quote: "Corner Training Ground is located at 123 Sports Avenue, just off the main highway. We have ample parking and modern facilities including changing rooms and a club house.",              name: "Facility Information",              role: "Main Training Location",              imageSrc: "https://img.b2bpic.net/free-photo/junior-football-team-hugging-each-other_53876-137683.jpg",              imageAlt: "Training ground"
            },
            {
              id: "2",              title: "Get in touch directly",              quote: "For immediate assistance, call us at (555) 123-4567 or email info@cornerfootball.com. Our office hours are Monday-Friday 9am-5pm, and match days 8am-6pm.",              name: "Contact Information",              role: "Phone & Email",              imageSrc: "https://img.b2bpic.net/free-photo/football-trainer-teaching-his-pupils_23-2149707981.jpg",              imageAlt: "Contact us"
            }
          ]}
          title="Find Us"
          description="Location and contact details"
          tag="Contact Info"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBase
          logoText="Corner"
          copyrightText="© 2025 Corner Youth Football. All rights reserved."
          columns={[
            {
              title: "Pages",              items: [
                { label: "Home", href: "/" },
                { label: "Team", href: "/team" },
                { label: "News", href: "/news" }
              ]
            },
            {
              title: "Programs",              items: [
                { label: "U8-U10", href: "/team" },
                { label: "U12-U14", href: "/team" },
                { label: "Schedule", href: "/schedule" }
              ]
            },
            {
              title: "Support",              items: [
                { label: "Contact", href: "/contact" },
                { label: "FAQ", href: "/schedule" },
                { label: "Privacy", href: "#" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}