"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleMinimal from '@/components/navbar/NavbarStyleMinimal';
import HeroBillboardCarousel from '@/components/sections/hero/HeroBillboardCarousel';
import MediaSplitAbout from '@/components/sections/about/MediaSplitAbout';
import FeatureCardTwelve from '@/components/sections/feature/FeatureCardTwelve';
import TestimonialCardEight from '@/components/sections/testimonial/TestimonialCardEight';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterCard from '@/components/sections/footer/FooterCard';
import { Instagram, Facebook } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="expand-hover"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="smallMedium"
      sizing="mediumSizeLargeTitles"
      background="none"
      cardStyle="solid-accent"
      primaryButtonStyle="neon-glow-border"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleMinimal 
          brandName="The Daily Brew"
          button={{
            text: "Order Now",
            href: "contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardCarousel 
          title="Your Daily Escape Awaits"
          description="Discover exceptional coffee crafted with passion, paired with fresh pastries in a warm, welcoming space designed for connection and conversation."
          tag="Specialty Coffee"
          buttons={[
            { text: "Explore Menu", href: "features" },
            { text: "Visit Us Today", href: "contact" }
          ]}
          mediaItems={[
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766926838097-riwsxo1e.jpg",
              imageAlt: "Freshly brewed espresso"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766926072868-mtlzwduc.jpg",
              imageAlt: "Barista crafting coffee"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766926839137-l88d5xyi.jpg",
              imageAlt: "Artisanal pastries and baked goods"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766926840156-qnwdw760.jpg",
              imageAlt: "Latte with decorative foam art"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766926841147-bcqdr429.jpg",
              imageAlt: "Premium roasted coffee beans"
            }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <MediaSplitAbout 
          title="More Than Just Coffee"
          description="Since 2015, The Daily Brew has been a cornerstone of our community. We believe great coffee starts with quality beans, skilled craftsmanship, and genuine care. Every cup is an invitation to slow down, connect, and savor the moment. Our cozy space welcomes regulars and first-time visitors alike, making it the perfect spot for work, meetings, or simply enjoying a quiet morning."
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766926842736-hc26d4ac.jpg"
          imageAlt="Warm and inviting coffee shop interior"
          imagePosition="right"
          useInvertedBackground="noInvert"
          buttons={[
            { text: "Learn Our Story", href: "#" }
          ]}
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardTwelve 
          features={[
            {
              id: "specialty",
              label: "Specialty",
              title: "Artisan Coffee Selection",
              items: [
                "Single-origin beans sourced directly from farms",
                "Custom roasts tailored to your preference",
                "Seasonal limited editions"
              ]
            },
            {
              id: "atmosphere",
              label: "Atmosphere",
              title: "A Welcoming Community Space",
              items: [
                "Cozy seating perfect for work or relaxation",
                "Free WiFi for remote workers and students",
                "Regular live music and events"
              ]
            },
            {
              id: "pastries",
              label: "Pastries",
              title: "Fresh Baked Goods Daily",
              items: [
                "Locally sourced ingredients",
                "Seasonal menu highlights",
                "Vegan and gluten-free options"
              ]
            }
          ]}
          animationType="slide-up"
          title="Why Coffee Lovers Choose Us"
          description="Discover what makes every visit to The Daily Brew special and memorable."
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardEight 
          testimonials={[
            {
              id: "1",
              name: "Sarah Martinez",
              role: "Regular Customer",
              company: "Morning Ritual Enthusiast",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766926844235-7l29aoad.jpg",
              imageAlt: "Sarah Martinez"
            },
            {
              id: "2",
              name: "James Chen",
              role: "Freelance Designer",
              company: "Remote Worker",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766926845317-onizj8gx.jpg",
              imageAlt: "James Chen"
            },
            {
              id: "3",
              name: "Emma Wilson",
              role: "Student",
              company: "Study Spot Finder",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766926846673-7hhe1qih.jpg",
              imageAlt: "Emma Wilson"
            },
            {
              id: "4",
              name: "Michael Rodriguez",
              role: "Business Owner",
              company: "Meeting Host",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766926848146-0buu1sqb.jpg",
              imageAlt: "Michael Rodriguez"
            }
          ]}
          title="Loved by Our Community"
          description="Hear from the people who make The Daily Brew part of their daily routine."
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter 
          tag="Stay Connected"
          title="Join Our Coffee Community"
          description="Subscribe to our newsletter for exclusive offers, new menu items, and invitations to special events. Be the first to know about our seasonal specials."
          inputPlaceholder="Enter your email"
          buttonText="Subscribe"
          termsText="We respect your privacy. Unsubscribe anytime with one click."
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterCard 
          logoText="The Daily Brew"
          copyrightText="© 2025 The Daily Brew. All rights reserved. Your daily escape."
          socialLinks={[
            {
              icon: Instagram,
              href: "https://instagram.com",
              ariaLabel: "Visit us on Instagram"
            },
            {
              icon: Facebook,
              href: "https://facebook.com",
              ariaLabel: "Visit us on Facebook"
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}