"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroLogoBillboardSplit from '@/components/sections/hero/HeroLogoBillboardSplit';
import MetricSplitMediaAbout from '@/components/sections/about/MetricSplitMediaAbout';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import FeatureCardEight from '@/components/sections/feature/FeatureCardEight';
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
import ContactText from '@/components/sections/contact/ContactText';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { Heart, MessageCircle, Star, Wheat } from "lucide-react";

export default function BakeryPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="background-highlight"
      borderRadius="rounded"
      contentWidth="compact"
      sizing="mediumLargeSizeMediumTitles"
      background="radialGradient"
      cardStyle="glass-elevated"
      primaryButtonStyle="inset-glow"
      secondaryButtonStyle="glass"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          brandName="Artisan Bakery"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "About", id: "about" },
            { name: "Products", id: "products" },
            { name: "Contact", id: "contact" },
            { name: "Menu", id: "features" }
          ]}
          bottomLeftText="Freshly Baked Daily"
          bottomRightText="hello@artisanbakery.com"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroLogoBillboardSplit
          logoText="ARTISAN BAKERY"
          description="Handcrafted breads, pastries, and cakes baked fresh daily using only the finest organic ingredients and time-honored techniques."
          buttons={[
            { text: "Order Now", href: "/order" },
            { text: "Our Menu", href: "#features" }
          ]}
          layoutOrder="default"
          imageSrc="https://img.b2bpic.net/free-photo/delicious-various-loaves-bread_23-2147761313.jpg"
          imageAlt="Fresh artisan bakery display"
          frameStyle="card"
          logoLineHeight={1.15}
        />
      </div>

      <div id="about" data-section="about">
        <MetricSplitMediaAbout
          tag="Our Story"
          tagIcon={Wheat}
          title="Baked with passion since 1998"
          description="For over 25 years, we've been dedicated to creating exceptional baked goods that bring joy to our community. Every loaf, pastry, and cake is crafted with meticulous attention to quality, using only organic flour, real butter, and natural ingredients. Our master bakers wake up before dawn to ensure your breakfast is fresh, warm, and delicious."
          metrics={[
            { value: "25+", title: "Years of Excellence" },
            { value: "10K+", title: "Happy Customers Monthly" }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/medium-shot-women-working-kitchen_23-2150014869.jpg"
          imageAlt="Our baking team at work"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardOne
          products={[
            {
              id: "1",              name: "Butter Croissants",              price: "$4.99",              imageSrc: "https://img.b2bpic.net/free-photo/various-type-rustic-breads-box_23-2147975199.jpg",              imageAlt: "Golden butter croissants"
            },
            {
              id: "2",              name: "Sourdough Loaf",              price: "$5.99",              imageSrc: "https://img.b2bpic.net/free-photo/woman-holding-bread-dark-table-with-eggs-flour-bowl-glass-oil_114579-22475.jpg",              imageAlt: "Rustic sourdough bread"
            },
            {
              id: "3",              name: "Custom Cake",              price: "$45.00",              imageSrc: "https://img.b2bpic.net/free-photo/overhead-view-bread-loaves-chopping-board-wooden-table_23-2147872705.jpg",              imageAlt: "Beautiful custom celebration cake"
            }
          ]}
          title="Featured Products"
          description="Our selection of signature items, baked fresh daily with premium ingredients"
          tag="Bestsellers"
          tagIcon={Star}
          textboxLayout="default"
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardEight
          title="Why Choose Us"
          description="Discover what makes our bakery special and why customers keep coming back"
          tag="Our Commitment"
          tagIcon={Heart}
          features={[
            {
              id: 1,
              title: "Premium Quality",              description: "Every product is made with the finest organic ingredients sourced from trusted local suppliers",              imageSrc: "https://img.b2bpic.net/free-vector/guarantee-golden-label-collection_23-2147540959.jpg"
            },
            {
              id: 2,
              title: "Traditional Methods",              description: "We honor time-tested baking techniques passed down through generations of master bakers",              imageSrc: "https://img.b2bpic.net/free-vector/modern-luxury-certificate-border-template_260559-165.jpg"
            },
            {
              id: 3,
              title: "Organic & Natural",              description: "All our products are free from artificial additives, preservatives, and refined sugars",              imageSrc: "https://img.b2bpic.net/free-vector/golden-label-premium-quality_1017-7339.jpg"
            },
            {
              id: 4,
              title: "Community Focused",              description: "We support local farmers and give back to our neighborhood through regular donations and events",              imageSrc: "https://img.b2bpic.net/free-vector/decorative-certificate-template-with-golden-elements_23-2147943110.jpg"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardSix
          title="What Our Customers Say"
          description="Real feedback from people who love our baked goods"
          tag="Reviews"
          tagIcon={MessageCircle}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="invertDefault"
          testimonials={[
            {
              id: "1",              name: "Sarah Mitchell",              handle: "@sarahmitchell",              testimonial: "The sourdough here is absolutely incredible! I've been a regular for 3 years and never had a disappointing loaf. Pure perfection.",              imageSrc: "https://img.b2bpic.net/free-photo/front-view-cute-girl-looking-away_23-2148436134.jpg",              imageAlt: "Sarah Mitchell"
            },
            {
              id: "2",              name: "James Cooper",              handle: "@jcooper",              testimonial: "Best croissants I've ever had. Flaky, buttery, fresh. My weekend tradition is grabbing a bag of these beauties.",              imageSrc: "https://img.b2bpic.net/free-photo/teen-age-youth-style-self-expression-concept-portrait-positive-happy-teenage-girl-with-bob-pinkish-hairstyle-facial-piercing-relaxing-indoors_343059-3781.jpg",              imageAlt: "James Cooper"
            },
            {
              id: "3",              name: "Emma Rodriguez",              handle: "@emmarod",              testimonial: "They made my wedding cake and it was stunning AND delicious. The attention to detail is remarkable. Highly recommend!",              imageSrc: "https://img.b2bpic.net/free-photo/front-view-woman-looking-camera-office_23-2148218515.jpg",              imageAlt: "Emma Rodriguez"
            },
            {
              id: "4",              name: "Michael Zhang",              handle: "@mzhang",              testimonial: "Supporting a local business that genuinely cares about quality. You can taste the difference in every bite. Worth every penny.",              imageSrc: "https://img.b2bpic.net/free-photo/brunette-smiling-female-sits-outdoor-cafeteria-has-broad-smile-has-good-rest-has-satisfied-expression-rests-tropical-resort-country-cute-young-woman-rests-terrace-cafe-positiveness_273609-3010.jpg",              imageAlt: "Michael Zhang"
            },
            {
              id: "5",              name: "Lisa Johnson",              handle: "@lisaj",              testimonial: "The cinnamon rolls are life-changing. I've tried to replicate them at home and given up. Just buy theirs instead!",              imageSrc: "https://img.b2bpic.net/free-photo/mature-woman-smiling_1149-601.jpg",              imageAlt: "Lisa Johnson"
            },
            {
              id: "6",              name: "David Kim",              handle: "@dkim",              testimonial: "Every product is consistent, fresh, and made with care. This is what real baking looks like. Absolutely fantastic.",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-attractive-caucasian-smiling-woman_93675-135471.jpg",              imageAlt: "David Kim"
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactText
          text="Ready to order fresh baked goods for your next event or celebration? Get in touch with us today."
          animationType="entrance-slide"
          buttons={[
            { text: "Get in Touch", href: "/contact" },
            { text: "View Hours", href: "/hours" }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="https://img.b2bpic.net/free-photo/fresh-bread-wooden-spoon-old-wooden-background_169016-3149.jpg"
          imageAlt="Warm bakery interior with fresh baked goods"
          logoText="Artisan Bakery"
          copyrightText="© 2024 Artisan Bakery. Baked with love daily."
          columns={[
            {
              title: "Shop",              items: [
                { label: "Bread", href: "#products" },
                { label: "Pastries", href: "#products" },
                { label: "Custom Cakes", href: "#products" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "#about" },
                { label: "Our Story", href: "#about" },
                { label: "Careers", href: "/careers" }
              ]
            },
            {
              title: "Connect",              items: [
                { label: "Contact", href: "#contact" },
                { label: "Instagram", href: "https://instagram.com" },
                { label: "Email", href: "mailto:hello@artisanbakery.com" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}