"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import Link from "next/link";

import NavbarStyleMinimal from '@/components/navbar/NavbarStyleMinimal';
import ContactFaq from '@/components/sections/contact/ContactFaq';
import FooterBase from '@/components/sections/footer/FooterBase';

import { Phone } from "lucide-react";

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="directional-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="sharp"
      contentWidth="medium"
      sizing="largeSmallSizeMediumTitles"
      background="circleGradient"
      cardStyle="gradient-bordered"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleMinimal
          brandName="Smereka"
          button={{
            text: "Book Now",
            href: "/contact"
          }}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactFaq
          ctaTitle="Ready to Order?"
          ctaDescription="Get in touch with our team to discuss your floral needs and place your order today. We're here to help make your vision bloom."
          ctaButton={{ text: "Schedule Consultation", href: "tel:+1-555-0123" }}
          ctaIcon={Phone}
          useInvertedBackground="noInvert"
          animationType="slide-up"
          accordionAnimationType="smooth"
          showCard={true}
          faqs={[
            {
              id: "1",
              title: "What is your delivery area?",
              content: "We deliver throughout the city and surrounding areas within a 50-mile radius. Rush delivery is available for orders placed before 2 PM on weekdays. Contact us for specific delivery information and to confirm availability in your area."
            },
            {
              id: "2",
              title: "Can I customize arrangements?",
              content: "Absolutely! We love creating custom arrangements tailored to your preferences, budget, and occasion. Simply tell us your vision, color preferences, flower types, and our expert florists will bring it to life with personalized touches."
            },
            {
              id: "3",
              title: "How long do flowers last?",
              content: "Most of our arrangements last 7-10 days with proper care. We include detailed care instructions with every delivery. Seasonal flowers and proper water changes help extend their lifespan. Premium roses can last up to 2 weeks."
            },
            {
              id: "4",
              title: "Do you offer subscription services?",
              content: "Yes! Our monthly flower subscription delivers fresh arrangements to your door. Choose weekly, bi-weekly, or monthly deliveries with flexible customization options. Perfect for homes, offices, or as a thoughtful ongoing gift."
            },
            {
              id: "5",
              title: "What payment methods do you accept?",
              content: "We accept all major credit cards (Visa, MasterCard, American Express), digital wallets (Apple Pay, Google Pay), and bank transfers. Payment is secure and processed at checkout. We also offer flexible payment plans for large wedding or event orders."
            },
            {
              id: "6",
              title: "Can I order same-day delivery?",
              content: "Yes! Orders placed before 2 PM on weekdays receive same-day delivery within our service area. Weekend and holiday same-day orders depend on availability and may require additional fees. Contact us to confirm your specific date and location."
            }
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBase
          logoText="Smereka"
          copyrightText="© 2024 Smereka Flowers Studio. All rights reserved."
          columns={[
            {
              title: "Services",
              items: [
                { label: "Custom Arrangements", href: "/arrangements" },
                { label: "Wedding Flowers", href: "/services" },
                { label: "Event Decoration", href: "/services" },
                { label: "Subscription", href: "/services" }
              ]
            },
            {
              title: "Company",
              items: [
                { label: "About Us", href: "/about" },
                { label: "Our Story", href: "/about" },
                { label: "Testimonials", href: "/" },
                { label: "Blog", href: "/blog" }
              ]
            },
            {
              title: "Contact",
              items: [
                { label: "Email", href: "/contact" },
                { label: "Phone", href: "/contact" },
                { label: "Location", href: "/contact" },
                { label: "FAQs", href: "/contact" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}