/* ESTILO GENERAL */
body {
  margin: 0;
  display: flex;
  background-color: #0a0a0a;
  color: #e6e6e6;
  font-family: 'Cinzel', serif;
}

/* BARRA LATERAL CON TEXTURA */
.sidebar {
  width: 220px;
  height: 100vh;

  /* separación leve del borde */
  margin-left: 8px;

  /* textura */
  background-image: url("images/textura.jpg");
  background-size: cover;
  background-position: center;

  position: fixed;
  top: 0;

  border-radius: 10px;
  border: 1px solid #222;
  box-shadow: 2px 0 15px rgba(0,0,0,0.9);

  overflow: hidden;
}

/* ZONA DEL LOGO (NEGRA) */
.logo {
  background-color: black;
  text-align: center;
  padding: 20px 10px;
  border-bottom: 1px solid #333;
}

.logo img {
  width: 80px;
}

/* MENÚ */
.sidebar ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.sidebar li {
  margin: 10px 0;
  text-align: center;
}

/* ENLACES CON MEJORA VISUAL */
.sidebar a {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 1px;
  display: block;
  padding: 10px;
  transition: all 0.3s;

  /* fondo para que se lean sobre la textura */
  background-color: rgba(0, 0, 0, 0.5);
  margin: 5px 12px;
  border-radius: 6px;
}

/* HOVER ELEGANTE */
.sidebar a:hover {
  background-color: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  transform: translateX(5px);
}

/* CONTENIDO */
.contenido {
  margin-left: 240px;
  width: 100%;
  padding: 30px;
}

/* HEADER */
header {
  text-align: center;
}

h1 {
  font-size: 40px;
  margin-bottom: 5px;
}

.subtitle {
  font-size: 18px;
  color: #aaa;
}

/* IMAGEN CENTRAL */
.imagen-central {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.imagen-central img {
  max-width: 350px;
  width: 100%;
  border: 2px solid #333;
}

/* GALERÍA */
.galeria {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.item img {
  width: 220px;
  border: 2px solid #222;
  transition: transform 0.3s;
}

.item img:hover {
  transform: scale(1.05);
}

/* ABOUT */
.about {
  margin-top: 40px;
  text-align: center;
}

/* FOOTER */
footer {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #333;
  text-align: center;
}

footer a {
  margin: 0 15px;
  color: #888;
  text-decoration: none;
  font-size: 14px;
}

footer a:hover {
  color: #fff;
}