"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import SplitAbout from '@/components/sections/about/SplitAbout';
import FaqBase from '@/components/sections/faq/FaqBase';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { Mail, Phone, MapPin } from "lucide-react";

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="soft"
      contentWidth="compact"
      sizing="mediumLarge"
      background="none"
      cardStyle="layered-gradient"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={[
            { name: "Home", id: "/" },
            { name: "Services", id: "/services" },
            { name: "Team", id: "/team" },
            { name: "Contact", id: "/contact" }
          ]}
          brandName="TechVision"
          bottomLeftText="Innovation Driven"
          bottomRightText="hello@techvision.io"
        />
      </div>

      <div id="contact" data-section="contact">
        <SplitAbout
          title="Get In Touch"
          description="Ready to transform your business with innovative technology solutions? Let's discuss your project and explore how we can help you achieve your goals."
          tag="Contact Us"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          bulletPoints={[
            {
              title: "Email Us",
              description: "hello@techvision.io for general inquiries and project discussions",
              icon: Mail
            },
            {
              title: "Call Us",
              description: "+1 (555) 123-4567 for immediate assistance and consultations",
              icon: Phone
            },
            {
              title: "Visit Us",
              description: "123 Innovation Drive, Tech Valley, CA 94000",
              icon: MapPin
            }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/businessman-checking-report-tablet_482257-120320.jpg"
          imageAlt="Contact TechVision team"
          imagePosition="right"
          buttons={[
            { text: "Schedule Consultation", href: "mailto:hello@techvision.io" }
          ]}
        />
      </div>

      <div id="support-faq" data-section="support-faq">
        <FaqBase
          title="Common Questions"
          description="Quick answers to help you get started with TechVision services"
          tag="Support"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          animationType="smooth"
          faqs={[
            {
              id: "1",
              title: "How do I get started with a project?",
              content: "Simply contact us via email or phone to schedule an initial consultation. We'll discuss your needs, timeline, and budget to create a customized proposal for your project."
            },
            {
              id: "2",
              title: "What information should I prepare for our first meeting?",
              content: "Please prepare details about your business goals, current technology stack, project timeline, budget range, and any specific requirements or challenges you're facing."
            },
            {
              id: "3",
              title: "Do you offer emergency support?",
              content: "Yes, we provide 24/7 emergency support for critical systems. Contact us immediately for urgent issues and we'll respond within 2 hours for enterprise clients."
            }
          ]}
        />
      </div>

      <FooterMedia
        imageSrc="https://img.b2bpic.net/free-photo/person-working-html-computer_23-2150038840.jpg"
        imageAlt="Digital technology network background"
        logoText="TechVision"
        copyrightText="© 2025 TechVision. All rights reserved."
        columns={[
          {
            title: "Services",
            items: [
              { label: "Web Development", href: "/services" },
              { label: "Mobile Apps", href: "/services" },
              { label: "Cloud Solutions", href: "/services" },
              { label: "AI & ML", href: "/services" }
            ]
          },
          {
            title: "Company",
            items: [
              { label: "About Us", href: "/team" },
              { label: "Team", href: "/team" },
              { label: "Careers", href: "https://careers.techvision.io" }
            ]
          },
          {
            title: "Connect",
            items: [
              { label: "Contact Us", href: "/contact" },
              { label: "Email", href: "mailto:hello@techvision.io" },
              { label: "LinkedIn", href: "https://linkedin.com/company/techvision" },
              { label: "GitHub", href: "https://github.com/techvision" }
            ]
          }
        ]}
      />
    </ThemeProvider>
  );
}