"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterCard from '@/components/sections/footer/FooterCard';
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import PricingCardNine from '@/components/sections/pricing/PricingCardNine';
import { Facebook, Image, Instagram } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="expand-hover"
        defaultTextAnimation="reveal-blur"
        borderRadius="rounded"
        contentWidth="smallMedium"
        sizing="large"
        background="fluid"
        cardStyle="glass-depth"
        primaryButtonStyle="gradient"
        secondaryButtonStyle="layered"
        headingFontWeight="bold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingOverlay
      navItems={[
        {
          name: "Home",
          id: "/",
        },
        {
          name: "Kitchens",
          id: "/kitchens",
        },
        {
          name: "Bathrooms",
          id: "/bathrooms",
        },
        {
          name: "Renovations",
          id: "/renovations",
        },
        {
          name: "Wardrobes",
          id: "/wardrobes",
        },
        {
          name: "Projects",
          id: "/projects",
        },
        {
          name: "About",
          id: "/about",
        },
      ]}
      brandName="Biotti"
      button={{
        text: "Book Consultation",
        href: "/contact",
      }}
    />
  </div>

  <div id="financing" data-section="financing">
      <PricingCardNine
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={true}
      plans={[
        {
          id: "option-1",
          title: "Standard Payment",
          price: "Deposit + Milestones",
          period: "Flexible",
          features: [
            "Staged payments",
            "Clear milestones",
            "Invoice-based billing",
          ],
          button: {
            text: "Inquire Now",
            href: "#",
          },
          imageSrc: "http://img.b2bpic.net/free-photo/smiling-financial-advisor-using-laptop-while-having-meeting-with-young-couple_637285-5798.jpg",
          imageAlt: "Payment plan document with calculator",
        },
        {
          id: "option-2",
          title: "Partner Financing",
          price: "Low-Interest Loans",
          period: "Up to 60 Months",
          features: [
            "Competitive rates",
            "Fast approval",
            "Dedicated advisor",
          ],
          button: {
            text: "Apply Now",
            href: "#",
          },
          imageSrc: "http://img.b2bpic.net/free-photo/modern-tokyo-street-background_23-2149394940.jpg",
          imageAlt: "Bank building exterior with modern architecture",
        },
        {
          id: "option-3",
          title: "Custom Plan",
          price: "Tailored Solutions",
          period: "Bespoke",
          features: [
            "Personalized terms",
            "Large project support",
            "Expert consultation",
          ],
          button: {
            text: "Discuss Options",
            href: "#",
          },
          imageSrc: "http://img.b2bpic.net/free-photo/crane-made-paper_1162-69.jpg",
          imageAlt: "Custom tailored suit with measuring tape",
        },
      ]}
      title="Flexible Financing for Ambitious Projects"
      description="Whether you're redesigning a kitchen or transforming your entire home, we offer tailored financing options that make exceptional design more accessible."
    />
  </div>

  <div id="contact-form" data-section="contact-form">
      <ContactCenter
      useInvertedBackground={false}
      background={{
        variant: "plain",
      }}
      tag="Get in Touch"
      title="Let's Discuss Your Project"
      description="Whether you're planning a new kitchen, a luxury bathroom or a complete renovation, our team is ready to help bring your vision to life.\n\n📍 Corazón de María 35, 28002 Madrid\n📞 91 413 94 92\n✉ info@biotti.es"
      inputPlaceholder="Your email address"
      buttonText="Request Consultation"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterCard
      logoText="Biotti"
      copyrightText="© 2024 Biotti. All rights reserved."
      socialLinks={[
        {
          icon: Facebook,
          href: "#",
          ariaLabel: "Facebook",
        },
        {
          icon: Instagram,
          href: "#",
          ariaLabel: "Instagram",
        },
        {
          icon: Image,
          href: "#",
          ariaLabel: "Pinterest",
        },
      ]}
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
