/* ===========================================
   ATLAS BLUE DATA – ESTILO PRINCIPAL
   Fondo oscuro, acentos cyan y estilo neón
   =========================================== */

/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Rajdhani", sans-serif;
  background-color: #02060d;
  color: #e0e0e0;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===========================================
   HEADER Y LOGO
   =========================================== */

.main-header {
  background-color: #02060d;
  padding: 20px 0;
  border-bottom: 1px solid #00e0ff;
  text-align: center;
}

.logo img {
  width: 100%;
  max-width: 300px;     /* tamaño máximo del logo */
  height: auto;         /* mantiene proporción */
  display: block;
  margin: 0 auto 10px;  /* centrado con margen inferior */
}

.main-header h1 {
  color: #00bfff;
  font-family: "Orbitron", sans-serif;
  font-size: 1.8rem;
  margin-top: 10px;
  letter-spacing: 1px;
}

/* ===========================================
   MENÚ DE NAVEGACIÓN
   =========================================== */

.main-header nav ul {
  list-style: none;
  margin: 15px 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.main-header nav ul li a {
  color: #00e0ff;
  text-decoration: none;
  font-family: "Rajdhani", sans-serif;
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-header nav ul li a:hover {
  color: #ffffff;
}

/* ===========================================
   SECCIONES PRINCIPALES
   =========================================== */

section {
  padding: 60px 20px;
  text-align: center;
}

section h2 {
  color: #00bfff;
  font-family: "Orbitron", sans-serif;
  font-size: 1.6rem;
  margin-bottom: 15px;
}

section p {
  max-width: 800px;
  margin: 0 auto 20px;
}

/* ===========================================
   BOTONES PRINCIPALES
   =========================================== */

button,
.btn {
  background-color: transparent;
  border: 1px solid #00e0ff;
  color: #00e0ff;
  padding: 10px 25px;
  margin: 5px;
  border-radius: 4px;
  font-family: "Rajdhani", sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover,
.btn:hover {
  background-color: #00e0ff;
  color: #02060d;
  box-shadow: 0 0 10px #00e0ff;
}

/* ===========================================
   TARJETAS DE INFORMACIÓN
   =========================================== */

.card {
  background-color: #0a0f18;
  border: 1px solid #00e0ff;
  border-radius: 6px;
  padding: 20px;
  max-width: 280px;
  margin: 10px auto;
  color: #e0e0e0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px #00e0ff;
}

/* ===========================================
   FOOTER
   =========================================== */

footer {
  background-color: #010409;
  border-top: 1px solid #00e0ff;
  padding: 20px 0;
  text-align: center;
  color: #8fdfff;
  font-size: 0.9rem;
}

/* ===========================================
   RESPONSIVE DESIGN (para pantallas pequeñas)
   =========================================== */

@media (max-width: 768px) {
  .main-header nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .logo img {
    max-width: 200px;  /* logo más chico en móviles */
  }

  section {
    padding: 40px 10px;
  }

  button,
  .btn {
    width: 100%;
    max-width: 280px;
  }
}

.hero {
  text-align: center;
  padding: 80px 20px;
}

.hero h2 {
  color: #00bfff;
  font-family: "Orbitron", sans-serif;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.hero p {
  color: #e0e0e0;
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.hero-image img {
  max-width: 500px;
  width: 100%;
  height: auto;
  margin-top: 30px;
  border-radius: 10px;
  box-shadow: 0 0 25px #00bfff60;
}

/* ===== Efecto de aparición y resplandor del Atlas Prima ===== */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}

.hero-image img {
  max-width: 420px;
  width: 100%;
  height: auto;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInMove 1.8s ease-out forwards, neonPulse 5s ease-in-out infinite;
}

/* Animación de entrada */
@keyframes fadeInMove {
  0% {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Halo de luz pulsante */
@keyframes neonPulse {
  0%, 100% {
    filter: drop-shadow(0 0 8px #00bfff)
            drop-shadow(0 0 16px #00bfff)
            drop-shadow(0 0 32px #0080ff);
  }
  50% {
    filter: drop-shadow(0 0 20px #00ffff)
            drop-shadow(0 0 40px #00e0ff)
            drop-shadow(0 0 60px #00bfff);
  }
}

/* ==== Luz cálida ambiental sutil ==== */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(255,140,0,0.15), transparent 60%),
              radial-gradient(circle at 10% 90%, rgba(255,80,0,0.1), transparent 50%);
  pointer-events: none;
  mix-blend-mode: screen;
  animation: warmGlow 12s ease-in-out infinite alternate;
}

@keyframes warmGlow {
  0% { opacity: 0.25; }
  50% { opacity: 0.45; }
  100% { opacity: 0.3; }
}
