/* Cuerpo de la página */
body {
  font-family: Georgia, serif;
  background-color: #fff8f0;
  margin: 0;
  color: #333;
}

h2 {
  text-align: center;
  color: #7d3e3e;
  font-size: 2.5rem;
  margin-top: 2rem;
}

h3 {
  color: #5a2a27;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #7d3e3e;
  padding-bottom: 0.5rem;
}

/*Cabecera*/
header {
  background: linear-gradient(to right, #5a2a27, #7d3e3e);
  color: #fff;
  padding: 1.5rem 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 10;
}

header .cabecera {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

header .logo {
  height: 110px;
  width: 90 px;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.3));
}

header h1 {
  font-size: 2.5rem;
  font-family: 'Cinzel', serif;
  margin-left: 1rem;
  flex: 1;
  color: #ffe6c7;
  text-shadow: 1px 1px 2px #000;
}

header .login-form {
  display: flex;
  gap: 0.5rem;
}

header .login-form input,
header .login-form button {
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: 'Georgia', serif;
}

header .login-form button {
  background-color: #e0b973;
  color: #2e2e2e;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

header .login-form button:hover {
  background-color: #c89f5d;
}

header .alta-link {
  color: #ffe6c7;
  margin-left: 1rem;
  text-decoration: underline;
  font-size: 0.9rem;
}

header nav ul {
  display: flex;
  list-style: none;
  justify-content: center;
  gap: 2rem;
  background: #3b1f1f;
  padding: 1rem 0;
  flex-wrap: wrap;
  box-shadow: inset 0 -2px 5px rgba(0, 0, 0, 0.4);
}

header nav a {
  color: #ffe6c7;
  text-decoration: none;
  font-weight: bold;
  font-family: 'Cinzel', serif;
}

header nav a:hover {
  color: #f7c873;
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

/* Estilo para las secciones de las pistas */
.pistas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem;
}

.pista {
  background-color: #f1e1c6;
  padding: 1.5rem;
  border: 2px solid #c89f5d;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.pista p {
  font-size: 1.1rem;
  line-height: 1.5;
}

/* Imagen del plano y leyenda*/
.plano-y-leyenda {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Marco (muy parecido al del index) */
.plano-con-marco {
  max-width: 600px;
  filter: sepia(0.05) contrast(1.1) brightness(0.9) saturate(0.9) grayscale(0.1);
  border: 8px solid #7d3e3e;
  transition: transform 0.4s ease, filter 0.3s ease;
  border-image: linear-gradient(to right, #c89f5d, #7d3e3e, #c89f5d) 1;
  box-shadow: 0 0 20px rgba(125, 62, 62, 0.5);
}

.plano-con-marco:hover {
  filter: contrast(100%) saturate(100%) hue-rotate(0deg);
  transform: scale(1.02);
}

.plano-club {
  width: 100%;
  border-radius: 8px;
  display: block;
}

/* Leyenda */
.contenedor-leyenda {
  max-width: 300px;
  text-align: left;
}

.titulo-leyenda {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #5c432a;
  text-align: center;
}

.leyenda {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: 'Georgia', serif;
  font-size: 1rem;
  background-color: #f1e1c6;
  border: 1px solid #c89f5d;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.leyenda li {
  margin-bottom: 0.5rem;
  line-height: 1.4;
}


/* Pie de página */
footer {
  padding: 2.5rem;
  background-color: #2e1a1a;
  color: #ffe6c7;
  text-align: center;
  font-family: 'Georgia', serif;
  border-top: 4px solid #7d3e3e;
}

footer a {
  color: #f7c873;
  text-decoration: none;
  margin: 0 0.5rem;
}

footer a:hover {
  text-decoration: underline;
  color: #ffd700;
}