"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import MediaAbout from '@/components/sections/about/MediaAbout';
import FaqDouble from '@/components/sections/faq/FaqDouble';
import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo';
import FooterCard from '@/components/sections/footer/FooterCard';
import { Instagram, Facebook, Twitter, Linkedin } from 'lucide-react';

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="smallMedium"
      sizing="mediumSizeLargeTitles"
      background="none"
      cardStyle="elevated"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="glass"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="Sarancha"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Shop", id: "/shop" },
            { name: "About", id: "/about" },
            { name: "Collections", id: "/collections" },
            { name: "Contact", id: "/contact" }
          ]}
        />
      </div>

      <div id="contact-hero" data-section="contact-hero">
        <MediaAbout
          title="Get in Touch"
          description="Have questions about our flowers, need help with a custom arrangement, or want to discuss a special event? Our team of floral experts is here to help bring your vision to life."
          tag="Contact Us"
          imageSrc="https://img.b2bpic.net/free-photo/female-florist-promoting-mixed-flower-basket_114579-2775.jpg"
          imageAlt="Sarancha team member with beautiful flower arrangement"
          buttons={[
            { text: "Call Us Now", href: "tel:+1234567890" },
            { text: "Email Us", href: "mailto:hello@sarancha.com" }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="contact-info" data-section="contact-info">
        <MetricCardTwo
          title="Ways to Reach Us"
          description="Multiple convenient ways to connect with our team"
          tag="Contact Options"
          textboxLayout="default"
          gridVariant="uniform-all-items-equal"
          animationType="scale-rotate"
          useInvertedBackground="invertDefault"
          metrics={[
            {
              id: "1",
              value: "24/7",
              description: "Online Ordering"
            },
            {
              id: "2",
              value: "Same Day",
              description: "Response Guarantee"
            },
            {
              id: "3",
              value: "Expert",
              description: "Consultation Available"
            }
          ]}
        />
      </div>

      <div id="contact-faq" data-section="contact-faq">
        <FaqDouble
          title="Frequently Asked Questions"
          description="Find quick answers to common questions about our flowers, delivery, and services"
          tag="Help & Support"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="smooth"
          faqs={[
            {
              id: "1",
              title: "How long do your flowers stay fresh?",
              content: "Our flowers come with a 7-day freshness guarantee when properly cared for. Most arrangements last 5-10 days depending on the flower types and environmental conditions. We include detailed care instructions with every delivery."
            },
            {
              id: "2",
              title: "Do you offer same-day delivery?",
              content: "Yes! Orders placed before 2 PM on weekdays qualify for same-day delivery in our service area. Weekend and holiday delivery availability varies by location. Check your zip code during checkout for specific delivery options."
            },
            {
              id: "3",
              title: "Can I customize my arrangement?",
              content: "Absolutely! We offer custom arrangement design services. Contact our florists directly at hello@sarancha.com or call us to discuss your specific preferences, color schemes, and budget. Custom orders typically require 24-48 hours notice."
            },
            {
              id: "4",
              title: "Do you offer subscription services?",
              content: "Yes! Our Bloom Monthly subscription delivers a fresh seasonal arrangement to your home every month. Choose weekly, bi-weekly, or monthly deliveries with a 10% discount. Cancel anytime with no penalties."
            },
            {
              id: "5",
              title: "What is your return or refund policy?",
              content: "We guarantee 100% satisfaction. If your flowers arrive damaged or wilted, we'll replace them free of charge or issue a full refund. Contact us within 2 hours of delivery to report any issues."
            },
            {
              id: "6",
              title: "Do you handle corporate events?",
              content: "Yes! We specialize in corporate events, office arrangements, and business gifts. Our team can work with your budget and timeline to create professional floral solutions. Contact us for a consultation and custom quote."
            }
          ]}
        />
      </div>

      <FooterCard
        logoText="Sarancha"
        copyrightText="© 2025 Sarancha. All rights reserved. Crafting beauty, one bloom at a time."
        socialLinks={[
          { icon: Instagram, href: "https://instagram.com/sarancha", ariaLabel: "Instagram" },
          { icon: Facebook, href: "https://facebook.com/sarancha", ariaLabel: "Facebook" },
          { icon: Twitter, href: "https://twitter.com/sarancha", ariaLabel: "Twitter" },
          { icon: Linkedin, href: "https://linkedin.com/company/sarancha", ariaLabel: "LinkedIn" }
        ]}
      />
    </ThemeProvider>
  );
}