"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="medium"
      sizing="medium"
      background="circleGradient"
      cardStyle="glass-elevated"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        {/* Navigation component will be rendered here when available */}
      </div>

      <div id="hero" data-section="hero">
        {/* Hero section will be rendered here when available */}
        <div className="min-h-screen flex items-center justify-center bg-gradient-to-br from-amber-50 to-orange-100">
          <div className="text-center px-4">
            <h1 className="text-5xl font-bold text-gray-900 mb-6">Craft Coffee, Crafted with Care</h1>
            <p className="text-xl text-gray-700 mb-8 max-w-2xl mx-auto">Discover specialty coffee roasted fresh daily. We bring the finest beans from around the world to your cup.</p>
            <div className="flex gap-4 justify-center">
              <button className="px-6 py-3 bg-amber-600 text-white rounded-lg hover:bg-amber-700 transition-colors">Explore Menu</button>
              <button className="px-6 py-3 border border-amber-600 text-amber-600 rounded-lg hover:bg-amber-50 transition-colors">Visit Us Today</button>
            </div>
          </div>
        </div>
      </div>

      <div id="about" data-section="about">
        {/* About section will be rendered here when available */}
        <div className="py-16 px-4">
          <div className="max-w-4xl mx-auto text-center">
            <h2 className="text-3xl font-bold text-gray-900 mb-6">About Us</h2>
            <p className="text-lg text-gray-700">We believe in honest coffee. Every cup tells a story of passion, quality, and connection to the farmers who grew it.</p>
          </div>
        </div>
      </div>

      <div id="menu" data-section="menu">
        {/* Menu section will be rendered here when available */}
        <div className="py-16 px-4 bg-gray-50">
          <div className="max-w-6xl mx-auto">
            <h2 className="text-3xl font-bold text-gray-900 mb-8 text-center">Menu</h2>
            <p className="text-lg text-gray-700 mb-12 text-center">Explore our signature drinks and freshly baked pastries. Each item is crafted with precision and care.</p>
            <div className="grid md:grid-cols-3 gap-8">
              <div className="bg-white rounded-lg shadow-md overflow-hidden">
                <img src="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183740051-csjqe6w0.jpg" alt="Single Origin Espresso" className="w-full h-48 object-cover" />
                <div className="p-6">
                  <h3 className="text-xl font-semibold text-gray-900 mb-2">Single Origin Espresso</h3>
                  <p className="text-amber-600 font-bold text-lg">$4.50</p>
                </div>
              </div>
              <div className="bg-white rounded-lg shadow-md overflow-hidden">
                <img src="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766140052116-ugc31hy1.jpg" alt="Artisan Cappuccino" className="w-full h-48 object-cover" />
                <div className="p-6">
                  <h3 className="text-xl font-semibold text-gray-900 mb-2">Artisan Cappuccino</h3>
                  <p className="text-amber-600 font-bold text-lg">$5.75</p>
                </div>
              </div>
              <div className="bg-white rounded-lg shadow-md overflow-hidden">
                <img src="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183584228-m2bixr3w.jpg" alt="Fresh Pastries" className="w-full h-48 object-cover" />
                <div className="p-6">
                  <h3 className="text-xl font-semibold text-gray-900 mb-2">Fresh Pastries</h3>
                  <p className="text-amber-600 font-bold text-lg">$3.50</p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>

      <div id="contact" data-section="contact">
        {/* Contact section will be rendered here when available */}
        <div className="py-16 px-4">
          <div className="max-w-4xl mx-auto text-center">
            <h2 className="text-3xl font-bold text-gray-900 mb-6">Join Our Coffee Community</h2>
            <p className="text-lg text-gray-700 mb-8">Subscribe to our newsletter for new roasts, brewing tips, and exclusive member-only events. We share your passion for great coffee.</p>
            <div className="flex gap-4 justify-center max-w-md mx-auto">
              <input type="email" placeholder="Enter your email" className="flex-1 px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-amber-600" />
              <button className="px-6 py-3 bg-amber-600 text-white rounded-lg hover:bg-amber-700 transition-colors">Subscribe</button>
            </div>
            <p className="text-sm text-gray-500 mt-4">We respect your inbox. Unsubscribe anytime.</p>
          </div>
        </div>
      </div>

      <div id="footer" data-section="footer">
        {/* Footer section will be rendered here when available */}
        <div className="bg-gray-900 text-white py-12 px-4">
          <div className="max-w-6xl mx-auto">
            <div className="grid md:grid-cols-4 gap-8">
              <div>
                <h3 className="text-lg font-semibold mb-4">Coffee</h3>
                <ul className="space-y-2">
                  <li><a href="#menu" className="text-gray-300 hover:text-white transition-colors">Our Menu</a></li>
                  <li><a href="#" className="text-gray-300 hover:text-white transition-colors">Brewing Guide</a></li>
                  <li><a href="#" className="text-gray-300 hover:text-white transition-colors">Single Origins</a></li>
                </ul>
              </div>
              <div>
                <h3 className="text-lg font-semibold mb-4">Visit Us</h3>
                <ul className="space-y-2">
                  <li><a href="#contact" className="text-gray-300 hover:text-white transition-colors">Location & Hours</a></li>
                  <li><a href="#" className="text-gray-300 hover:text-white transition-colors">Make a Reservation</a></li>
                  <li><a href="#" className="text-gray-300 hover:text-white transition-colors">Gift Cards</a></li>
                </ul>
              </div>
              <div>
                <h3 className="text-lg font-semibold mb-4">About</h3>
                <ul className="space-y-2">
                  <li><a href="#about" className="text-gray-300 hover:text-white transition-colors">Our Story</a></li>
                  <li><a href="#" className="text-gray-300 hover:text-white transition-colors">Sustainability</a></li>
                  <li><a href="#" className="text-gray-300 hover:text-white transition-colors">Careers</a></li>
                </ul>
              </div>
              <div>
                <h3 className="text-lg font-semibold mb-4">Connect</h3>
                <ul className="space-y-2">
                  <li><a href="#" className="text-gray-300 hover:text-white transition-colors">Instagram</a></li>
                  <li><a href="#" className="text-gray-300 hover:text-white transition-colors">Facebook</a></li>
                  <li><a href="#contact" className="text-gray-300 hover:text-white transition-colors">Contact Us</a></li>
                </ul>
              </div>
            </div>
            <div className="border-t border-gray-800 mt-8 pt-8 text-center">
              <h2 className="text-2xl font-bold mb-2">Brew Haven</h2>
              <p className="text-gray-400">© 2025 Brew Haven. All rights reserved.</p>
            </div>
          </div>
        </div>
      </div>
    </ThemeProvider>
  );
}
