"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from "@/components/navbar/NavbarStyleApple/NavbarStyleApple";
import BlogCardOne from "@/components/sections/blog/BlogCardOne";
import TestimonialCardFifteen from "@/components/sections/testimonial/TestimonialCardFifteen";
import FooterLogoReveal from "@/components/sections/footer/FooterLogoReveal";
import { Star } from "lucide-react";

const CaseStudiesPage = () => {
  const navItems = [
    { name: "Home", id: "/" },
    { name: "Services", id: "/services" },
    { name: "Case Studies", id: "/case-studies" },
    { name: "About", id: "/about" },
    { name: "Contact", id: "/contact" },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="small"
      sizing="largeSizeMediumTitles"
      background="fluid"
      cardStyle="subtle-shadow"
      primaryButtonStyle="flat"
      secondaryButtonStyle="layered"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple brandName="ROI Capital" navItems={navItems} />
      </div>

      <div id="case-studies" data-section="case-studies">
        <BlogCardOne
          title="Case Studies"
          description="Real success stories from brands we've transformed"
          tag="Success Stories"
          tagIcon={Star}
          tagAnimation="slide-up"
          blogs={[
            {
              id: "1",              category: "E-Commerce",              title: "E-Commerce Brand Achieves 400% Revenue Growth",              excerpt: "Through strategic SEO and content optimization, we helped a mid-sized e-commerce company triple their organic traffic and increase revenue by 400% within 12 months.",              imageSrc: "http://img.b2bpic.net/free-photo/business-colleagues-banner-concept-with-copy-space_23-2149601494.jpg",              imageAlt: "E-commerce success case study",              authorName: "Sarah Johnson",              authorAvatar: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              date: "Jan 15, 2025"},
            {
              id: "2",              category: "SaaS",              title: "SaaS Startup Scales from 0 to 100K MRR",              excerpt: "Our integrated marketing approach combined with targeted paid campaigns helped a SaaS startup achieve product-market fit and scale their recurring revenue to $100K MRR.",              imageSrc: "http://img.b2bpic.net/free-photo/target-development-business-investment_53876-124850.jpg",              imageAlt: "SaaS startup growth case study",              authorName: "Michael Chen",              authorAvatar: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              date: "Jan 10, 2025"},
            {
              id: "3",              category: "Enterprise",              title: "Enterprise Brand Increases Lead Quality by 250%",              excerpt: "By refining their targeting strategy and implementing advanced analytics, we improved lead quality by 250% while reducing customer acquisition cost by 35%.",              imageSrc: "http://img.b2bpic.net/free-photo/african-man-black-suit_1157-45555.jpg",              imageAlt: "Enterprise marketing optimization case study",              authorName: "Emily Rodriguez",              authorAvatar: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              date: "Jan 5, 2025"},
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          ariaLabel="Case studies and success stories"
        />
      </div>

      <div id="case-study-testimonial" data-section="case-study-testimonial">
        <TestimonialCardFifteen
          testimonial="Working with ROI Capital was transformative. They didn't just deliver results—they educated our team on marketing best practices. The 400% revenue growth was just the beginning of our transformation."
          rating={5}
          author="Emma Thompson, VP of Marketing at GrowthTech"
          avatars={[
            {
              src: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              alt: "Case study testimonial 1"},
            {
              src: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              alt: "Case study testimonial 2"},
            {
              src: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              alt: "Case study testimonial 3"},
          ]}
          ratingAnimation="slide-up"
          avatarsAnimation="slide-up"
          useInvertedBackground={false}
          ariaLabel="Case study testimonial"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoReveal
          logoText="ROI CAPITAL"
          leftLink={{ text: "Privacy Policy", href: "/privacy" }}
          rightLink={{ text: "Terms of Service", href: "/terms" }}
          ariaLabel="Site footer"
        />
      </div>
    </ThemeProvider>
  );
};

export default CaseStudiesPage;
