/* Fondo con imagen y capa desenfocada */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: url('stuttgart.jpeg') no-repeat center center fixed;
  background-size: cover;
  color: #f2f2f2;
  text-align: center;
  position: relative;
}

/* Capa oscura sobre el fondo para mejorar la legibilidad */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(5px);
  z-index: -1;
}

/* Título principal */
h1 {
  font-size: 3rem;
  margin-top: 40px;
  color: #ffe97f;
  text-shadow: 2px 2px 8px #000;
}

/* Secciones tipo tarjeta */
section {
  margin: 50px auto;
  max-width: 950px;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
}

/* Subtítulos */
section h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #ffcc33;
}

/* Párrafos */
section p {
  font-size: 1.2rem;
  line-height: 1.7;
  margin: 0 auto 20px;
  color: #e0e0e0;
}

/* Imágenes */
img {
  width: 280px;
  height: auto;
  margin: 12px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

img:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 24px rgba(255, 255, 255, 0.15);
}

/* Contenedores internos */
section div {
  margin-bottom: 25px;
}

/* Enlaces */
section a {
  display: inline-block;
  color: #4ecfff;
  font-size: 1.1rem;
  margin-bottom: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

section a:hover {
  color: #aeefff;
}
