<!-- components/contact/ContactSection.vue -->
<template>
  <section class="contact-section">
    <div class="section-container">
      <div class="contact-grid">
        <div class="contact-info">
          <h2 class="section-title">¿Necesitas Ayuda?</h2>
          <p class="contact-subtitle">Nuestro equipo está listo para asistirte en todo el proceso de admisión</p>
          
          <div class="contact-methods">
            <div class="contact-method">
              <PhoneOutlined />
              <div>
                <h4>Teléfono</h4>
                <p>(01) 123-4567</p>
              </div>
            </div>
            <div class="contact-method">
              <MailOutlined />
              <div>
                <h4>Email</h4>
                <p>admision@universidad.edu.pe</p>
              </div>
            </div>
            <div class="contact-method">
              <ClockCircleOutlined />
              <div>
                <h4>Horario</h4>
                <p>Lun-Vie: 8:00 AM - 6:00 PM</p>
              </div>
            </div>
          </div>
        </div>
        
        <div class="contact-form">
          <h3>Envíanos un Mensaje</h3>
          <a-form layout="vertical">
            <a-form-item label="Nombre completo">
              <a-input placeholder="Ingresa tu nombre completo" />
            </a-form-item>
            <a-form-item label="Email">
              <a-input placeholder="tu@email.com" />
            </a-form-item>
            <a-form-item label="Consulta">
              <a-textarea placeholder="Describe tu consulta..." :rows="4" />
            </a-form-item>
            <a-button type="primary" block>Enviar Mensaje</a-button>
          </a-form>
        </div>
      </div>
    </div>
  </section>
</template>

<script setup>
import { PhoneOutlined, MailOutlined, ClockCircleOutlined } from '@ant-design/icons-vue'
</script>

<style scoped>
.contact-section {
  padding: 80px 0;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a237e;
  margin-bottom: 16px;
}

.contact-subtitle {
  color: #666;
  font-size: 1.125rem;
  margin-bottom: 40px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-method svg {
  color: #1890ff;
  font-size: 24px;
}

.contact-method h4 {
  margin: 0 0 4px;
  color: #1a237e;
}

.contact-method p {
  margin: 0;
  color: #666;
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
  margin: 0 0 32px;
  color: #1a237e;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .section-title {
    font-size: 2rem;
  }
}
</style>