/* eslint-disable @next/next/no-img-element */
"use client";

import React from "react";
import { ArrowRight } from "lucide-react";
import Breadcrumb from "@/components/Breadcrumb";

type PressRelease = {
  id: number;
  title: string;
  summary: string;
  date: string;
  image: string;
  href: string;
};

const releases: PressRelease[] = [
  {
    id: 2,
    title: "Wimraw Recognized Among Asia’s Most Influential Research Organizations",
    summary:
      "Industry leaders acknowledge Wimraw’s contribution to responsible innovation and global policy intelligence.",
    date: "February 2025",
    image:
      "https://images.unsplash.com/photo-1521791055366-0d553872125f?auto=format&fit=crop&w=1600&q=80",
    href: "#",
  },
  {
    id: 3,
    title: "Wimraw Launches Global Framework for Ethical Media Intelligence",
    summary:
      "A new model aligning technology, governance, and societal impact for the digital future.",
    date: "January 2025",
    image:
      "https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1600&q=80",
    href: "#",
  },
];

export default function PressReleasesPage() {
  const breadcrumbData = [
    { name: "Home", href: "/" },
    { name: "Media", href: "/media" },
    { name: "Press Releases", href: "/press-releases" },
  ];

  return (
    <main className="bg-white text-slate-900">
      {/* Breadcrumb */}
      <Breadcrumb
        breadcrumbs={breadcrumbData}
        pageTitle="Press Releases"
        description="Official announcements, strategic communications, and corporate statements."
      />

      {/* EDITORIAL GRID */}
      <section className="max-w-7xl mx-auto px-6 py-28">
        <div className="grid lg:grid-cols-12 gap-16">
          {/* LEFT – TITLE */}
          <div className="lg:col-span-4">
            <h2 className="text-4xl font-semibold leading-tight">
              Corporate
              <br />
              Announcements
            </h2>
            <p className="mt-6 text-lg text-slate-600">
              Strategic updates shaping our global direction, innovation
              priorities, and long-term mission.
            </p>
          </div>

          {/* RIGHT – RELEASES */}
          <div className="lg:col-span-8 space-y-20">
            {releases.map((item) => (
              <article
                key={item.id}
                className="group grid md:grid-cols-2 gap-10 items-center"
              >
                <div className="overflow-hidden rounded-2xl">
                  <img
                    src={item.image}
                    alt={item.title}
                    className="w-full h-[360px] object-cover transition-transform duration-700 group-hover:scale-105"
                  />
                </div>

                <div>
                  <p className="text-sm text-slate-500">{item.date}</p>
                  <h3 className="mt-3 text-2xl lg:text-3xl font-medium leading-snug">
                    {item.title}
                  </h3>
                  <p className="mt-6 text-slate-600 text-lg leading-relaxed">
                    {item.summary}
                  </p>
                  <a
                    href={item.href}
                    className="inline-flex items-center gap-2 mt-8 text-sm font-medium text-slate-900 hover:underline"
                  >
                    Read announcement <ArrowRight className="w-4 h-4" />
                  </a>
                </div>
              </article>
            ))}
          </div>
        </div>
      </section>

      {/* PRESS IMPACT */}
      <section className="bg-slate-50">
        <div className="max-w-7xl mx-auto px-6 py-24">
          <div className="grid grid-cols-2 md:grid-cols-4 gap-12 text-center">
            {[
              { value: "150+", label: "Press Releases" },
              { value: "40+", label: "Countries Covered" },
              { value: "1,200+", label: "Global Mentions" },
              { value: "10+ Years", label: "Industry Trust" },
            ].map((item, idx) => (
              <div key={idx}>
                <p className="text-5xl font-semibold text-slate-900">
                  {item.value}
                </p>
                <p className="mt-4 text-sm uppercase tracking-widest text-slate-500">
                  {item.label}
                </p>
              </div>
            ))}
          </div>
        </div>
      </section>

      {/* EXECUTIVE STATEMENT */}
      <section className="bg-white">
        <div className="max-w-6xl mx-auto px-6 py-28">
          <blockquote className="text-3xl md:text-4xl leading-tight font-light text-slate-900">
            “Our press communications are not announcements alone — they
            represent long-term commitments to innovation, responsibility, and
            global impact. Every release reflects where we are going, not just
            where we are.”
          </blockquote>

          <div className="mt-10">
            <p className="font-medium text-lg text-slate-900">
              Jyotiarjun Dev
            </p>
            <p className="text-slate-500 text-sm">
              Chief Executive Officer · Wimraw
            </p>
          </div>
        </div>
      </section>

      {/* EXECUTIVE CTA */}
      <section className="bg-slate-950 text-white">
        <div className="max-w-7xl mx-auto px-6 py-24 flex flex-col md:flex-row justify-between items-start md:items-center gap-10">
          <p className="text-xl text-slate-300 max-w-2xl">
            For press inquiries, interviews, or official statements, contact
            Wimraw’s Corporate Communications Office.
          </p>
          <a
            href="press.commnications@wimraw.com"
            className="inline-flex items-center gap-2 bg-white text-slate-900 px-10 py-5 rounded-full font-medium hover:bg-slate-100 transition"
          >
            Media Contact <ArrowRight className="w-4 h-4" />
          </a>
        </div>
      </section>
    </main>
  );
}
