"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import ContactFaq from '@/components/sections/contact/ContactFaq';
import FooterBase from '@/components/sections/footer/FooterBase';
import { MapPin } from "lucide-react";

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="mediumLarge"
      sizing="mediumSizeLargeTitles"
      background="circleGradient"
      cardStyle="inset"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="layered"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="Drink Water"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Menu", id: "/menu" },
            { name: "About", id: "/about" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{
            text: "Order Now",
            href: "/menu"
          }}
        />
      </div>

      <div id="contact-info" data-section="contact-info">
        <ContactFaq
          ctaTitle="Visit Us or Get in Touch"
          ctaDescription="We'd love to meet you! Stop by our shop or reach out with any questions about our coffee, sourcing, or special events."
          ctaButton={{
            text: "Get Directions",
            href: "https://maps.google.com"
          }}
          ctaIcon={MapPin}
          faqs={[
            {
              id: "1",
              title: "What are your hours?",
              content: "We're open Monday-Friday 6:30 AM - 7:00 PM, Saturday 8:00 AM - 6:00 PM, and Sunday 9:00 AM - 5:00 PM. Extended hours on weekends during summer months!"
            },
            {
              id: "2",
              title: "Do you offer subscription services?",
              content: "Yes! Our Coffee Subscription Club offers monthly deliveries of freshly roasted beans, direct discounts, and exclusive access to limited-edition single-origin releases."
            },
            {
              id: "3",
              title: "Are all your beans ethically sourced?",
              content: "Absolutely. We partner directly with fair-trade certified farms and track every bean's journey. We believe in transparency and supporting coffee-growing communities worldwide."
            },
            {
              id: "4",
              title: "Can I host events at your location?",
              content: "We offer private events and group bookings! Contact us to discuss your next corporate meeting, celebration, or coffee workshop in our dedicated event space."
            },
            {
              id: "5",
              title: "Do you offer WiFi and seating?",
              content: "Yes, we have high-speed WiFi and plenty of comfortable seating perfect for remote work, studying, or simply enjoying great coffee with friends."
            }
          ]}
          useInvertedBackground="noInvert"
          animationType="slide-up"
        />
      </div>

      <FooterBase
        logoText="Drink Water"
        columns={[
          {
            title: "Menu",
            items: [
              { label: "Coffee Drinks", href: "/menu" },
              { label: "Pastries & Food", href: "/menu" },
              { label: "Merchandise", href: "/menu" }
            ]
          },
          {
            title: "Company",
            items: [
              { label: "About Us", href: "/about" },
              { label: "Our Story", href: "/about" },
              { label: "Sustainability", href: "/about" }
            ]
          },
          {
            title: "Connect",
            items: [
              { label: "Contact", href: "/contact" },
              { label: "Instagram", href: "https://instagram.com" },
              { label: "Twitter", href: "https://twitter.com" }
            ]
          }
        ]}
        copyrightText="© 2025 Drink Water Coffee Shop. All rights reserved."
      />
    </ThemeProvider>
  );
}