"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
import HeroBillboard from "@/components/sections/hero/HeroBillboard";
import SplitAbout from "@/components/sections/about/SplitAbout";
import FeatureCardSeven from "@/components/sections/feature/FeatureCardSeven";
import TestimonialCardTwo from "@/components/sections/testimonial/TestimonialCardTwo";
import ContactSplitForm from "@/components/sections/contact/ContactSplitForm";
import FooterMedia from "@/components/sections/footer/FooterMedia";
import { Coffee, Heart, Globe, Users, Star, UtensilsCrossed, Sparkles, Egg, Leaf, Sandwich } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="background-highlight"
      borderRadius="pill"
      contentWidth="small"
      sizing="mediumLargeSizeMediumTitles"
      background="noise"
      cardStyle="inset"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="Dolce"
          navItems={[
            { name: "Breakfast", id: "breakfast" },
            { name: "Specialties", id: "specialties" },
            { name: "Salads", id: "salads" },
            { name: "Panini", id: "panini" },
            { name: "Hamburguesa", id: "hamburguesa" },
            { name: "About", id: "about" },
            { name: "Visit Us", id: "visit" }
          ]}
          button={{ text: "Reserve a Table", href: "#contact" }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboard
          title="Handcrafted Pastries, Warm Smiles, Home Away From Home"
          description="Where every visit feels like home — handcrafted pastries, rich coffee, and warm smiles served daily. Join our family of loyal guests who return for the food, stay for the hospitality."
          background={{ variant: "plain" }}
          tag="Welcome to Dolce"
          tagIcon={Coffee}
          tagAnimation="slide-up"
          buttons={[
            { text: "View Full Menu", href: "#breakfast" },
            { text: "Visit Us", href: "#visit" }
          ]}
          buttonAnimation="slide-up"
          imageSrc="http://img.b2bpic.net/free-photo/portrait-female-shopkeeper-standing-turkish-sweets-counter_107420-94727.jpg"
          imageAlt="Artisanal pastries and handcrafted baked goods at Dolce Bakery"
          mediaAnimation="slide-up"
        />
      </div>

      <div id="breakfast" data-section="breakfast">
        <FeatureCardSeven
          title="Breakfast Menu"
          description="Start your morning with our authentic Latin American breakfast specialties, all handcrafted fresh daily."
          tag="Morning Favorites"
          tagIcon={Egg}
          tagAnimation="slide-up"
          buttons={[]}
          buttonAnimation="slide-up"
          features={[
            {
              id: 1,
              title: "Artisan Croissants",              description: "Butter-laminated and baked to golden perfection daily. Our croissants deliver that perfect balance of flaky layers and tender crumb.",              imageSrc: "http://img.b2bpic.net/free-photo/croissant-wooden-kitchen-towel-flat-lay_176474-8145.jpg?_wi=1",              imageAlt: "Golden, flaky artisan croissant"
            },
            {
              id: 2,
              title: "Traditional Empanadas",              description: "Authentic Latin American pastries filled with savory meats, cheese, and vegetables. A taste of heritage in every bite.",              imageSrc: "http://img.b2bpic.net/free-photo/delicious-indian-dosa-assortment_23-2149086033.jpg?_wi=1",              imageAlt: "Fresh baked traditional empanada"
            },
            {
              id: 3,
              title: "Specialty Breakfast Scramble",              description: "Freshly prepared eggs with premium ingredients, served with house-made tortillas and fresh fruit.",              imageSrc: "http://img.b2bpic.net/free-photo/close-up-hand-pouring-milk-cup_23-2148865607.jpg?_wi=1",              imageAlt: "Artisan breakfast scramble"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="specialties" data-section="specialties">
        <FeatureCardSeven
          title="Specialty Items"
          description="Discover our carefully curated selection of signature dishes that showcase our commitment to quality and authenticity."
          tag="Chef's Selections"
          tagIcon={UtensilsCrossed}
          tagAnimation="slide-up"
          buttons={[]}
          buttonAnimation="slide-up"
          features={[
            {
              id: 1,
              title: "Specialty Coffee",              description: "Rich, expertly brewed coffee sourced from premium regional roasters. We pair each cup with genuine care.",              imageSrc: "http://img.b2bpic.net/free-photo/close-up-hand-pouring-milk-cup_23-2148865607.jpg?_wi=2",              imageAlt: "Artisan specialty coffee served in cafe"
            },
            {
              id: 2,
              title: "Seasonal Pastry Selection",              description: "Our pastry chefs create unique, seasonal offerings that celebrate local ingredients and traditional techniques.",              imageSrc: "http://img.b2bpic.net/free-photo/croissant-wooden-kitchen-towel-flat-lay_176474-8145.jpg?_wi=2",              imageAlt: "Seasonal pastry selection"
            },
            {
              id: 3,
              title: "House-Made Desserts",              description: "Indulge in our collection of handcrafted desserts, from classic flan to contemporary creations.",              imageSrc: "http://img.b2bpic.net/free-photo/delicious-indian-dosa-assortment_23-2149086033.jpg?_wi=2",              imageAlt: "House-made specialty desserts"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
        />
      </div>

      <div id="salads" data-section="salads">
        <FeatureCardSeven
          title="Fresh Salad Collection"
          description="Enjoy our selection of vibrant, fresh salads prepared with locally-sourced ingredients and house-made dressings."
          tag="Light & Fresh"
          tagIcon={Leaf}
          tagAnimation="slide-up"
          buttons={[]}
          buttonAnimation="slide-up"
          features={[
            {
              id: 1,
              title: "Garden Greens Salad",              description: "Mixed organic greens with seasonal vegetables, topped with our signature vinaigrette and fresh herbs.",              imageSrc: "http://img.b2bpic.net/free-photo/croissant-wooden-kitchen-towel-flat-lay_176474-8145.jpg?_wi=3",              imageAlt: "Fresh garden greens salad"
            },
            {
              id: 2,
              title: "Latin Quinoa Bowl",              description: "Protein-packed quinoa with roasted vegetables, beans, avocado, and a lime-cilantro dressing.",              imageSrc: "http://img.b2bpic.net/free-photo/delicious-indian-dosa-assortment_23-2149086033.jpg?_wi=3",              imageAlt: "Latin quinoa bowl salad"
            },
            {
              id: 3,
              title: "Caprese Salad",              description: "Heirloom tomatoes, fresh mozzarella, basil, and balsamic reduction — a timeless classic done right.",              imageSrc: "http://img.b2bpic.net/free-photo/close-up-hand-pouring-milk-cup_23-2148865607.jpg?_wi=3",              imageAlt: "Classic caprese salad"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="panini" data-section="panini">
        <FeatureCardSeven
          title="Panini Selection"
          description="Pressed to perfection with premium meats, cheeses, and fresh vegetables. Our panini are crafted for maximum flavor."
          tag="Toasted & Pressed"
          tagIcon={Sandwich}
          tagAnimation="slide-up"
          buttons={[]}
          buttonAnimation="slide-up"
          features={[
            {
              id: 1,
              title: "Prosciutto & Fig",              description: "Creamy brie, sliced prosciutto, fresh figs, and arugula on multigrain bread. A sophisticated combination.",              imageSrc: "http://img.b2bpic.net/free-photo/croissant-wooden-kitchen-towel-flat-lay_176474-8145.jpg?_wi=4",              imageAlt: "Prosciutto and fig panini"
            },
            {
              id: 2,
              title: "Roasted Vegetable",              description: "Seasonal roasted vegetables with fresh mozzarella, sun-dried tomatoes, and basil pesto.",              imageSrc: "http://img.b2bpic.net/free-photo/delicious-indian-dosa-assortment_23-2149086033.jpg?_wi=4",              imageAlt: "Roasted vegetable panini"
            },
            {
              id: 3,
              title: "Latin Chorizo",              description: "Grilled chorizo, caramelized onions, pepper jack cheese, and cilantro aioli — a bold Latin favorite.",              imageSrc: "http://img.b2bpic.net/free-photo/close-up-hand-pouring-milk-cup_23-2148865607.jpg?_wi=4",              imageAlt: "Latin chorizo panini"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
        />
      </div>

      <div id="hamburguesa" data-section="hamburguesa">
        <FeatureCardSeven
          title="Hamburguesa Collection"
          description="Handcrafted burgers with premium beef, artisanal toppings, and house-made condiments. Pure comfort food done right."
          tag="Gourmet Burgers"
          tagIcon={Sandwich}
          tagAnimation="slide-up"
          buttons={[]}
          buttonAnimation="slide-up"
          features={[
            {
              id: 1,
              title: "Classic Deluxe",              description: "Premium ground beef, aged cheddar, lettuce, tomato, onion, pickles, and our signature sauce on a toasted bun.",              imageSrc: "http://img.b2bpic.net/free-photo/croissant-wooden-kitchen-towel-flat-lay_176474-8145.jpg?_wi=5",              imageAlt: "Classic deluxe hamburger"
            },
            {
              id: 2,
              title: "Latin-Spiced Burger",              description: "Seasoned ground beef with pepper jack cheese, jalapeños, crispy bacon, and chipotle mayo.",              imageSrc: "http://img.b2bpic.net/free-photo/delicious-indian-dosa-assortment_23-2149086033.jpg?_wi=5",              imageAlt: "Latin-spiced hamburger"
            },
            {
              id: 3,
              title: "Mushroom & Swiss",              description: "Beef patty topped with sautéed mushrooms, melted Swiss cheese, caramelized onions, and garlic aioli.",              imageSrc: "http://img.b2bpic.net/free-photo/close-up-hand-pouring-milk-cup_23-2148865607.jpg?_wi=5",              imageAlt: "Mushroom and Swiss hamburger"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="about" data-section="about">
        <SplitAbout
          title="Our Story"
          description="Dolce Bakery & Cafe is more than just a place to grab breakfast — it's a gathering space where community comes together. Founded on the principles of authentic craftsmanship and genuine hospitality, we blend traditional Latin American breakfast techniques with contemporary cafe culture to create an experience that feels like home."
          tag="Authenticity & Craftsmanship"
          tagIcon={Heart}
          tagAnimation="slide-up"
          buttons={[{ text: "Reserve a Table", href: "#visit" }]}
          buttonAnimation="slide-up"
          bulletPoints={[
            {
              title: "Handcrafted Daily",              description: "Every pastry and breakfast item is prepared fresh each morning using time-honored recipes and premium ingredients.",              icon: Sparkles
            },
            {
              title: "Latin American Heritage",              description: "We honor authentic flavors and traditions, bringing genuine Latin American breakfast culture to your table.",              icon: Globe
            },
            {
              title: "Warm Hospitality",              description: "Our team treats every guest like family, creating a welcoming atmosphere that keeps people coming back.",              icon: Users
            }
          ]}
          imageSrc="http://img.b2bpic.net/free-photo/two-women-having-lunch-together-sitting-near-window-cafe_141793-1972.jpg"
          imageAlt="Cozy interior of Dolce Bakery & Cafe showing warm hospitality"
          mediaAnimation="slide-up"
          imagePosition="right"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwo
          title="Loved by Our Community"
          description="Hear from guests who have made Dolce their home away from home."
          tag="Guest Stories"
          tagIcon={Star}
          tagAnimation="slide-up"
          buttons={[]}
          buttonAnimation="slide-up"
          testimonials={[
            {
              id: "1",              name: "Maria Rodriguez",              role: "Regular Guest",              testimonial: "Dolce feels like visiting family every morning. The pastries are incredible, but it's really the warmth and genuine care from the team that keeps me coming back.",              imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-brunette-woman-drinks-morning-coffee-cafe_613910-12134.jpg",              imageAlt: "Maria Rodriguez"
            },
            {
              id: "2",              name: "James Chen",              role: "Business Owner",              testimonial: "I started taking my morning meetings here because of the peaceful atmosphere. Now half my team joins me — it's become our favorite gathering space.",              imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-business-man-with-backpack_23-2149915912.jpg",              imageAlt: "James Chen"
            },
            {
              id: "3",              name: "Sofia Martinez",              role: "Local Visitor",              testimonial: "The authentic flavors transport me back to my childhood breakfasts. Thank you for preserving these traditions with such care and love.",              imageSrc: "http://img.b2bpic.net/free-photo/business-woman-standing-office-with-spread-hands-smie-her-face_1098-20743.jpg",              imageAlt: "Sofia Martinez"
            },
            {
              id: "4",              name: "David Thompson",              role: "Frequent Guest",              testimonial: "Best croissants in the city, hands down. But more importantly, this place feels different — it's where community happens.",              imageSrc: "http://img.b2bpic.net/free-photo/girl-sitting-table-holding-mobile-phone-indoors_171337-17096.jpg",              imageAlt: "David Thompson"
            },
            {
              id: "5",              name: "Isabella Rossi",              role: "Neighborhood Resident",              testimonial: "Dolce is the heart of our neighborhood. Everyone comes here, and everyone leaves happier. It's remarkable what genuine hospitality can create.",              imageSrc: "http://img.b2bpic.net/free-photo/beautiful-young-smiling-woman_93675-133805.jpg",              imageAlt: "Isabella Rossi"
            },
            {
              id: "6",              name: "Marcus Johnson",              role: "Community Member",              testimonial: "I've never felt so welcomed at a cafe. The team remembers my order and always asks how my day is going. That kind of care is rare.",              imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-entrepreneur-woman_23-2148898746.jpg",              imageAlt: "Marcus Johnson"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="visit" data-section="visit">
        <ContactSplitForm
          title="Visit Us Today"
          description="Stop by Dolce Bakery & Cafe to experience the warmth, quality, and hospitality that make us a beloved local gathering space. We're here to welcome you."
          inputs={[
            { name: "name", type: "text", placeholder: "Your Name", required: true },
            { name: "email", type: "email", placeholder: "Your Email", required: true },
            { name: "phone", type: "tel", placeholder: "Phone Number (Optional)", required: false }
          ]}
          textarea={{
            name: "message",            placeholder: "Tell us about your visit or ask about reservations...",            rows: 4,
            required: false
          }}
          imageSrc="http://img.b2bpic.net/free-photo/beautiful-girl-having-coffee-cafe_1328-4395.jpg?_wi=1"
          imageAlt="Dolce Bakery & Cafe welcoming storefront"
          mediaAnimation="slide-up"
          mediaPosition="right"
          buttonText="Get in Touch"
          useInvertedBackground={true}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="http://img.b2bpic.net/free-photo/beautiful-girl-having-coffee-cafe_1328-4395.jpg?_wi=2"
          imageAlt="Dolce Bakery & Cafe storefront"
          logoText="Dolce"
          copyrightText="© 2025 Dolce Bakery & Cafe. All rights reserved."
          columns={[
            {
              title: "Hours",              items: [
                { label: "Monday - Friday: 6am - 8pm", href: "#" },
                { label: "Saturday - Sunday: 7am - 9pm", href: "#" },
                { label: "Closed Holidays", href: "#" }
              ]
            },
            {
              title: "Menu",              items: [
                { label: "Breakfast", href: "#breakfast" },
                { label: "Specialties", href: "#specialties" },
                { label: "Salads", href: "#salads" },
                { label: "Panini", href: "#panini" },
                { label: "Hamburguesa", href: "#hamburguesa" }
              ]
            },
            {
              title: "Connect",              items: [
                { label: "Instagram", href: "https://instagram.com" },
                { label: "Facebook", href: "https://facebook.com" },
                { label: "Email", href: "mailto:hello@dolcebakery.com" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}