/* ============================================
   ESTILO PRINCIPAL DE LOISLIVE
   Archivo: Multimedia/css/estilo.css
   ============================================ */

/* RESET GENERAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f1f5f9;
  color: #1e293b;
  line-height: 1.6;
}

/* ========== TOPBAR ========= */
nav {
  background-color: #1e3a8a; /* azul oscuro */
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .logo {
  font-weight: bold;
  font-size: 1.5rem;
}

nav .logo span {
  color: #facc15; /* amarillo vivo */
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #60a5fa; /* azul claro */
}

.btn-header {
  background-color: white;
  color: #1e3a8a;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  box-shadow: 2px 2px 0 #0f172a;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-header:hover {
  background-color: #1e3a8a;
  color: white;
  transform: scale(1.03);
}

/* ========== HERO ========== */
section.hero {
  background-color: #dbeafe; /* azul pastel */
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

@media (min-width: 768px) {
  section.hero {
    flex-direction: row;
    padding: 6rem 4rem;
  }
}

.hero-text {
  flex: 1;
  max-width: 600px;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #1e3a8a;
  line-height: 1.2;
}

.hero-text h1 span {
  color: #2563eb;
}

.hero-text p {
  font-size: 1.125rem;
  margin-top: 1rem;
  color: #334155;
}

.btn-pixel {
  background-color: #1e3a8a;
  color: white;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  margin-top: 2rem;
  border-radius: 0.5rem;
  box-shadow: 4px 4px 0 #0f172a;
  transition: transform 0.2s ease, background 0.3s ease;
  display: inline-block;
}

.btn-pixel:hover {
  background-color: white;
  color: #1e3a8a;
  border: 2px solid #1e3a8a;
  transform: scale(1.05);
}

.hero-img img {
  width: 200px;
  max-width: 100%;
  animation: softbounce 2s infinite ease-in-out;
}

/* ========== FORMULARIO ========= */
form {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

form .input-group {
  display: flex;
  flex-direction: column;
}

form label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #1e3a8a;
}

form input,
form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border 0.3s, box-shadow 0.3s;
  background-color: #fff;
  color: #1e293b;
}

form input::placeholder,
form textarea::placeholder {
  color: #94a3b8;
}

form input:focus,
form textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
  outline: none;
}

/* Botón de envío del formulario */
form button[type="submit"] {
  background-color: #1e3a8a;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s;
  box-shadow: 2px 2px 0 #0f172a;
  margin-top: 1rem;
}

form button[type="submit"]:hover {
  background-color: #2563eb;
  transform: scale(1.03);
}

/* ========== ANIMACIONES ========== */
@keyframes softbounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ========== FOOTER ========== */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  background-color: #e2e8f0;
  color: #475569;
}

/* ========== SEPARADORES SVG ENTRE SECCIONES ========== */
.separador {
  position: relative;
  margin-top: -1px;
}

.separador svg {
  display: block;
  width: 100%;
  height: 80px;
}
