"use client";

import { Coffee, Facebook, Instagram, Twitter } from "lucide-react";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import HeroBillboardMetrics from '@/components/sections/hero/HeroBillboardMetrics';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import FeatureCardThree from '@/components/sections/feature/featureCardThree/FeatureCardThree';
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterBaseSocial from '@/components/sections/footer/FooterBaseSocial';
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="bounce-effect"
      defaultTextAnimation="entrance-slide"
      borderRadius="soft"
      contentWidth="compact"
      sizing="mediumSizeLargeTitles"
      background="noiseDiagonalGradient"
      cardStyle="glass-depth"
      primaryButtonStyle="layered-depth"
      secondaryButtonStyle="solid"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="Brew Craft"
          navItems={[
            { name: "Menu", id: "menu" },
            { name: "About", id: "about" },
            { name: "Visit", id: "contact" },
            { name: "Contact", id: "https://www.instagram.com" }
          ]}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardMetrics
          title="Welcome to Brew Craft Coffee"
          description="Discover exceptional specialty coffee crafted with passion and precision. From single-origin beans to signature blends, every cup tells a story."
          tag="Specialty Coffee"
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766507831327-qlo86d1b.jpg"
          imageAlt="Brew Craft Coffee Shop Interior"
          frameStyle="card"
          buttons={[
            { text: "View Menu", href: "#menu" },
            { text: "Reserve Table", href: "#contact" }
          ]}
          metricsLabel="Trusted by coffee enthusiasts and daily regulars"
          metrics={[
            { id: "1", value: "8+", label: "Years of Crafting" },
            { id: "2", value: "50+", label: "Single Origin Beans" },
            { id: "3", value: "5K+", label: "Happy Customers" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <TestimonialAboutCard
          tag="Our Story"
          title="We believe coffee is more than just a beverage. It's a ritual, a moment of connection, and an art form."
          description="Founded in 2016"
          subdescription="Brew Craft Coffee - Specialty Roastery & Cafe"
          icon={Coffee}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766503932607-dbdcerg8.jpg"
          imageAlt="Brew Craft Cafe Atmosphere"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="menu" data-section="menu">
        <FeatureCardThree
          title="Our Specialty Selection"
          description="Handcrafted beverages made with precision and passion"
          tag="Menu"
          features={[
            {
              id: "01",
              title: "Classic Espresso",
              description: "Rich, bold, and perfectly extracted single-origin espresso shots that form the foundation of all our drinks",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766403060798-jyic1c5u.jpg"
            },
            {
              id: "02",
              title: "Signature Cappuccino",
              description: "Velvety microfoam combined with premium espresso for the perfect balance of strength and creaminess",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766403066278-qx4cpm1u.jpg"
            },
            {
              id: "03",
              title: "Cold Brew Specialties",
              description: "Smooth, refreshing cold brews served over ice, perfect for any season with our rotating seasonal flavors",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766403059564-mmpwvbzu.jpg"
            },
            {
              id: "04",
              title: "Brewing Craftsmanship",
              description: "Watch our expert baristas prepare your drink using traditional pour-over and modern espresso machine techniques",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766403071360-8wwq35xg.jpg"
            }
          ]}
          gridVariant="four-items-2x2-equal-grid"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwo
          title="Loved by Coffee Enthusiasts"
          description="Hear what our customers have to say about their Brew Craft experience"
          tag="Testimonials"
          testimonials={[
            {
              id: "1",
              name: "Sarah Mitchell",
              role: "Local Entrepreneur",
              testimonial: "Brew Craft has become my daily sanctuary. The quality of coffee and the welcoming atmosphere make it the perfect place to start my morning.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766507838521-og7av4cr.jpg"
            },
            {
              id: "2",
              name: "James Chen",
              role: "Coffee Enthusiast",
              testimonial: "The expertise of the baristas here is unmatched. They helped me discover my new favorite single-origin blend from Ethiopia.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766399489339-4b0slwhc.jpg"
            },
            {
              id: "3",
              name: "Emma Rodriguez",
              role: "Creative Professional",
              testimonial: "This is my go-to spot for creative work. Great coffee, reliable WiFi, and a community of interesting people. What more could you ask for?",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766399492511-agnknl0h.jpg"
            },
            {
              id: "4",
              name: "David Kim",
              role: "Regular Customer",
              testimonial: "Every visit is consistent excellence. From the quality of the beans to the attention to detail in every cup, you can taste the passion.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766507843132-trj4sscs.jpg"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Newsletter"
          title="Stay Connected"
          description="Subscribe to our newsletter for exclusive blends, brewing tips, and special cafe events delivered to your inbox."
          useInvertedBackground="noInvert"
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766507835194-g47wtt0y.jpg"
          mediaPosition="right"
          inputPlaceholder="Enter your email"
          buttonText="Subscribe"
          termsText="We respect your privacy. Unsubscribe anytime."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseSocial
          logoText="Brew Craft"
          description="Premium specialty coffee roastery and cafe dedicated to crafting exceptional coffee experiences since 2016."
          copyrightText="© 2025 Brew Craft Coffee. All rights reserved."
          columns={[
            {
              title: "Menu",
              items: [
                { label: "Espresso Drinks", href: "#menu" },
                { label: "Cold Brew", href: "#menu" },
                { label: "Pastries", href: "#menu" }
              ]
            },
            {
              title: "Visit Us",
              items: [
                { label: "Cafe Hours", href: "#contact" },
                { label: "Location", href: "#contact" },
                { label: "Reserve Table", href: "#contact" }
              ]
            },
            {
              title: "Company",
              items: [
                { label: "About Us", href: "#about" },
                { label: "Our Story", href: "#about" },
                { label: "Sustainability", href: "#about" }
              ]
            },
            {
              title: "Legal",
              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" },
                { label: "Contact", href: "#contact" }
              ]
            }
          ]}
          socialLinks={[
            { icon: Instagram, href: "https://instagram.com", ariaLabel: "Instagram" },
            { icon: Facebook, href: "https://facebook.com", ariaLabel: "Facebook" },
            { icon: Twitter, href: "https://twitter.com", ariaLabel: "Twitter" }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}