"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from "@/components/navbar/NavbarStyleApple/NavbarStyleApple";
import HeroCentered from "@/components/sections/hero/HeroCentered";
import MetricCardFourteen from "@/components/sections/metrics/MetricCardFourteen";
import ContactCTA from "@/components/sections/contact/ContactCTA";
import FooterLogoEmphasis from "@/components/sections/footer/FooterLogoEmphasis";
import { Mail, Phone, MapPin, Clock } from "lucide-react";

export default function ContactPage() {
  const navItems = [
    { name: "Features", id: "#features" },
    { name: "Workflow", id: "#workflow" },
    { name: "Security", id: "#security" },
    { name: "Roles", id: "#roles" },
    { name: "Contact", id: "#contact" },
  ];

  const footerColumns = [
    {
      items: [
        { label: "Features", href: "#features" },
        { label: "Workflow", href: "#workflow" },
        { label: "Security", href: "#security" },
      ],
    },
    {
      items: [
        { label: "User Roles", href: "#roles" },
        { label: "Pricing", href: "#pricing" },
        { label: "Contact", href: "#contact" },
      ],
    },
    {
      items: [
        { label: "Privacy Policy", href: "#" },
        { label: "Terms of Service", href: "#" },
        { label: "Documentation", href: "#" },
      ],
    },
    {
      items: [
        { label: "Support", href: "mailto:support@sy-refund.test" },
        { label: "Sales", href: "mailto:sales@sy-refund.test" },
        { label: "Twitter", href: "https://twitter.com" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="bounce-effect"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="mediumSmall"
      sizing="mediumLargeSizeMediumTitles"
      background="none"
      cardStyle="layered-gradient"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple brandName="SY-Refund" navItems={navItems} />
      </div>

      <div id="contact-hero" data-section="contact-hero">
        <HeroCentered
          title="Get in Touch with SY-Refund"
          description="Have questions about our refund management system? Our support team is here to help you streamline your airline's operations."
          background={{ variant: "plain" }}
          avatars={[
            {
              src: "http://img.b2bpic.net/free-photo/businesspeople-working-as-team_1098-803.jpg",              alt: "team collaboration people office"},
          ]}
          avatarText="Available for Consultations & Demos"
          buttons={[
            { text: "Send Message", href: "#contact-form" },
            { text: "Schedule Call", href: "mailto:demo@sy-refund.test" },
          ]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="contact-info" data-section="contact-info">
        <MetricCardFourteen
          title="Multiple Ways to Reach Our Support & Sales Teams"
          tag="Contact Information"
          tagAnimation="slide-up"
          metrics={[
            {
              id: "1",              value: "support@sy-refund.test",              description:
                "Email our technical support team for assistance with system issues, onboarding, or general inquiries."},
            {
              id: "2",              value: "sales@sy-refund.test",              description:
                "Interested in implementation? Contact our sales team to discuss pricing and deployment options."},
            {
              id: "3",              value: "+963 11 123 4567",              description:
                "Call our Damascus headquarters during business hours (Sun-Thu, 9 AM - 5 PM GMT+3) for urgent matters."},
            {
              id: "4",              value: "24/7 Chat Available",              description:
                "Live chat support available on our platform for registered users. Enterprise clients receive priority response."},
          ]}
          metricsAnimation="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="contact-form" data-section="contact-form">
        <ContactCTA
          tag="Direct Contact"
          tagIcon={Mail}
          title="Ready to Discuss Your Refund Management Needs?"
          description="Whether you're evaluating SY-Refund for your organization, need technical support, or have partnership inquiries, we're ready to help. Send us a message or schedule a personalized demo with our team."
          buttons={[
            { text: "Contact Our Team", href: "mailto:sales@sy-refund.test" },
            { text: "Schedule Demo", href: "mailto:demo@sy-refund.test" },
          ]}
          background={{ variant: "plain" }}
          useInvertedBackground={false}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoEmphasis
          logoText="SY-Refund"
          columns={footerColumns}
        />
      </div>
    </ThemeProvider>
  );
}