"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FeatureBento from '@/components/sections/feature/FeatureBento';
import FooterCard from '@/components/sections/footer/FooterCard';
import { Instagram, Phone, Mail, MapPin, Clock } from "lucide-react";

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="directional-hover"
      defaultTextAnimation="background-highlight"
      borderRadius="pill"
      contentWidth="medium"
      sizing="mediumLarge"
      background="circleGradient"
      cardStyle="gradient-bordered"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="layered"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={[
            { name: "Home", id: "/" },
            { name: "Shop", id: "/shop" },
            { name: "Sell With Us", id: "/sell-with-us" },
            { name: "Visit", id: "/visit" },
            { name: "FAQ", id: "/faq" },
            { name: "Contact", id: "/contact" }
          ]}
          brandName="La Loupe Vintage"
          bottomLeftText="San Diego, CA 92116"
          bottomRightText="619-578-2944"
        />
      </div>

      <div id="contact-form" data-section="contact-form">
        <ContactSplit
          tag="Stay in the Loop"
          tagIcon={Mail}
          title="Get First Dibs on Fresh Vintage"
          description="Subscribe to our newsletter for new arrivals, shop news, and special events. Plus, followers get exclusive first access to the best finds."
          background={{ variant: "sparkles-gradient" }}
          useInvertedBackground={false}
          imageSrc="https://img.b2bpic.net/free-photo/summer-objects_23-2147647062.jpg?_wi=2"
          mediaAnimation="slide-up"
          mediaPosition="right"
          inputPlaceholder="your.email@example.com"
          buttonText="Join the List"
          termsText="We respect your inbox. Unsubscribe anytime. No spam, just good vibes and vintage gems."
        />
      </div>

      <div id="contact-methods" data-section="contact-methods">
        <FeatureBento
          title="Get in Touch"
          description="Multiple ways to reach us for questions, appointments, or just to say hello."
          tag="Contact Us"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground={true}
          carouselMode="buttons"
          features={[
            {
              title: "Call or Text",              description: "619-578-2944 for appointments, questions, or quick updates",              bentoComponent: "orbiting-icons",              centerIcon: Phone,
              items: [
                { icon: Clock, ring: 1 },
                { icon: MapPin, ring: 2 }
              ]
            },
            {
              title: "Email Us",              description: "info@laloupevintage.com for detailed inquiries and business matters",              bentoComponent: "globe"
            },
            {
              title: "Follow on Instagram",              description: "@laloupevintage for daily updates, new arrivals, and behind-the-scenes content",              bentoComponent: "globe"
            }
          ]}
        />
      </div>

      <div id="visit-info" data-section="visit-info">
        <FeatureBento
          title="Visit Our Shop"
          description="Come see us in person at our Normal Heights location on Adams Avenue."
          tag="In-Person"
          textboxLayout="default"
          animationType="blur-reveal"
          useInvertedBackground={false}
          carouselMode="buttons"
          features={[
            {
              title: "Store Location",              description: "3337 Adams Avenue, San Diego, CA 92116 in Normal Heights",              bentoComponent: "globe"
            },
            {
              title: "Store Hours",              description: "Open daily 12:00 PM - 7:00 PM, seven days a week",              bentoComponent: "globe"
            }
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterCard
          logoText="La Loupe Vintage"
          copyrightText="© 2025 La Loupe Vintage | Buy • Sell • Trade — Late 60s–90s Vintage"
          socialLinks={[
            { icon: Instagram, href: "https://www.instagram.com/laloupevintage/", ariaLabel: "Follow us on Instagram" },
            { icon: Phone, href: "tel:619-578-2944", ariaLabel: "Call us" },
            { icon: Mail, href: "mailto:info@laloupevintage.com", ariaLabel: "Email us" }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}