"use client";

import { Contact as ContactSection } from "../../sections/Contact";
import { Navbar } from "../../components/Navbar";
import { Footer } from "../../sections/Footer";

export default function ContactPage() {
  return (
    <>
      <Navbar />
      <div className="mx-auto flex min-h-screen w-full max-w-5xl flex-col items-center justify-start space-y-10 px-4 pb-16 pt-20 text-white sm:justify-center sm:space-y-12 sm:pb-20 sm:pt-24">
        <div className="text-center space-y-4 w-full">
          <h1 className="text-4xl font-extrabold text-white sm:text-5xl md:text-6xl">
            Let's <span className="text-transparent bg-clip-text bg-gradient-to-r from-blue-400 to-purple-500">Connect</span>
          </h1>
          <p className="mx-auto max-w-xl text-base text-gray-400 sm:text-lg md:text-xl">
            Whatever you've got in mind, I'm just a few clicks away.
          </p>
        </div>
        
        <div className="w-full max-w-2xl">
          <ContactSection />
        </div>

        <div className="grid w-full max-w-4xl grid-cols-1 gap-4 text-center sm:grid-cols-2 md:grid-cols-3 sm:gap-6">
          <div className="group mx-auto w-full max-w-[20rem] rounded-3xl border border-white/10 bg-white/5 p-5 backdrop-blur-sm transition-all duration-300 hover:border-blue-500/30 sm:max-w-none sm:p-6">
            <div className="text-3xl mb-4 group-hover:scale-110 transition-transform">📧</div>
            <h3 className="font-bold mb-1">Email</h3>
            <p className="text-sm text-gray-500 underline underline-offset-4 decoration-white/20 hover:decoration-blue-500 transition-colors">
              space@reversed.dev
            </p>
          </div>
          <div className="group mx-auto w-full max-w-[20rem] rounded-3xl border border-white/10 bg-white/5 p-5 backdrop-blur-sm transition-all duration-300 hover:border-purple-500/30 sm:max-w-none sm:p-6">
            <div className="text-3xl mb-4 group-hover:scale-110 transition-transform">👾</div>
            <h3 className="font-bold mb-1">Discord</h3>
            <p className="text-sm text-gray-500">@getspaced</p>
          </div>
          <div className="group mx-auto w-full max-w-[20rem] rounded-3xl border border-white/10 bg-white/5 p-5 backdrop-blur-sm transition-all duration-300 hover:border-pink-500/30 sm:max-w-none sm:p-6">
            <div className="text-3xl mb-4 group-hover:scale-110 transition-transform">💻</div>
            <h3 className="font-bold mb-1">GitHub</h3>
            <p className="text-sm text-gray-500">github.com/Space-Banane</p>
          </div>
        </div>
      </div>
      <Footer />
    </>
  );
}
