/* === Modo oscuro principal === */
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(180deg, #8b0000, #2b0000);
  color: #f5f5f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
}

/* === Contenido principal === */
.main-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* === Logo animado (entrada + pulso) === */
.logo {
  width: 200px;
  height: auto;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: scale(0.95);
  animation:
    fadeInZoom 1.8s ease-out forwards,
    pulse 5s ease-in-out 2s infinite;
}

@keyframes fadeInZoom {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.03);
    opacity: 0.97;
  }
}

/* === Texto principal === */
h1 {
  font-size: 2rem;
  margin: 0.5rem 0;
  color: #f5f5f5;
}

p {
  font-size: 1.1rem;
  max-width: 400px;
  color: #ddd;
}

/* === Footer === */
footer {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  padding: 1rem 0;
  background-color: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem;
  transition: transform 0.3s ease;
}

.footer-item a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-item i {
  font-size: 1.3rem;
  color: #ffcccc;
  transition: color 0.3s ease, transform 0.3s ease;
}

/* Zoom aumentado al hover */
.footer-item:hover {
  transform: scale(1.1);
}

/* Hover por color (ubicación rosa, whatsapp verde, instagram degradado) */
.footer-item.location:hover i,
.footer-item.location:hover span {
  color: #e1306c !important;
}

.footer-item.whatsapp:hover i,
.footer-item.whatsapp:hover span {
  color: #25d366 !important;
}

.footer-item.email:hover i,
.footer-item.email:hover span {
  color: #00aaff !important;
}

.footer-item.instagram:hover i,
.footer-item.instagram:hover span {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

/* Responsive */
@media (max-width: 600px) {
  h1 {
    font-size: 1.5rem;
  }

  p {
    font-size: 1rem;
  }

  footer {
    flex-direction: column;
  }
}
