import React from 'react';
import type { Metadata } from 'next';
import ContactForm from '../../components/molecules/ContactForm';

export const metadata: Metadata = {
  title: 'Contact Us | Louisiana Association of the Deaf',
  description: 'Get in touch with the Louisiana Association of the Deaf. We\'d love to hear from you!',
};

export default function ContactPage() {
  return (
    <div className="bg-color-bg">
      {/* Hero section */}
      <section className="py-16 bg-color-bg-secondary">
        <div className="container mx-auto px-4">
          <div className="max-w-3xl mx-auto text-center">
            <h1 className="hero-title text-4xl md:text-5xl font-bold mb-6">Contact Us</h1>
            <p className="hero-subtitle text-xl">
              We'd love to hear from you! Get in touch with any questions, ideas, or feedback.
            </p>
          </div>
        </div>
      </section>

      {/* Contact information and form */}
      <section className="py-16 bg-color-bg">
        <div className="container mx-auto px-4">
          <div className="max-w-6xl mx-auto">
            <div className="grid grid-cols-1 lg:grid-cols-2 gap-12">
              
              {/* Contact information */}
              <div className="space-y-8">
                <div>
                  <h2 className="section-heading text-3xl font-bold mb-6">Get In Touch</h2>
                  <p className="section-text text-lg mb-8">
                    Whether you have questions about membership, want to learn more about our events, or are interested in volunteering, we're here to help.
                  </p>
                </div>
                
                <div className="space-y-6">
                  <div className="card event-card-gold-border p-4">
                    <h3 className="card-title event-card-title-gold text-xl font-semibold mb-2">General Inquiries</h3>
                    <a
                      href="mailto:info@lad1908.org"
                      className="card-link hover:underline"
                    >
                      info@lad1908.org
                    </a>
                  </div>

                  <div className="card event-card-gold-border p-4">
                    <h3 className="card-title event-card-title-gold text-xl font-semibold mb-2">Interpreter Requests (Deaf Focus)</h3>
                    <a
                      href="mailto:request@deaffocus.org"
                      className="card-link hover:underline block mb-1"
                    >
                      request@deaffocus.org
                    </a>
                    <p className="section-text">Phone: (225) 319-5586</p>
                    <p className="section-text">Fax: (225) 308-4025</p>
                    <p className="section-text">Hours: Mon–Fri, 9am–4pm</p>
                  </div>

                  <div className="card event-card-gold-border p-4">
                    <h3 className="card-title event-card-title-gold text-xl font-semibold mb-2">Follow Us</h3>
                    <div className="flex space-x-4">
                      <a
                        href="https://facebook.com/lad1908"
                        target="_blank"
                        rel="noopener noreferrer"
                        className="footer-social-icon"
                        aria-label="Facebook page"
                      >
                        <svg className="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
                          <path d="M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12c0 4.991 3.657 9.128 8.438 9.878v-6.987h-2.54V12h2.54V9.797c0-2.506 1.492-3.89 3.777-3.89 1.094 0 2.238.195 2.238.195v2.46h-1.26c-1.243 0-1.63.771-1.63 1.562V12h2.773l-.443 2.89h-2.33v6.988C18.343 21.128 22 16.991 22 12z" />
                        </svg>
                      </a>
                    </div>
                  </div>
                </div>
              </div>
              
              {/* Contact form */}
              <div className="card video-container-gold rounded-lg shadow-md p-8">
                <h2 className="card-title text-2xl font-bold mb-6">Send Us a Message</h2>
                <ContactForm />
              </div>
            </div>
          </div>
        </div>
      </section>


    </div>
  );
}
