"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FeatureBento from '@/components/sections/feature/FeatureBento';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import HeroLogoBillboard from '@/components/sections/hero/HeroLogoBillboard';
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';
import { CreditCard, MapPin, Utensils, Zap } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="hover-bubble"
        defaultTextAnimation="background-highlight"
        borderRadius="soft"
        contentWidth="mediumLarge"
        sizing="large"
        background="noise"
        cardStyle="soft-shadow"
        primaryButtonStyle="radial-glow"
        secondaryButtonStyle="solid"
        headingFontWeight="semibold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingInline
      navItems={[
        {
          name: "Inicio",
          id: "hero",
        },
        {
          name: "Carta",
          id: "menu",
        },
        {
          name: "Ubicación",
          id: "contact",
        },
      ]}
      brandName="Abdul Kebab"
      button={{
        text: "📞 957 39 20 47",
        href: "tel:957392047",
      }}
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroLogoBillboard
      background={{
        variant: "sparkles-gradient",
      }}
      logoText="Abdul Kebab"
      description="El kebab favorito de Montilla. Rápido, abundante y al mejor precio."
      buttons={[
        {
          text: "📞 Llamar ahora",
          href: "tel:957392047",
        },
        {
          text: "📍 Cómo llegar",
          href: "https://maps.google.com/?q=Av.+de+la+Constitución,11A,Montilla",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/street-food-still-life_23-2151535293.jpg?_wi=1"
      imageAlt="Kebab favorito de Montilla"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardTwelve
      useInvertedBackground={false}
      testimonials={[
        {
          id: "t1",
          name: "Juan García",
          imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-happy-woman-holding-glass_23-2148965394.jpg",
        },
        {
          id: "t2",
          name: "María López",
          imageSrc: "http://img.b2bpic.net/free-photo/fashionable-male-with-beard-appeasing-hunger-while-dining-alone-modern-restaurant-sunny-day-eating-meal-with-knife-fork_273609-1966.jpg",
        },
        {
          id: "t3",
          name: "Pedro Ruiz",
          imageSrc: "http://img.b2bpic.net/free-photo/love-concept-with-happy-couple-spending-time-together_23-2149068883.jpg",
        },
        {
          id: "t4",
          name: "Ana Gómez",
          imageSrc: "http://img.b2bpic.net/free-photo/outdoor-shot-delighted-happy-dark-skinned-young-female-wears-red-blouse-listens-audio-song-headphones_273609-3479.jpg",
        },
        {
          id: "t5",
          name: "Luis Torres",
          imageSrc: "http://img.b2bpic.net/free-photo/people-enjoying-mexican-barbecue_23-2151000369.jpg",
        },
      ]}
      cardTitle="Lo que dicen de nosotros"
      cardTag="4,6 ⭐ en Google"
      cardAnimation="slide-up"
    />
  </div>

  <div id="menu" data-section="menu">
      <ProductCardOne
      animationType="slide-up"
      textboxLayout="split"
      gridVariant="four-items-2x2-equal-grid"
      useInvertedBackground={false}
      products={[
        {
          id: "p1",
          name: "Kebab",
          price: "6€",
          imageSrc: "http://img.b2bpic.net/free-photo/front-view-sliced-delicious-shaurma-meat-sandwich-with-bread-vegetables-dark-space_140725-95360.jpg?_wi=1",
        },
        {
          id: "p2",
          name: "Durum",
          price: "6€",
          imageSrc: "http://img.b2bpic.net/free-photo/delicious-rolled-sandwiches-with-chicken-avocado_1147-338.jpg?_wi=1",
        },
        {
          id: "p3",
          name: "Patata Asada",
          price: "5€",
          imageSrc: "http://img.b2bpic.net/free-photo/grilled-turkey-with-potatoes-herbs-wooden-table_23-2147841051.jpg",
        },
        {
          id: "p4",
          name: "Pizza Kebab",
          price: "8€",
          imageSrc: "http://img.b2bpic.net/free-photo/side-view-eggplant-pizza-with-grilled-slices-red-meat-tomato-eggplant-cheese-bell-pepper-table_141793-4890.jpg",
        },
      ]}
      title="Nuestra Carta"
      description="Elige tu favorito y pide por teléfono al 957 39 20 47"
    />
  </div>

  <div id="features" data-section="features">
      <FeatureBento
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      features={[
        {
          title: "Servicio Rápido",
          description: "Tener tu comida lista es nuestra prioridad.",
          bentoComponent: "reveal-icon",
          icon: Zap,
          imageSrc: "http://img.b2bpic.net/free-photo/fried-meat-with-potato-onin-mixed-with-greens-side-view_141793-2368.jpg",
          imageAlt: "Fried meat with potato and onin mixed with greens side view",
        },
        {
          title: "Gran Cantidad",
          description: "Porciones generosas que te dejarán satisfecho.",
          bentoComponent: "reveal-icon",
          icon: Utensils,
          imageSrc: "http://img.b2bpic.net/free-photo/street-food-still-life_23-2151535293.jpg?_wi=2",
          imageAlt: "Fried meat with potato and onin mixed with greens side view",
        },
        {
          title: "Precios Bajos",
          description: "La mejor relación calidad-precio de la ciudad.",
          bentoComponent: "reveal-icon",
          icon: CreditCard,
          imageSrc: "http://img.b2bpic.net/free-photo/front-view-sliced-delicious-shaurma-meat-sandwich-with-bread-vegetables-dark-space_140725-95360.jpg?_wi=2",
          imageAlt: "Fried meat with potato and onin mixed with greens side view",
        },
        {
          title: "Ubicación Céntrica",
          description: "En Av. Constitución, 11A.",
          bentoComponent: "reveal-icon",
          icon: MapPin,
          imageSrc: "http://img.b2bpic.net/free-photo/delicious-rolled-sandwiches-with-chicken-avocado_1147-338.jpg?_wi=2",
          imageAlt: "Fried meat with potato and onin mixed with greens side view",
        },
      ]}
      title="Por qué elegir Abdul Kebab"
      description="Calidad, sabor y rapidez en el centro de Montilla."
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactCTA
      useInvertedBackground={false}
      background={{
        variant: "sparkles-gradient",
      }}
      tag="Contacto"
      title="Abierto desde las 18:00"
      description="Dirección: Av. de la Constitución, 11A, Montilla, Córdoba. ¡Haz tu pedido ahora!"
      buttons={[
        {
          text: "📞 Llamar ahora",
          href: "tel:957392047",
        },
        {
          text: "📍 Google Maps",
          href: "https://maps.google.com/?q=Av.+de+la+Constitución,11A,Montilla",
        },
      ]}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBaseReveal
      logoText="Abdul Kebab"
      columns={[
        {
          title: "Enlaces",
          items: [
            {
              label: "Inicio",
              href: "#hero",
            },
            {
              label: "Carta",
              href: "#menu",
            },
            {
              label: "Contacto",
              href: "#contact",
            },
          ],
        },
        {
          title: "Legal",
          items: [
            {
              label: "Privacidad",
              href: "#",
            },
            {
              label: "Aviso Legal",
              href: "#",
            },
          ],
        },
      ]}
      copyrightText="© 2024 Abdul Kebab Montilla. Todos los derechos reservados."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
