"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroBillboardRotatedCarousel from '@/components/sections/hero/HeroBillboardRotatedCarousel';
import ProductCardFive from '@/components/sections/product/ProductCardFive';
import MediaSplitAbout from '@/components/sections/about/MediaSplitAbout';
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
import ContactText from '@/components/sections/contact/ContactText';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import { Camera, Sparkles, Award, Users, Star } from "lucide-react";

export default function VintageLensPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="smallMedium"
      sizing="largeSizeMediumTitles"
      background="noiseGradient"
      cardStyle="gradient-bordered"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="outline"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered 
          navItems={[
            {name: "Home", id: "hero"},
            {name: "Products", id: "products"},
            {name: "About", id: "about"},
            {name: "Contact", id: "contact"}
          ]}
          button={{text: "Shop Now", href: "products"}}
          brandName="Vintage Lens"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardRotatedCarousel
          title="Discover Timeless Photography"
          description="Curated vintage cameras and film equipment from the analog era. Each piece tells a story of craftsmanship and photographic history."
          tag="NYC's Finest Vintage Cameras"
          tagIcon={Camera}
          buttons={[
            {text: "Browse Collection", href: "products"},
            {text: "Learn More", href: "about"}
          ]}
          carouselItems={[
            {
              id: "1",              imageSrc: "https://img.b2bpic.net/free-photo/photo-camera-still-life_23-2150630958.jpg",              imageAlt: "Vintage 35mm camera"
            },
            {
              id: "2",              imageSrc: "https://img.b2bpic.net/free-photo/top-view-vintage-camera-composition_23-2148913951.jpg",              imageAlt: "Classic film camera"
            },
            {
              id: "3",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-multiple-retro-photo-cameras_23-2148300544.jpg",              imageAlt: "Vintage rangefinder camera"
            },
            {
              id: "4",              imageSrc: "https://img.b2bpic.net/free-photo/vintage-camera-grass_1150-1061.jpg",              imageAlt: "Professional SLR camera"
            },
            {
              id: "5",              imageSrc: "https://img.b2bpic.net/free-photo/front-view-electronic-camera-device_23-2148300506.jpg",              imageAlt: "Manual focus vintage camera"
            },
            {
              id: "6",              imageSrc: "https://img.b2bpic.net/free-photo/view-vintage-camera-with-briefcase-books_23-2150315187.jpg",              imageAlt: "Rare collectible camera"
            }
          ]}
          autoPlay={true}
          autoPlayInterval={4000}
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardFive
          title="Our Vintage Camera Collection"
          description="Handpicked cameras from decades past. Each camera is tested, cleaned, and ready for your next creative project."
          tag="Premium Selection"
          tagIcon={Sparkles}
          products={[
            {
              id: "limited-offer",              button: {text: "Limited Offer - 5 min", href: "#"},
              imageSrc: "https://img.b2bpic.net/free-photo/old-retro-camera-wooden-table-background_93675-128086.jpg",              imageAlt: "Leica M3 Rangefinder Camera",              isFavorited: false
            },
            {
              id: "camera-2",              button: {text: "Add to Cart", href: "#"},
              imageSrc: "https://img.b2bpic.net/free-photo/vintage-camera-grass_1150-1061.jpg",              imageAlt: "Pentax K1000 SLR Camera",              isFavorited: false
            },
            {
              id: "camera-3",              button: {text: "Add to Cart", href: "#"},
              imageSrc: "https://img.b2bpic.net/free-photo/retro-photo-camera-ledge_23-2148243240.jpg",              imageAlt: "Canon AE-1 35mm Camera",              isFavorited: false
            },
            {
              id: "camera-4",              button: {text: "Add to Cart", href: "#"},
              imageSrc: "https://img.b2bpic.net/free-photo/photo-camera-still-life_23-2150630958.jpg",              imageAlt: "Hasselblad 500C Medium Format",              isFavorited: false
            },
            {
              id: "camera-5",              button: {text: "Add to Cart", href: "#"},
              imageSrc: "https://img.b2bpic.net/free-photo/top-view-camera-with-copy-space_23-2148372202.jpg",              imageAlt: "Minolta X-700 SLR Camera",              isFavorited: false
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          carouselMode="buttons"
        />
      </div>

      <div id="about" data-section="about">
        <MediaSplitAbout
          title="35 Years of Analog Excellence"
          description="Since 1989, Vintage Lens has been preserving photographic history in the heart of New York City. Our passion for analog photography drives us to source, restore, and share the finest cameras from the golden era of film. We believe every camera has a story, and we're here to help you discover yours."
          imageSrc="https://img.b2bpic.net/free-photo/view-vintage-briefcase_23-2150315162.jpg"
          imageAlt="Vintage Lens shop in NYC"
          buttons={[
            {text: "Explore Collection", href: "products"}
          ]}
          imagePosition="right"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardOne
          title="By The Numbers"
          description="Our commitment to preserving analog photography excellence"
          metrics={[
            {
              id: "1",              value: "5000+",              title: "Cameras Restored",              description: "Carefully restored and preserved",              icon: Camera
            },
            {
              id: "2",              value: "35",              title: "Years in Business",              description: "Serving NYC photography community",              icon: Award
            },
            {
              id: "3",              value: "8000+",              title: "Happy Collectors",              description: "Photography enthusiasts worldwide",              icon: Users
            },
            {
              id: "4",              value: "50+",              title: "Brands Stocked",              description: "From Leica to Hasselblad",              icon: Star
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="scale-rotate"
          textboxLayout="default"
          useInvertedBackground="invertCard"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardSix
          title="Trusted by Photography Enthusiasts"
          description="Hear from collectors and photographers who've found their perfect vintage camera at Vintage Lens"
          testimonials={[
            {
              id: "1",              name: "Marcus Chen",              handle: "@marcusphoto",              testimonial: "Found my Leica M3 here three years ago. The condition was pristine and the knowledge of the staff was invaluable. Highly recommend!",              imageSrc: "https://img.b2bpic.net/free-photo/happy-attractive-photographer-standing-outdoors-with-camera_8353-6513.jpg",              imageAlt: "Marcus Chen"
            },
            {
              id: "2",              name: "Sarah Williams",              handle: "@sarahfilmphotography",              testimonial: "The attention to detail is unmatched. Every camera is tested and documented. This is the real deal for serious film photographers.",              imageSrc: "https://img.b2bpic.net/free-photo/front-view-smiley-male-photographer_23-2148453397.jpg",              imageAlt: "Sarah Williams"
            },
            {
              id: "3",              name: "James Rodriguez",              handle: "@jamesvisuals",              testimonial: "Been visiting for years. They have an incredible selection and the staff genuinely cares about matching you with the right camera.",              imageSrc: "https://img.b2bpic.net/free-photo/handsome-caucasian-man-is-sitting-armchair-hotel-room-holding-professional-photo-camera_8353-10904.jpg",              imageAlt: "James Rodriguez"
            },
            {
              id: "4",              name: "Emma Thompson",              handle: "@emmaanalog",              testimonial: "Got my Hasselblad here. The restoration work is beautiful and the prices are fair. Best vintage camera shop in NYC.",              imageSrc: "https://img.b2bpic.net/free-photo/product-photographer-doing-his-job-studio_23-2148970264.jpg",              imageAlt: "Emma Thompson"
            },
            {
              id: "5",              name: "David Park",              handle: "@davidfilmlab",              testimonial: "A treasure trove of analog equipment. The owners know their stuff and will help you find exactly what you need.",              imageSrc: "https://img.b2bpic.net/free-photo/traveler-photographer-studio-portrait-handsome-bearded_613910-12325.jpg",              imageAlt: "David Park"
            },
            {
              id: "6",              name: "Lisa Chen",              handle: "@lisacamera",              testimonial: "Outstanding customer service and an amazing collection. Every visit feels like stepping into photography history.",              imageSrc: "https://img.b2bpic.net/free-photo/handsome-young-photographer-standing-with-camera-outdoors-against-building_8353-6514.jpg",              imageAlt: "Lisa Chen"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          speed={30}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactText
          text="Ready to start your analog photography journey? Get in touch with our team to discuss your camera needs or arrange a visit to our NYC showroom."
          animationType="reveal-blur"
          buttons={[
            {text: "Contact Us", href: "#"},
            {text: "Visit Our Store", href: "#"}
          ]}
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseCard
          logoText="Vintage Lens"
          columns={[
            {
              title: "Shop",              items: [
                {label: "All Cameras", href: "#products"},
                {label: "By Brand", href: "#"},
                {label: "New Arrivals", href: "#"},
                {label: "Rare Finds", href: "#"}
              ]
            },
            {
              title: "About",              items: [
                {label: "Our Story", href: "#about"},
                {label: "Restoration Process", href: "#"},
                {label: "Blog", href: "#"},
                {label: "Contact", href: "#contact"}
              ]
            },
            {
              title: "Support",              items: [
                {label: "Shipping Info", href: "#"},
                {label: "Returns", href: "#"},
                {label: "Camera Care Guide", href: "#"},
                {label: "FAQ", href: "#"}
              ]
            },
            {
              title: "Connect",              items: [
                {label: "Instagram", href: "#"},
                {label: "Newsletter", href: "#"},
                {label: "Events", href: "#"},
                {label: "Community", href: "#"}
              ]
            }
          ]}
          copyrightText="© 2025 Vintage Lens NYC. Preserving analog photography since 1989."
        />
      </div>
    </ThemeProvider>
  );
}