* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background: url('images/fons-blocs-bellvitge.jpg') no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
  color: #333;
}



.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Página principal */
.poster-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 2rem;
}

.poster-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 2rem;
  padding: 3rem 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.main-title {
  font-size: 3rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.dates {
  margin-bottom: 2rem;
}

.date-text {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.2rem;
  display: inline-block;
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.poster-image {
  max-width: 100%;
  height: auto;
  margin: 2rem 0;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Botones principales */
.main-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.main-btn {
  background: white;
  color: #2c3e50;
  padding: 1.5rem 3rem;
  border-radius: 1rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.main-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
}

.programa-btn:hover {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
}

.actividades-btn:hover {
  background: linear-gradient(135deg, #ff6b6b, #feca57);
  color: white;
}

/* Página de actividades */
.header-section {
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}

.back-btn {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  color: #2c3e50;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.back-btn:hover {
  background: white;
  transform: translateY(-50%) translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
  list-style: none;
  padding: 0;
}

.activity-btn {
  background: white;
  padding: 1.5rem;
  border: none;
  border-radius: 1rem;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

.activity-btn a {
  color: #2c3e50;
  text-decoration: none;
}

.activity-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #ff6b6b, #feca57);
  color: white;
}

/* Footer */
.footer {
  text-align: center;
  color: white;
  font-weight: 500;
  margin-top: auto;
  padding-top: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.social-links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  background: white;
  padding: 0.5rem 0.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
  max-width: 100px;
  margin-left: auto;
  margin-right: auto;
}

.social-link {
  color: #2c3e50;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  transform: translateY(-3px);
  color: #feca57;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }
  
  .main-title {
    font-size: 2rem;
  }
  
  .date-text {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }
  
  .main-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .main-btn {
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
  }
  
  .activities-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .activity-btn {
    padding: 1.2rem;
    font-size: 1rem;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .back-btn {
    position: static;
    transform: none;
    margin-bottom: 1rem;
    display: inline-block;
  }
  
  .poster-image {
    margin: 1.5rem 0;
  }
}

@media (max-width: 480px) {
  .main-title {
    font-size: 1.5rem;
  }
  
  .poster-content {
    padding: 2rem 1rem;
  }
  
  .poster-image {
    margin: 1rem 0;
  }
}