.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.event-tile {
  position: relative;
  height: 300px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.event-tile:hover {
  transform: scale(1.05);
}

.tile-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 20px;
  transition: backdrop-filter 0.3s ease;
}

.event-tile:hover .tile-content {
  backdrop-filter: blur(5px);
}

.get-details-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 0, 0, 0.9);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-decoration: none;
  font-weight: bold;
}

.event-tile:hover .get-details-btn {
  opacity: 1;
}

.tile-content h3, .tile-content p {
  margin: 0 0 10px 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}
