"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import Link from "next/link";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';

export default function FaqPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="entrance-slide"
      borderRadius="soft"
      contentWidth="medium"
      sizing="medium"
      background="none"
      cardStyle="solid"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="glass"
      showBlurBottom={false}
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="Kvitka Moya"
          navItems={[
            { name: "Home", id: "/" },
            { name: "About", id: "/about" },
            { name: "FAQ", id: "/faq" },
            { name: "Contact", id: "/contact" }
          ]}
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqSplitMedia
          title="Frequently Asked Questions"
          description="Get answers to common questions about our flowers, delivery, and services"
          faqs={[
            {
              id: "1",              title: "How long do your flowers stay fresh?",              content: "With proper care, most of our arrangements will stay fresh for 7-10 days. We provide detailed care instructions with every bouquet to help you enjoy them longer."
            },
            {
              id: "2",              title: "Do you offer same-day delivery?",              content: "Yes! We offer same-day delivery for orders placed before 2 PM within the city center. Orders outside the city typically arrive the next business day."
            },
            {
              id: "3",              title: "Can I customize an arrangement?",              content: "Absolutely! We love creating custom arrangements. Contact us with your preferences, color scheme, and budget, and our florists will craft something beautiful just for you."
            },
            {
              id: "4",              title: "What payment methods do you accept?",              content: "We accept all major credit cards, debit cards, PayPal, and bank transfers. All transactions are secure and encrypted."
            },
            {
              id: "5",              title: "What is your return policy?",              content: "If you're not completely satisfied with your arrangement, we offer a full refund or replacement within 24 hours of delivery."
            },
            {
              id: "6",              title: "Do you offer corporate arrangements?",              content: "Yes, we specialize in corporate orders for offices, events, and special occasions. Contact us for bulk pricing and custom designs."
            }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/happy-businesswoman-her-coworkers-clapping-hands-meeting-office_637285-207.jpg"
          imageAlt="Customer support team"
          mediaPosition="left"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="smooth"
        />
      </div>

      <FooterBaseCard
        logoText="Kvitka Moya"
        columns={[
          {
            title: "Shop",            items: [
              { label: "Arrangements", href: "/products" },
              { label: "Seasonal Flowers", href: "/products" },
              { label: "Custom Orders", href: "/contact" }
            ]
          },
          {
            title: "Company",            items: [
              { label: "About Us", href: "/about" },
              { label: "Delivery Info", href: "/about" },
              { label: "Blog", href: "#" }
            ]
          },
          {
            title: "Support",            items: [
              { label: "FAQ", href: "/faq" },
              { label: "Contact", href: "/contact" },
              { label: "Track Order", href: "#" }
            ]
          },
          {
            title: "Connect",            items: [
              { label: "Instagram", href: "https://instagram.com" },
              { label: "Facebook", href: "https://facebook.com" },
              { label: "Newsletter", href: "/contact" }
            ]
          }
        ]}
        copyrightText="© 2025 Kvitka Moya. All rights reserved."
      />
    </ThemeProvider>
  );
}