/* ============================================
   CONTACTO.CSS - Estilos para Página de Contacto
   ============================================ */

/* HERO SECTION - CONTACTO */
.contacto-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #0a1a2e 50%, #1a2e0a 100%);
  position: relative;
}

.contacto-hero .hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.9) 0%,
    rgba(10, 26, 46, 0.7) 40%,
    rgba(26, 46, 10, 0.8) 100%
  );
  animation: gradientShiftContacto 8s ease infinite;
  z-index: 1;
}

@keyframes gradientShiftContacto {
  0%, 100% {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 26, 46, 0.7) 40%, rgba(26, 46, 10, 0.8) 100%);
  }
  50% {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(26, 46, 10, 0.7) 40%, rgba(10, 26, 46, 0.8) 100%);
  }
}

.contacto-hero .hero-content {
  z-index: 3;
}

/* MAIN CONTENT */
.contacto-main {
  background-color: #000;
  color: #fff;
}

/* SECTION BASE */
section {
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}

.section-content {
  max-width: 1200px;
  margin: 0 auto;
}

.section-content.full-width {
  max-width: 100%;
  padding: 0 40px;
}

section h2 {
  font-size: 3.5rem;
  margin-bottom: 30px;
  font-family: 'Michroma', sans-serif;
  background: linear-gradient(135deg, #00f0ff, #00d9ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   INFORMACIÓN DE CONTACTO
   ============================================ */
.info-section {
  background: linear-gradient(180deg, #0a0a0a 0%, #0a1a0a 100%);
  border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.contact-card {
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.2);
  padding: 40px;
  border-radius: 12px;
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease both;
  text-align: center;
}

.contact-card:nth-child(1) { animation-delay: 0.1s; }
.contact-card:nth-child(2) { animation-delay: 0.2s; }
.contact-card:nth-child(3) { animation-delay: 0.3s; }
.contact-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-card:hover {
  background: rgba(0, 240, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.5);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 240, 255, 0.15);
}

.contact-card .card-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.contact-card h3 {
  font-size: 1.5rem;
  color: #00f0ff;
  margin-bottom: 20px;
  font-family: 'Michroma', sans-serif;
}

.contact-detail {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 10px;
  font-weight: 500;
}

.contact-detail a {
  color: #00f0ff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-detail a:hover {
  text-decoration: underline;
  color: #00d9ff;
}

.contact-sublabel {
  color: #999;
  font-size: 0.9rem;
  margin-top: 15px;
  font-style: italic;
}

/* ============================================
   SECCIÓN MAPA
   ============================================ */
.map-section {
  background: linear-gradient(180deg, #0a1a0a 0%, #000 100%);
  padding: 80px 0;
  text-align: center;
}

.map-section .section-content {
  max-width: 100%;
}

.section-intro {
  font-size: 1.2rem;
  color: #00f0ff;
  margin-bottom: 50px;
  opacity: 0.9;
  font-weight: 300;
  text-align: center;
}

.map-container {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: 0 20px 60px rgba(0, 240, 255, 0.1);
  animation: fadeInUp 0.8s ease;
}

/* ============================================
   SECCIÓN REDES SOCIALES
   ============================================ */
.social-section {
  background: linear-gradient(180deg, #000 0%, #1a1a2e 100%);
  border-top: 1px solid rgba(0, 240, 255, 0.1);
  text-align: center;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.social-card {
  background: rgba(0, 240, 255, 0.05);
  border: 2px solid rgba(0, 240, 255, 0.3);
  padding: 40px;
  border-radius: 12px;
  transition: all 0.3s ease;
  animation: slideInUp 0.8s ease both;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: #00f0ff;
}

.social-card:nth-child(1) { animation-delay: 0.1s; }
.social-card:nth-child(2) { animation-delay: 0.2s; }
.social-card:nth-child(3) { animation-delay: 0.3s; }
.social-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.social-card:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: rgba(0, 240, 255, 0.6);
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 240, 255, 0.2);
}

.social-icon {
  font-size: 2.5rem;
  display: block;
  font-weight: bold;
}

.social-name {
  font-size: 1.1rem;
  font-weight: 600;
  font-family: 'Michroma', sans-serif;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
  section {
    padding: 60px 20px;
  }

  section h2 {
    font-size: 2.5rem;
  }

  .contact-grid,
  .forms-grid,
  .social-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .form-container {
    padding: 30px;
  }

  .map-container {
    height: 400px;
  }

  .section-intro {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  section {
    padding: 40px 15px;
  }

  section h2 {
    font-size: 1.8rem;
  }

  .contact-card {
    padding: 30px 20px;
  }

  .form-container {
    padding: 20px;
  }

  .map-container {
    height: 300px;
  }

  .forms-grid {
    gap: 20px;
  }
}
