

/* ESTILOS PARA LA SECCIÓN "METEORITOS CONOCIDOS"                 */

/* 
 * Este archivo contiene los estilos para mostrar la información histórica
 * de meteoritos famosos. Incluye:
 * - Diseño de tarjetas para cada meteorito histórico
 * - Layout de dos columnas (modelo 3D + información)
 * - Estilos para títulos y datos científicos
 * - Adaptación responsive para dispositivos móviles
 */

/* Contenedor principal de cada meteorito histórico */
.meteorite-section {
  margin-top: 4rem;
  margin-bottom: 5rem;
  padding-bottom: 3rem;
  position: relative;
  background: transparent;
  border-radius: 24px;
  padding: 3rem;
  transition: all 0.4s ease;
}

/* Título de cada meteorito (ej: Chelyabinsk, Tunguska) */
.meteorite-section h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, 
    #64ffda 0%,
    #1e90ff 50%,
    #64ffda 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  text-shadow: 0 0 30px rgba(100, 255, 218, 0.3);
  position: relative;
  z-index: 1;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(100, 255, 218, 0.2);
  animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.3);
  }
}

/* Layout de columna única - modelo arriba, info abajo */
.meteorite-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

/* Contenedor del modelo 3D (arriba) */
.model-container {
  width: 100%;
  min-height: 400px;
  background: 
    radial-gradient(circle at 30% 30%, rgba(100, 255, 218, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(30, 144, 255, 0.1) 0%, transparent 50%),
    linear-gradient(135deg, #05080f 0%, #0a1520 50%, #05080f 100%);
  border: 2px solid rgba(100, 255, 218, 0.2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.5),
    inset 0 0 40px rgba(100, 255, 218, 0.1),
    inset 0 2px 4px rgba(0, 0, 0, 0.5);
  position: relative;
  transition: all 0.3s ease;
}

.model-container:hover {
  border-color: rgba(100, 255, 218, 0.4);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.6),
    inset 0 0 50px rgba(100, 255, 218, 0.15),
    0 0 30px rgba(100, 255, 218, 0.2);
}

/* Efecto de resplandor en el modelo 3D */
.model-container::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, 
    rgba(100, 255, 218, 0.15) 0%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  animation: modelPulse 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes modelPulse {
  0%, 100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(0.9);
  }
  50% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* Contenedor de datos científicos (abajo) */
.data-container {
  width: 100%;
  background: linear-gradient(135deg, 
    rgba(15, 20, 30, 0.8) 0%,
    rgba(20, 25, 35, 0.6) 100%
  );
  border: 2px solid rgba(100, 255, 218, 0.15);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.data-container:hover {
  border-color: rgba(100, 255, 218, 0.3);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 20px rgba(100, 255, 218, 0.1);
}

/* Línea decorativa vertical */
.data-container::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 3px;
  background: linear-gradient(180deg, 
    transparent,
    rgba(100, 255, 218, 0.8),
    rgba(30, 144, 255, 0.6),
    rgba(100, 255, 218, 0.8),
    transparent
  );
  box-shadow: 0 0 15px rgba(100, 255, 218, 0.6);
}

/* Estilo de párrafos dentro del contenedor de datos */
.data-container p {
  line-height: 1.8;
  margin: 0.8rem 0;
  color: #e0e0e0;
  font-size: 1.05rem;
  position: relative;
  padding-left: 1.5rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Icono decorativo antes de cada dato */
.data-container p::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: rgba(100, 255, 218, 0.6);
  font-size: 0.8rem;
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

/* Resaltar etiquetas (strong) */
.data-container p strong {
  color: #64ffda;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(100, 255, 218, 0.4);
  letter-spacing: 0.5px;
}

/* Línea decorativa horizontal entre modelo e info */
.data-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent,
    rgba(100, 255, 218, 0.6),
    rgba(30, 144, 255, 0.4),
    rgba(100, 255, 218, 0.6),
    transparent
  );
  box-shadow: 0 0 10px rgba(100, 255, 218, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .meteorite-section {
    padding: 2rem 1.5rem;
    margin-top: 3rem;
  }
  
  .meteorite-column {
    gap: 1.5rem;
  }
  
  .model-container {
    min-height: 280px;
  }
  
  .meteorite-section h3 {
    font-size: 1.5rem;
  }
}

