@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: #f9f5f2;
  color: #333;
}

.menu-superior {
  display: flex;
  justify-content: space-around;
  background-color: #ffffffcc; /* lleugerament translÃºcid */
  border-bottom: 1px solid #ddd;
  padding: 0.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(4px);
}

.menu-superior button {
  background: none;
  border: none;
  font-size: 1rem;
  padding: 0.5rem;
  cursor: pointer;
  color: #b25c5c;
  font-weight: 600;
}

.menu-superior button:hover {
  text-decoration: underline;
}

.contingut {
  padding: 1rem;
  text-align: center;
}
.gran-text {
  font-size: 2.2rem;
  margin-top: 2rem;
  color: #b25c5c;
  font-weight: 600;
}

.anells {
  width: 80px;
  margin: 1rem auto;
  display: block;
}

.comptador {
  font-size: 1.5rem;
  margin-top: 1rem;
  color: #555;
}

.boto-calendari {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.6rem 1rem;
  background-color: #b25c5c;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

/* --- ITINERARI --- */
.event {
  display: flex;
  align-items: flex-start;
  background-color: white;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.event img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  margin-right: 15px;
  margin-top: 2px;
}

.event-details {
  flex: 1;
  font-size: 1rem;
  line-height: 1.4;
}

.event-details strong {
  font-size: 1.1rem;
  color: #444;
}

.event-details a {
  color: #b25c5c;
  text-decoration: none;
}

.event-details a:hover {
  text-decoration: underline;
}
    .galeria {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
      gap: 10px;
      padding: 20px;
    }

    .galeria img {
      width: 100%;
      height: auto;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }

    .missatge {
      text-align: center;
      margin-top: 20px;
      font-size: 1rem;
    }
        .form-container {
      background-color: white;
      padding: 20px;
      border-radius: 12px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      max-width: 600px;
      margin: auto;
      margin-top: 20px;
      text-align: left;
    }

    .progress-bar {
      width: 100%;
      background-color: #eee;
      border-radius: 8px;
      overflow: hidden;
      margin-top: 10px;
      margin-bottom: 20px;
    }

    .progress {
      height: 16px;
      background-color: #b25c5c;
      width: 0%;
      transition: width 0.3s;
    }

    .upload-result {
      margin-top: 10px;
      font-size: 0.95rem;
    }

    .upload-result span {
      display: block;
      margin-bottom: 5px;
    }