"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
import SplitAbout from '@/components/sections/about/SplitAbout';
import FeatureCardThree from '@/components/sections/feature/featureCardThree/FeatureCardThree';
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import { Sparkles, Heart, Globe, Sun, Leaf, Users, ChefHat, Clock, Home, MapPin, Handshake, Star, Smile } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="compact"
      sizing="largeSizeMediumTitles"
      background="circleGradient"
      cardStyle="inset"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="solid"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          brandName="Paris Bakery"
          navItems={[
            { name: "Home", id: "home" },
            { name: "Our Story", id: "about" },
            { name: "Menu", id: "features" },
            { name: "Community", id: "testimonials" },
            { name: "Visit Us", id: "contact" }
          ]}
          bottomLeftText="San Diego's Favorite"
          bottomRightText="hello@parisbakerysd.com"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboard
          title="Welcome to Paris Bakery"
          description="Where family, tradition, and taste come together. Discover the vibrant, soulful flavors of Vietnamese banh mi and French pastries crafted with love since 2008."
          background={{ variant: "sparkles-gradient" }}
          tag="San Diego's Favorite"
          tagIcon={Sparkles}
          imageSrc="https://img.b2bpic.net/free-photo/flat-lay-fresh-sandwiches-chopping-board_23-2148381180.jpg"
          imageAlt="Fresh Vietnamese banh mi sandwich"
          buttons={[
            { text: "Explore Our Story", href: "about" },
            { text: "Order Now", href: "https://www.banhmipx.com/paris-bakery" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <SplitAbout
          title="Roots of Paris Bakery"
          description="In 2008, our tight-knit family founded Paris Bakery with a bold vision: to bring the vibrant, soulful flavors of Vietnamese banh mi and French pastries to San Diego. Drawing inspiration from our heritage, we infused each sandwich and croissant with a deep love for tradition, crafting a unique fusion that celebrates the essence of both cultures."
          tag="Our Story"
          tagIcon={Heart}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          imagePosition="right"
          imageSrc="https://img.b2bpic.net/free-photo/young-boy-learning-bake-with-his-mother_53876-124729.jpg"
          imageAlt="Paris Bakery family heritage"
          bulletPoints={[
            {
              title: "Authentic Heritage",              description: "Blending Vietnamese and French culinary traditions in every bite",              icon: Globe
            },
            {
              title: "Fresh Daily",              description: "Our bakers rise before dawn to craft fresh baguettes and pastries",              icon: Sun
            },
            {
              title: "Quality Ingredients",              description: "Time-honored recipes with crisp vegetables and house-made sauces",              icon: Leaf
            },
            {
              title: "Community First",              description: "Supporting local initiatives and celebrating San Diego neighborhoods",              icon: Users
            }
          ]}
          buttons={[
            { text: "Visit Us Today", href: "contact" }
          ]}
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardThree
          title="Our Menu Specialties"
          description="Experience the perfect fusion of Vietnamese and French culinary traditions"
          tag="What We Craft"
          tagIcon={ChefHat}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          features={[
            {
              id: "01",              title: "Banh Mi Sandwiches",              description: "Crispy baguettes filled with savory meats, fresh vegetables, and our signature house-made sauces",              imageSrc: "https://img.b2bpic.net/free-photo/vietnamese-banh-mi-sandwich-wooden-table_123827-31232.jpg"
            },
            {
              id: "02",              title: "French Pastries",              description: "Delicate croissants, pain au chocolat, and artisan pastries that melt in your mouth",              imageSrc: "https://img.b2bpic.net/free-photo/vietnamese-banh-mi-sandwich-wooden-tablevietnamese-banh-mi-sandwich-wooden-table_123827-31224.jpg"
            },
            {
              id: "03",              title: "Fresh Bakery Goods",              description: "Daily-baked bread and morning treats delivered fresh to supermarkets across San Diego",              imageSrc: "https://img.b2bpic.net/free-photo/vietnamese-banh-mi-sandwich-wooden-table_123827-31884.jpg"
            }
          ]}
        />
      </div>

      <div id="timeline" data-section="timeline">
        <MetricCardOne
          title="A Journey Through Time"
          description="From a humble beginning in Little Saigon to becoming a San Diego favorite"
          tag="Our Timeline"
          tagIcon={Clock}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          metrics={[
            {
              id: "1",              value: "2008",              title: "Founded",              description: "Paris Bakery opens on El Cajon Blvd in Little Saigon, San Diego",              icon: Home
            },
            {
              id: "2",              value: "100%",              title: "Fresh Daily",              description: "All bread and pastries baked fresh every morning before dawn",              icon: Sun
            },
            {
              id: "3",              value: "Multi",              title: "Locations",              description: "Growing presence across San Diego serving the community",              icon: MapPin
            },
            {
              id: "4",              value: "∞",              title: "Family Values",              description: "Tradition, love, and community at the heart of everything we do",              icon: Heart
            }
          ]}
        />
      </div>

      <div id="community" data-section="community">
        <SplitAbout
          title="Community Roots"
          description="We see Paris Bakery as more than just a baker—it's a gathering place for the San Diego community. We proudly sponsor local initiatives and contribute to neighborhood efforts, from supporting school fundraisers to celebrating community festivals. Our customers are our family."
          tag="Community Impact"
          tagIcon={Handshake}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          imagePosition="left"
          imageSrc="https://img.b2bpic.net/free-photo/close-up-grandma-cutting-bread_23-2149168320.jpg"
          imageAlt="Community gathering at Paris Bakery"
          bulletPoints={[
            {
              title: "Local Sponsorships",              description: "Supporting school fundraisers and neighborhood initiatives",              icon: Star
            },
            {
              title: "Community Festivals",              description: "Active participant in San Diego's vibrant cultural celebrations",              icon: Sparkles
            },
            {
              title: "Customer Family",              description: "Building lasting relationships and cherishing shared memories",              icon: Users
            },
            {
              title: "Quality of Life",              description: "Committed to bringing joy and authentic flavors to our neighborhood",              icon: Smile
            }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardThirteen
          title="What Our Customers Say"
          description="Hear from the San Diego community about their Paris Bakery experience"
          tag="Customer Love"
          tagIcon={Heart}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          showRating={true}
          animationType="slide-up"
          testimonials={[
            {
              id: "1",              name: "Maria Garcia",              handle: "@mariag_foodlover",              testimonial: "The banh mi here is absolutely incredible! Fresh, authentic, and packed with flavor. It's become my weekly ritual!",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/front-view-cute-girl-looking-away_23-2148436134.jpg"
            },
            {
              id: "2",              name: "James Chen",              handle: "@jchen_sd",              testimonial: "I bring my kids here every Saturday morning for croissants. The family atmosphere and fresh pastries make it special.",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/smiling-man-sitting-cafe-table-gesturing_1262-1141.jpg"
            },
            {
              id: "3",              name: "Sandra Rodriguez",              handle: "@sandrar_eats",              testimonial: "A true San Diego gem! This place captures the heart and soul of both Vietnamese and French traditions beautifully.",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-beautiful-afro-american-woman_23-2148332136.jpg"
            },
            {
              id: "4",              name: "Michael Wong",              handle: "@mwong_food",              testimonial: "Best banh mi in San Diego, hands down. The ingredients are always fresh and the love in every bite is undeniable.",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/teen-age-youth-style-self-expression-concept-portrait-positive-happy-teenage-girl-with-bob-pinkish-hairstyle-facial-piercing-relaxing-indoors_343059-3781.jpg"
            },
            {
              id: "5",              name: "Lisa Thompson",              handle: "@lisathompson",              testimonial: "Paris Bakery feels like home. The staff treats you like family and the food tastes like it's made with love. Highly recommend!",              rating: 5,
              icon: Heart
            },
            {
              id: "6",              name: "David Phan",              handle: "@davidphan_sd",              testimonial: "This is what authentic fusion cuisine should look like. Respect to the family for keeping traditions alive in San Diego.",              rating: 5,
              icon: Star
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Visit Us"
          title="Experience Paris Bakery"
          description="Whether you're craving a flaky croissant, a savory banh mi, or a sweet treat, we're ready to welcome you at our locations. Join us for a taste of tradition!"
          useInvertedBackground="noInvert"
          inputPlaceholder="Enter your email"
          buttonText="Subscribe for Updates"
          termsText="We respect your privacy. Get updates on new menu items and special events!"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseCard
          logoText="Paris Bakery"
          columns={[
            {
              title: "Our Company",              items: [
                { label: "Home", href: "#home" },
                { label: "Our Story", href: "#about" },
                { label: "Locations", href: "https://www.banhmipx.com/paris-bakery" },
                { label: "Contact Us", href: "mailto:hello@parisbakerysd.com" }
              ]
            },
            {
              title: "Our Menu",              items: [
                { label: "Order Online", href: "https://www.banhmipx.com/paris-bakery" },
                { label: "Sandwiches", href: "https://www.banhmipx.com/paris-bakery" },
                { label: "Pastries", href: "https://www.banhmipx.com/paris-bakery" },
                { label: "Drinks", href: "https://www.banhmipx.com/paris-bakery" }
              ]
            },
            {
              title: "Visit Us",              items: [
                { label: "224 Broadway, Chula Vista, CA 91910", href: "https://maps.google.com/?q=224+Broadway+Chula+Vista+CA+91910" },
                { label: "Mon-Sat: 8am-5pm", href: "#" },
                { label: "Sun: 9am-4pm", href: "#" },
                { label: "hello@parisbakerysd.com", href: "mailto:hello@parisbakerysd.com" }
              ]
            },
            {
              title: "Follow Us",              items: [
                { label: "Instagram", href: "https://instagram.com" },
                { label: "Facebook", href: "https://facebook.com" },
                { label: "UberEats", href: "https://ubereats.com" },
                { label: "DoorDash", href: "https://doordash.com" }
              ]
            }
          ]}
          copyrightText="© 2025 Paris Bakery | Banh Mi PX. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}