/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* FONS */
body {
  background-color: #faf6f1;
  background-image: url('img/bg-texture.png'); /* pots usar una textura suau */
  font-family: "Georgia", serif;
  color: #3e3e3e;
  line-height: 1.6;
  display: flex;
  justify-content: center;
  padding: 30px 0;
}

/* ESTRUCTURA GENERAL */
.wrapper {
  display: grid;
  grid-template-columns: 200px 600px 200px;
  gap: 20px;
  width: 1000px;
  max-width: 95%;
}

/* COLUMNA ESQUERRA */
.left {
  text-align: center;
}

.side-img {
  width: 150px;
  margin-top: 40px;
  opacity: 0.9;
}

/* COLUMNA CENTRAL */
.content {
  background-color: #fffefb;
  border: 1px solid #e0dccc;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

header {
  text-align: center;
  margin-bottom: 20px;
}

header h1 {
  font-size: 26px;
  color: #7d8c74;
  letter-spacing: 1px;
}

.subtitle {
  font-size: 14px;
  color: #9b8e7d;
  font-style: italic;
}

/* MENÚ */
.menu {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
}

.menu a {
  text-decoration: none;
  background-color: #efe9dc;
  color: #4a473e;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  border: 1px solid #d8d1c3;
  transition: all 0.2s ease;
}

.menu a:hover,
.menu a.active {
  background-color: #dfe5d8;
  color: #2f2f2f;
}

/* CAIXES */
.box {
  background-color: #fffefc;
  border: 1px solid #e5e1d8;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
}

.box h2, .box h3 {
  color: #7d8c74;
  margin-bottom: 8px;
}

.photo {
  width: 100%;
  border-radius: 8px;
  margin-top: 10px;
}

/* COLUMNA DRETA */
.right {
  font-size: 13px;
}

.updates ul {
  list-style: none;
}

.updates li {
  margin-bottom: 6px;
  color: #5f574d;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .wrapper {
    grid-template-columns: 1fr;
  }
  .left, .right {
    display: none;
  }
}
