/* registro.css */

/* Contenedor principal de la sección Registro */
.registro {
  padding: 60px 20px;
  background: #f5f5f5;
}

.registro .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Título de la sección con efecto de óvalo y centralizado */
.registro__title {
  display: block;
  width: fit-content;
  padding: 15px 40px;
  background: linear-gradient(45deg, #006341, #004c31);
  border-radius: 50px;
  color: #fff;
  font-size: 2.5rem;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 1px;
  margin: 0 auto 40px auto; /* Centrado horizontalmente y margen inferior de 40px */
  text-align: center;
  transition: background 0.3s ease, transform 0.3s ease;
}

.registro__title:hover {
  background: linear-gradient(45deg, #004c31, #006341);
  transform: scale(1.05);
}

/* Grid para las opciones de registro */
.registro__grid {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  flex-wrap: wrap;
}

/* Estilos para cada caja de opción */
.registro__option {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1 1 300px;
  max-width: 400px;
  text-align: center;
  overflow: hidden;
  cursor: pointer;
}

.registro__option a {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Efectos al pasar el cursor sobre la opción */
.registro__option:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Imagen representativa para cada opción */
.registro__img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.registro__option:hover .registro__img {
  transform: scale(1.05);
}

/* Título dentro de cada opción */
.registro__option-title {
  font-size: 1.8rem;
  margin: 20px 0;
  color: #006341;
  font-family: 'Montserrat', sans-serif;
  transition: color 0.3s ease;
}

.registro__option:hover .registro__option-title {
  color: #004c31;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
  .registro__title {
    font-size: 2rem;
  }
  .registro__grid {
    flex-direction: column;
    align-items: center;
  }
  .registro__option {
    max-width: 90%;
  }
}
