"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleMinimal from '@/components/navbar/NavbarStyleMinimal';
import HeroSplitAvatars from '@/components/sections/hero/HeroSplitAvatars';
import MediaAbout from '@/components/sections/about/MediaAbout';
import FeatureCardFifteen from '@/components/sections/feature/FeatureCardFifteen';
import ProductCardFive from '@/components/sections/product/ProductCardFive';
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';
import ContactFaq from '@/components/sections/contact/ContactFaq';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { Coffee, Heart, Star, Flame, Users, Calendar } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="bounce-effect"
      defaultTextAnimation="background-highlight"
      borderRadius="rounded"
      contentWidth="medium"
      sizing="mediumLarge"
      background="radialGradient"
      cardStyle="elevated-accent"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="glass"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleMinimal 
          brandName="The Daily Brew"
          button={{
            text: "Reserve a Table",            href: "contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplitAvatars 
          title="Your Daily Sanctuary"
          description="Experience exceptional coffee and warm hospitality in a space that feels like home. Where every cup tells a story."
          tag="Specialty Coffee Cafe"
          tagIcon={Coffee}
          avatars={[
            {
              src: "https://img.b2bpic.net/free-photo/front-view-business-woman-suit_23-2148603018.jpg",              alt: "Regular customer 1"
            },
            {
              src: "https://img.b2bpic.net/free-photo/close-up-confident-corporate-woman-professional-entrepreneur-smiling-cross-arms-chest-smiling-enthusiastic-standing-white-background_1258-85600.jpg",              alt: "Regular customer 2"
            },
            {
              src: "https://img.b2bpic.net/free-photo/happy-professional_1098-12931.jpg",              alt: "Regular customer 3"
            },
            {
              src: "https://img.b2bpic.net/free-photo/portrait-woman-with-curly-hair_23-2148728586.jpg",              alt: "Regular customer 4"
            },
            {
              src: "https://img.b2bpic.net/free-photo/portrait-smiley-business-woman_23-2148603029.jpg",              alt: "Regular customer 5"
            }
          ]}
          avatarText="Join 500+ coffee lovers"
          buttons={[
            {
              text: "Visit Us Today",              href: "contact"
            },
            {
              text: "See Our Menu",              href: "about"
            }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/coffee-cup-cheesecake-wooden-table-front-cushion-against-white-wall_23-2148067198.jpg"
          imageAlt="Cozy retro cafe with warm lighting"
          imagePosition="right"
        />
      </div>

      <div id="about" data-section="about">
        <MediaAbout 
          title="Crafted with Care Since 2015"
          description="At The Daily Brew, we believe coffee is more than just a beverage—it's a moment of connection. Our baristas are passionate about sourcing premium, ethically-grown beans and crafting each cup to perfection. From traditional espresso to innovative specialty drinks, we celebrate the art and science of great coffee."
          tag="Our Story"
          tagIcon={Heart}
          imageSrc="https://img.b2bpic.net/free-photo/cafe-coffee-beverage-break-fresh-aroma_53876-16474.jpg"
          imageAlt="Skilled barista preparing coffee"
          useInvertedBackground="invertDefault"
          buttons={[
            {
              text: "Learn Our Process",              href: "#features"
            }
          ]}
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardFifteen 
          title="What Makes Us Special"
          description="Discover the elements that define The Daily Brew experience"
          tag="Our Offerings"
          tagIcon={Star}
          features={[
            {
              id: "1",              title: "Premium Espresso",              description: "Hand-roasted single-origin beans pulled to perfection every time",              imageSrc: "https://img.b2bpic.net/free-photo/closeup-detail-professional-coffee-machine_169016-16963.jpg",              imageAlt: "Professional espresso machine"
            },
            {
              id: "2",              title: "Fresh Pastries",              description: "Baked daily by our partner artisan bakery down the street",              imageSrc: "https://img.b2bpic.net/free-photo/sweet-pastry-assortment-with-copy-space_23-2148516595.jpg",              imageAlt: "Selection of fresh pastries"
            },
            {
              id: "3",              title: "Latte Art",              description: "Every cup is a canvas—our baristas pour with passion and precision",              imageSrc: "https://img.b2bpic.net/free-photo/set-bakery-pastries-wooden-table_123827-31598.jpg",              imageAlt: "Beautiful latte art design"
            },
            {
              id: "4",              title: "Outdoor Oasis",              description: "Relax on our vintage-inspired patio with ambient coffee culture vibes",              imageSrc: "https://img.b2bpic.net/free-photo/breakfast-composition_23-2148104748.jpg",              imageAlt: "Charming outdoor seating area"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          buttons={[
            {
              text: "Reserve a Spot",              href: "contact"
            }
          ]}
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardFive 
          title="Featured Menu Items"
          description="Try our signature drinks and seasonal favorites"
          tag="Best Sellers"
          tagIcon={Flame}
          products={[
            {
              id: "1",              button: {
                text: "Order Now"
              },
              imageSrc: "https://img.b2bpic.net/free-photo/coffee-shop-concept-with-cups_23-2148865561.jpg",              imageAlt: "Classic Americano"
            },
            {
              id: "2",              button: {
                text: "Order Now"
              },
              imageSrc: "https://img.b2bpic.net/free-photo/bar-still-life-with-coffee-machine_23-2147821343.jpg",              imageAlt: "Creamy Cappuccino"
            },
            {
              id: "3",              button: {
                text: "Order Now"
              },
              imageSrc: "https://img.b2bpic.net/free-photo/man-preparing-coffee-coffee-shop_107420-84946.jpg",              imageAlt: "Refreshing Cold Brew"
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertCard"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwelve 
          testimonials={[
            {
              id: "1",              name: "Sarah Martinez",              imageSrc: "https://img.b2bpic.net/free-photo/front-view-business-woman-suit_23-2148603018.jpg"
            },
            {
              id: "2",              name: "James Wilson",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-confident-corporate-woman-professional-entrepreneur-smiling-cross-arms-chest-smiling-enthusiastic-standing-white-background_1258-85600.jpg"
            },
            {
              id: "3",              name: "Elena Rodriguez",              imageSrc: "https://img.b2bpic.net/free-photo/happy-professional_1098-12931.jpg"
            },
            {
              id: "4",              name: "Michael Chen",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-woman-with-curly-hair_23-2148728586.jpg"
            },
            {
              id: "5",              name: "Jessica Thompson",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-smiley-business-woman_23-2148603029.jpg"
            },
            {
              id: "6",              name: "David Park",              imageSrc: "https://img.b2bpic.net/free-photo/medium-shot-happy-woman-work_23-2149304146.jpg"
            }
          ]}
          cardTitle="Loved by 1,000+ Coffee Enthusiasts"
          cardTag="Join Our Community"
          cardTagIcon={Users}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactFaq 
          ctaTitle="Reserve Your Table"
          ctaDescription="Book a cozy corner at The Daily Brew and enjoy your perfect coffee moment with friends or solo."
          ctaButton={{
            text: "Book Now",            href: "#"
          }}
          ctaIcon={Calendar}
          faqs={[
            {
              id: "1",              title: "What are your operating hours?",              content: "We're open Monday-Friday 7am-8pm, Saturday 8am-9pm, and Sunday 8am-7pm. We're closed on major holidays."
            },
            {
              id: "2",              title: "Do you offer reservations?",              content: "Yes! We accept reservations for groups of 6 or more. Smaller groups are always welcome on a first-come, first-served basis."
            },
            {
              id: "3",              title: "Can I host a private event?",              content: "Absolutely! We offer private bookings for book clubs, meetings, or intimate celebrations. Contact us at events@thedailybrew.com."
            },
            {
              id: "4",              title: "Do you have Wi-Fi?",              content: "Yes, complimentary high-speed Wi-Fi is available to all guests. Perfect for remote work or catching up online."
            },
            {
              id: "5",              title: "Are you pet-friendly?",              content: "We love furry friends! Well-behaved pets are welcome on our outdoor patio area."
            }
          ]}
          useInvertedBackground="invertDefault"
          animationType="slide-up"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia 
          imageSrc="https://img.b2bpic.net/free-photo/pastries-croissants-table-near-cup-coffee_171337-16158.jpg"
          imageAlt="The Daily Brew interior ambiance"
          logoText="The Daily Brew"
          copyrightText="© 2025 | The Daily Brew Cafe"
          columns={[
            {
              title: "Hours",              items: [
                {
                  label: "Mon-Fri: 7am - 8pm"
                },
                {
                  label: "Sat: 8am - 9pm"
                },
                {
                  label: "Sun: 8am - 7pm"
                }
              ]
            },
            {
              title: "Menu",              items: [
                {
                  label: "Coffee",                  href: "#products"
                },
                {
                  label: "Pastries",                  href: "#features"
                },
                {
                  label: "Seasonal Specials",                  href: "#products"
                }
              ]
            },
            {
              title: "Connect",              items: [
                {
                  label: "Instagram",                  href: "https://instagram.com"
                },
                {
                  label: "Contact Us",                  href: "#contact"
                },
                {
                  label: "Gift Cards",                  href: "#"
                }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}