"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroOverlay from '@/components/sections/hero/HeroOverlay';
import TextAbout from '@/components/sections/about/TextAbout';
import FeatureCardSix from '@/components/sections/feature/FeatureCardSix';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterMedia from '@/components/sections/footer/FooterMedia';

export default function CoffeeShopPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="compact"
      sizing="mediumLargeSizeLargeTitles"
      background="circleGradient"
      cardStyle="gradient-bordered"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="solid"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          brandName="Brew Haven"
          navItems={[
            { name: "Home", id: "home" },
            { name: "About", id: "about" },
            { name: "Menu", id: "menu" },
            { name: "Testimonials", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
          bottomLeftText="Coffee Crafted Daily"
          bottomRightText="hello@brewhaven.com"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroOverlay
          title="Discover Exceptional Coffee Crafted with Passion"
          description="Welcome to Brew Haven, where every cup tells a story of single-origin beans, meticulous roasting, and barista artistry."
          tag="Specialty Coffee"
          imageSrc="https://img.b2bpic.net/free-photo/table-chairs-bar_107420-65857.jpg"
          imageAlt="Modern coffee shop interior with warm lighting"
          textPosition="bottom-left"
          showBlur={true}
          showDimOverlay={false}
          buttons={[
            { text: "Explore Our Menu", href: "menu" },
            { text: "Reserve a Table", href: "contact" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <TextAbout
          title="We believe great coffee starts with respect—for the farmers who grow it, the roasters who perfect it, and the moment you savor it."
          useInvertedBackground="noInvert"
          buttons={[
            { text: "Our Story", href: "#" },
            { text: "Visit Us", href: "contact" }
          ]}
        />
      </div>

      <div id="process" data-section="process">
        <FeatureCardSix
          title="From Bean to Cup"
          description="Experience the journey of coffee excellence through our meticulous process"
          tag="Our Process"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          features={[
            {
              id: 1,
              title: "Sourcing",              description: "We partner directly with sustainable coffee farms in Ethiopia, Colombia, and Guatemala to select the finest single-origin beans",              imageSrc: "https://img.b2bpic.net/free-photo/closeup-senior-woman-hands-holding-some-fresh-springtime-plums_181624-59470.jpg",              imageAlt: "Coffee beans at origin farm"
            },
            {
              id: 2,
              title: "Roasting",              description: "Our master roasters develop custom profiles for each origin, bringing out unique flavor notes and aromatic complexity",              imageSrc: "https://img.b2bpic.net/free-photo/closeup-shot-brown-bag-with-red-coffee-beans-it_181624-18802.jpg",              imageAlt: "Coffee roasting process"
            },
            {
              id: 3,
              title: "Brewing",              description: "Expert baristas use precision techniques—espresso, pour-over, Aeropress—to extract the perfect cup just for you",              imageSrc: "https://img.b2bpic.net/free-photo/hands-that-carry-coffee-beans_1150-5773.jpg",              imageAlt: "Barista brewing espresso"
            }
          ]}
        />
      </div>

      <div id="menu" data-section="menu">
        <ProductCardFour
          title="Signature Drinks"
          description="Handcrafted beverages made with our single-origin beans and seasonal ingredients"
          tag="Menu"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          products={[
            {
              id: "cappuccino",              name: "Classic Cappuccino",              price: "$5.50",              variant: "Espresso & Steamed Milk",              imageSrc: "https://img.b2bpic.net/free-photo/delicious-coffee-with-milk_23-2147985001.jpg",              imageAlt: "Cappuccino with latte art"
            },
            {
              id: "iced-coffee",              name: "Cold Brew Iced Coffee",              price: "$6.00",              variant: "12-Hour Steeped",              imageSrc: "https://img.b2bpic.net/free-photo/caramel-latte-table_140725-4504.jpg",              imageAlt: "Iced coffee with ice"
            },
            {
              id: "espresso",              name: "Double Espresso Shot",              price: "$4.50",              variant: "Straight & Bold",              imageSrc: "https://img.b2bpic.net/free-photo/latte-with-caramel-syrop-side-view_141793-1795.jpg",              imageAlt: "Double espresso shots"
            },
            {
              id: "pastry",              name: "Butter Croissant",              price: "$4.75",              variant: "Flaky French",              imageSrc: "https://img.b2bpic.net/free-photo/coffee-latte-with-croissant-blurred-glasses_23-2148441256.jpg",              imageAlt: "Golden butter croissant"
            }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFive
          title="Loved by Coffee Enthusiasts"
          description="Hear from our community of loyal customers who've made Brew Haven their daily ritual"
          tag="Testimonials"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          testimonials={[
            {
              id: "1",              name: "Sarah Mitchell, Coffee Connoisseur",              date: "Date: 15 January 2025",              title: "The best espresso in the city!",              quote: "I've visited dozens of coffee shops, and Brew Haven consistently delivers the most balanced, flavorful espresso. The baristas truly know their craft. It's now my daily destination.",              tag: "Regular Customer",              avatarSrc: "https://img.b2bpic.net/free-photo/positive-confident-businesswoman-wearing-formal-suit-standing-with-arms-folded_74855-10328.jpg",              avatarAlt: "Sarah Mitchell"
            },
            {
              id: "2",              name: "James Chen, Startup Founder",              date: "Date: 10 January 2025",              title: "The perfect workspace with great coffee",              quote: "The ambiance is incredible, the WiFi is reliable, and most importantly, the coffee never disappoints. I've hosted countless business meetings here and clients are always impressed.",              tag: "Workspace Regular",              avatarSrc: "https://img.b2bpic.net/free-photo/business-woman-banner-concept-with-copy-space_23-2149601533.jpg",              avatarAlt: "James Chen"
            },
            {
              id: "3",              name: "Emma Rodriguez, Writer",              date: "Date: 8 January 2025",              title: "Inspiration in every sip",              quote: "As a writer, I need the perfect environment and coffee to create. Brew Haven has become my creative sanctuary. The passion in their coffee mirrors the passion in their service.",              tag: "Artist & Creator",              avatarSrc: "https://img.b2bpic.net/free-photo/close-up-smiley-white-woman_23-2148941388.jpg",              avatarAlt: "Emma Rodriguez"
            },
            {
              id: "4",              name: "Michael Torres, Software Developer",              date: "Date: 5 January 2025",              title: "Quality and consistency",              quote: "What impressed me most is their consistency. Every visit, my cappuccino tastes exactly as I expect. That level of quality and attention to detail is rare and deeply appreciated.",              tag: "Tech Professional",              avatarSrc: "https://img.b2bpic.net/free-photo/close-up-portrait-stylish-pretty-young-woman-look-professional-cross-hands-chest-smiling-confident-camera-wear-glasses-standing-near-reception-office-hall-discuss-business_197531-22165.jpg",              avatarAlt: "Michael Torres"
            },
            {
              id: "5",              name: "Lisa Park, Wellness Coach",              date: "Date: 2 January 2025",              title: "Sustainable and sourced with care",              quote: "I love that Brew Haven is committed to sustainable sourcing and ethical farming partnerships. Knowing my coffee purchase supports farmers directly makes it taste even better.",              tag: "Sustainability Advocate",              avatarSrc: "https://img.b2bpic.net/free-photo/medium-shot-female-economist-working-office_23-2150251746.jpg",              avatarAlt: "Lisa Park"
            },
            {
              id: "6",              name: "David Lee, Marketing Director",              date: "Date: 28 December 2024",              title: "Community at its finest",              quote: "Brew Haven feels like a true community hub. I've made friends here, seen local artists exhibit, and attended amazing coffee talks. It's so much more than a coffee shop.",              tag: "Community Member",              avatarSrc: "https://img.b2bpic.net/free-photo/studio-portrait-beautiful-young-woman-posing_1301-3611.jpg",              avatarAlt: "David Lee"
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Stay Connected"
          title="Get Exclusive Coffee Updates & Loyalty Rewards"
          description="Subscribe to our newsletter for new bean arrivals, brewing tips, special events, and early-bird discounts on seasonal releases."
          useInvertedBackground="noInvert"
          inputPlaceholder="Enter your email address"
          buttonText="Subscribe"
          termsText="By subscribing, you agree to our Privacy Policy and Terms. You can unsubscribe at any time."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="https://img.b2bpic.net/free-photo/parisian-coffee-shop-style-with-tasty-coffee-served-wooden-table-coffee-shop-design_482257-18283.jpg"
          imageAlt="Coffee shop atmosphere footer image"
          logoText="Brew Haven"
          copyrightText="© 2025 Brew Haven | Crafted with care"
          columns={[
            {
              title: "Menu",              items: [
                { label: "Coffee Drinks", href: "menu" },
                { label: "Pastries", href: "menu" },
                { label: "Seasonal Specials", href: "menu" }
              ]
            },
            {
              title: "About",              items: [
                { label: "Our Story", href: "about" },
                { label: "Sourcing", href: "process" },
                { label: "Sustainability", href: "#" }
              ]
            },
            {
              title: "Connect",              items: [
                { label: "Contact Us", href: "contact" },
                { label: "Instagram", href: "https://instagram.com" },
                { label: "Email", href: "mailto:hello@brewhaven.com" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}