/* Reset y estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}

/* Estilos del menú */
.menu {
  background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
  color: white;
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.menu-small {
  padding: 0.5rem 0;
  background: linear-gradient(135deg, #1a252f 0%, #0f1a24 100%);
}

.menu-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(45deg, #e74c3c, #f39c12);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.menu-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.menu-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
}

.menu-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #e74c3c;
  transition: width 0.3s ease;
}

.menu-links a:hover::after {
  width: 80%;
}

.menu-links a:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* Contenido principal */
.contenido {
  max-width: 1200px;
  margin: 100px auto 0;
  padding: 2rem;
}

.titulo-principal {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #2c3e50;
  position: relative;
  padding-bottom: 1rem;
}

.titulo-principal::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #e74c3c, #f39c12);
  border-radius: 3px;
}

.contenido > p {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto 3rem;
  font-style: italic;
  border-left: 3px solid #e74c3c;
  border-right: 3px solid #e74c3c;
  padding: 1rem 2rem;
}

/* Sistema de columnas */
.columnas-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.columna {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}

.columna::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #e74c3c, #f39c12);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.columna:hover::before {
  transform: scaleX(1);
}

.columna:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(231, 76, 60, 0.15);
  border-color: #e74c3c;
}

.columna h3 {
  color: #2c3e50;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e74c3c;
  position: relative;
}

.columna h3::after {
  content: '🧗';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.columna:hover h3::after {
  opacity: 1;
}

.columna p {
  color: #555;
  line-height: 1.8;
  font-size: 1rem;
}

/* Footer */
.seccion-final {
  background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
  color: white;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.contenedor-final {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.zona-vacia h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #e74c3c, #f39c12);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.zona-vacia p {
  color: #bdc3c7;
  font-style: italic;
}

.zona-listas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grupo-lista h4 {
  color: #e74c3c;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.grupo-lista ul {
  list-style: none;
}

.grupo-lista li {
  color: #bdc3c7;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  cursor: default;
}

.grupo-lista li:hover {
  color: white;
  transform: translateX(5px);
}

/* Responsive */
@media (max-width: 992px) {
  .columnas-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .menu-container {
    flex-direction: column;
    padding: 1rem;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  .menu-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
  
  .menu-links a {
    font-size: 0.9rem;
    padding: 0.3rem 0.8rem;
  }
  
  .titulo-principal {
    font-size: 2rem;
  }
  
  .contenido > p {
    font-size: 1rem;
    padding: 1rem;
  }
  
  .columnas-container {
    grid-template-columns: 1fr;
  }
  
  .contenedor-final {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .zona-listas {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .contenido {
    padding: 1rem;
  }
  
  .columna {
    padding: 1.5rem;
  }
  
  .columna h3 {
    font-size: 1.3rem;
  }
  
  .titulo-principal {
    font-size: 1.5rem;
  }
  
  .menu-links {
    flex-direction: column;
    align-items: center;
  }
  
  .menu-links li {
    width: 100%;
    text-align: center;
  }
  
  .menu-links a {
    display: block;
  }
}

/* Animaciones */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.columnas-container {
  animation: fadeIn 1s ease-out;
}

.columna {
  animation: fadeIn 1s ease-out;
  animation-fill-mode: both;
}

.columna:nth-child(1) { animation-delay: 0.1s; }
.columna:nth-child(2) { animation-delay: 0.2s; }
.columna:nth-child(3) { animation-delay: 0.3s; }
.columna:nth-child(4) { animation-delay: 0.4s; }
.columna:nth-child(5) { animation-delay: 0.5s; }
.columna:nth-child(6) { animation-delay: 0.6s; }

/* Scrollbar personalizada */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #e74c3c, #f39c12);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #c0392b, #e67e22);
}

/* Efectos adicionales */
.columna p::first-letter {
  font-size: 1.5rem;
  font-weight: bold;
  color: #e74c3c;
}

/* Corrección del error en el HTML (Columna 5 duplicada) */
.columna:nth-child(6) h3 {
  content: "Columna 6";
}