"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
import ContactText from "@/components/sections/contact/ContactText";
import FaqSplitMedia from "@/components/sections/faq/FaqSplitMedia";
import FooterMedia from "@/components/sections/footer/FooterMedia";
import Link from "next/link";
import { HelpCircle } from "lucide-react";

export default function ContactPage() {
  const navItems = [
    { name: "Features", id: "features" },
    { name: "Pricing", id: "pricing" },
    { name: "About", id: "about" },
    { name: "FAQ", id: "faq" },
    { name: "Contact", id: "contact" }
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="text-shift"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="small"
      sizing="largeSmall"
      background="circleGradient"
      cardStyle="outline"
      primaryButtonStyle="flat"
      secondaryButtonStyle="solid"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Guesto"
          navItems={navItems}
          button={{
            text: "Get Started",            href: "https://app.guesto.com/login"
          }}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactText
          text="Ready to transform your travel business? Join hundreds of agencies already using Guesto to save time and increase revenue."
          animationType="entrance-slide"
          buttons={[
            { text: "Start Your Free Trial", href: "https://app.guesto.com/signup" },
            { text: "Schedule a Demo", href: "#" }
          ]}
          background={{ variant: "plain" }}
          useInvertedBackground={false}
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqSplitMedia
          tag="Help"
          tagIcon={HelpCircle}
          title="Frequently Asked Questions"
          description="Find answers to common questions about Guesto's features and pricing."
          textboxLayout="default"
          useInvertedBackground={false}
          imageSrc="http://img.b2bpic.net/free-vector/faq-concept_23-2148147003.jpg"
          imageAlt="FAQ Support"
          mediaAnimation="slide-up"
          mediaPosition="left"
          faqsAnimation="slide-up"
          faqs={[
            {
              id: "1",              title: "How do I get started with Guesto?",              content: "Sign up for a free trial on our website. You'll get immediate access to all features. Our onboarding team will guide you through setup, and you can create your first itinerary within minutes."
            },
            {
              id: "2",              title: "Can I integrate Guesto with my existing systems?",              content: "Yes! Guesto integrates with popular travel management systems, email platforms, and accounting software. Enterprise customers get dedicated integration support."
            },
            {
              id: "3",              title: "Is my customer data secure?",              content: "Absolutely. We use enterprise-grade encryption, regular security audits, and comply with GDPR and data protection regulations. Your data is your priority."
            },
            {
              id: "4",              title: "How do I export itineraries as PDF?",              content: "One click! When you finish building an itinerary, use the Export button to generate a professional PDF. Customize branding, include your logo, and send directly to customers."
            },
            {
              id: "5",              title: "What payment methods do you accept?",              content: "We accept all major credit cards, bank transfers, and digital payment methods. Annual subscriptions come with a 15% discount."
            },
            {
              id: "6",              title: "Can multiple team members use Guesto simultaneously?",              content: "Yes. Professional and Enterprise plans include multi-user access with role-based permissions. Manage who can view, edit, or approve itineraries."
            }
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="http://img.b2bpic.net/free-photo/multi-ethnic-business-team-sitting-table-office-center-speaking-about-project-meeting-broadroom_482257-5077.jpg?_wi=9"
          imageAlt="Guesto Platform"
          logoText="Guesto"
          copyrightText="© 2025 Guesto. All rights reserved."
          columns={[
            {
              title: "Product",              items: [
                { label: "Features", href: "#features" },
                { label: "Pricing", href: "#pricing" },
                { label: "Security", href: "#" },
                { label: "Roadmap", href: "#" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "#about" },
                { label: "Blog", href: "#" },
                { label: "Careers", href: "#" },
                { label: "Contact", href: "#contact" }
              ]
            },
            {
              title: "Legal",              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" },
                { label: "Cookie Policy", href: "#" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}