"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroOverlay from '@/components/sections/hero/HeroOverlay';
import FeatureCardTwentyOne from '@/components/sections/feature/FeatureCardTwentyOne';
import ContactText from '@/components/sections/contact/ContactText';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import Link from 'next/link';

export default function ServicesPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="expand-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="medium"
      sizing="mediumLargeSizeMediumTitles"
      background="none"
      cardStyle="solid"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={[
            { name: "Home", id: "/" },
            { name: "Arrangements", id: "/arrangements" },
            { name: "Services", id: "/services" },
            { name: "Gallery", id: "/gallery" },
            { name: "Contact", id: "/contact" }
          ]}
          brandName="Rose"
          bottomLeftText="Premium Floral Design"
          bottomRightText="hello@rosestudio.com"
        />
      </div>

      <div id="services-hero" data-section="services-hero">
        <HeroOverlay
          title="Floral Services Designed for You"
          description="From custom design to same-day delivery, we offer comprehensive floral solutions for every need."
          tag="Our Services"
          imageSrc="https://img.b2bpic.net/free-photo/close-up-bunch-romantic-roses_23-2148387902.jpg"
          imageAlt="Floral delivery service"
          textPosition="bottom-left"
          showBlur={true}
          buttons={[
            { text: "Book a Service", href: "/contact" }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="services-features" data-section="services-features">
        <FeatureCardTwentyOne
          title="What We Offer"
          description="Comprehensive floral services tailored to your needs."
          imageSrc="https://img.b2bpic.net/free-photo/decoration-artificial-flower_1232-2043.jpg"
          imageAlt="Service design consultation"
          mediaPosition="right"
          useInvertedBackground="invertDefault"
          accordionItems={[
            {
              id: "1",
              title: "Custom Design Consultation",
              content: "Meet with our master florists to design unique arrangements. We listen to your vision and create something extraordinary."
            },
            {
              id: "2",
              title: "Wedding & Event Flowers",
              content: "Complete floral services for your special day. Bridal bouquets, centerpieces, ceremony decor, and more."
            },
            {
              id: "3",
              title: "Corporate Accounts",
              content: "Recurring flower delivery for offices, hotels, and businesses. Fresh blooms weekly or monthly."
            },
            {
              id: "4",
              title: "Flower Subscriptions",
              content: "Subscribe to regular deliveries of fresh seasonal flowers. Surprise someone special or brighten your own home."
            }
          ]}
        />
      </div>

      <div id="services-contact" data-section="services-contact">
        <ContactText
          text="Let's discuss which services are perfect for your needs. Contact us today for a personalized consultation."
          buttons={[
            { text: "Schedule Consultation", href: "/contact" }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="services-footer" data-section="services-footer">
        <FooterBaseCard
          logoText="Rose"
          columns={[
            {
              title: "Collections",
              items: [
                { label: "Wedding Flowers", href: "/arrangements" },
                { label: "Event Design", href: "/arrangements" },
                { label: "Everyday Arrangements", href: "/arrangements" },
                { label: "Seasonal Specials", href: "/arrangements" }
              ]
            },
            {
              title: "Services",
              items: [
                { label: "Custom Design", href: "/services" },
                { label: "Delivery", href: "/services" },
                { label: "Subscriptions", href: "/services" },
                { label: "Corporate Events", href: "/services" }
              ]
            },
            {
              title: "Company",
              items: [
                { label: "About Us", href: "/" },
                { label: "Gallery", href: "/gallery" },
                { label: "Blog", href: "/" },
                { label: "Contact", href: "/contact" }
              ]
            },
            {
              title: "Connect",
              items: [
                { label: "Instagram", href: "https://instagram.com" },
                { label: "Facebook", href: "https://facebook.com" },
                { label: "Pinterest", href: "https://pinterest.com" },
                { label: "TikTok", href: "https://tiktok.com" }
              ]
            }
          ]}
          copyrightText="© 2025 Rose Flowers Studio. Crafting beauty with passion."
        />
      </div>
    </ThemeProvider>
  );
}