"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import Link from "next/link";
import NavbarStyleApple from "@/components/navbar/NavbarStyleApple/NavbarStyleApple";
import ContactFaq from "@/components/sections/contact/ContactFaq";
import FeatureCardSeven from "@/components/sections/feature/FeatureCardSeven";
import FooterBaseCard from "@/components/sections/footer/FooterBaseCard";
import { Calendar, Phone, Mail, MessageCircle } from "lucide-react";

export default function ContactPage() {
  const navItems = [
    { name: "Platform", id: "platform" },
    { name: "Innovation", id: "innovation" },
    { name: "Results", id: "results" },
    { name: "FAQ", id: "faq" },
    { name: "Contact", id: "contact" },
  ];

  const footerColumns = [
    {
      title: "Platform",      items: [
        { label: "Solutions", href: "#platform" },
        { label: "Technology", href: "#innovation" },
        { label: "Case Studies", href: "#results" },
        { label: "Enterprise", href: "#contact" },
      ],
    },
    {
      title: "Company",      items: [
        { label: "About SCALENZA", href: "/sobre" },
        { label: "Team", href: "/sobre" },
        { label: "Blog", href: "#blog" },
        { label: "Careers", href: "#careers" },
      ],
    },
    {
      title: "Support",      items: [
        { label: "FAQ", href: "#faq" },
        { label: "Contact", href: "/contato" },
        { label: "WhatsApp", href: "https://wa.me/5511999999999" },
        { label: "Email", href: "mailto:hello@scalenza.com" },
      ],
    },
    {
      title: "Legal",      items: [
        { label: "Privacy Policy", href: "#privacy" },
        { label: "Terms of Service", href: "#terms" },
        { label: "Cookie Policy", href: "#cookies" },
        { label: "Data Protection", href: "#data" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="directional-hover"
      defaultTextAnimation="background-highlight"
      borderRadius="pill"
      contentWidth="compact"
      sizing="largeSmallSizeLargeTitles"
      background="noiseDiagonalGradient"
      cardStyle="soft-shadow"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="glass"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple brandName="SCALENZA" navItems={navItems} />
      </div>

      <div id="contact-methods" data-section="contact-methods">
        <FeatureCardSeven
          title="Connect with SCALENZA"
          description="Multiple ways to reach our team and discuss your franchise growth strategy."
          tag="We're Ready"
          tagIcon={MessageCircle}
          tagAnimation="slide-up"
          features={[
            {
              id: 1,
              title: "Schedule a Strategy Session",              description: "We prefer conversation. Reserve 30 minutes with our team to discuss your challenges and explore customized solutions tailored to your growth objectives.",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AV64qLDViQ8fXh668ee5UaJJsc/a-professional-diagnostic-session-bookin-1772665549575-9b9f64bb.png?_wi=2",              imageAlt: "Strategy session"},
            {
              id: 2,
              title: "WhatsApp Communication",              description: "Quick questions? Reach us via WhatsApp. We respond within hours with initial insights and strategic recommendations relevant to your situation.",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AV64qLDViQ8fXh668ee5UaJJsc/a-strategic-process-automation-illustrat-1772665547974-42c5ab9c.png?_wi=2",              imageAlt: "WhatsApp contact"},
            {
              id: 3,
              title: "Email Communication",              description: "Prefer formal communication? Email us with detailed context about your franchise growth goals. We'll respond within 24 hours with strategic recommendations.",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AV64qLDViQ8fXh668ee5UaJJsc/a-helpful-customer-support-and-knowledge-1772665550385-ede8be50.png",              imageAlt: "Email contact"},
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="contact-faq" data-section="contact-faq">
        <ContactFaq
          faqs={[
            {
              id: "1",              title: "What's the next step after scheduling?",              content: "You'll receive a calendar link. Choose your preferred time. Our team will send video call information and pre-session materials to prepare for maximum impact."},
            {
              id: "2",              title: "Is there a cost for initial consultation?",              content: "Completely free. No obligation, no hidden costs. We focus on understanding your situation and demonstrating how we can help your franchise system grow."},
            {
              id: "3",              title: "Timeline for proposal delivery?",              content: "Customized proposal within 2-3 business days. Includes complete pipeline analysis, strategic recommendations, and investment projections for your consideration."},
          ]}
          ctaTitle="Ready to Start Your Growth Journey?"
          ctaDescription="Schedule your strategy session now. No obligation, just valuable insights."
          ctaButton={{ text: "Schedule Free Strategy Session", href: "https://calendly.com/scalenza" }}
          ctaIcon={Calendar}
          useInvertedBackground={true}
          animationType="slide-up"
          accordionAnimationType="smooth"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseCard
          logoText="SCALENZA"
          columns={footerColumns}
          copyrightText="© 2025 SCALENZA. All rights reserved. Global Franchise Technology Platform."
        />
      </div>
    </ThemeProvider>
  );
}
