@import url("style.css");

/* FILTER */
.event-filter {
  padding: 30px 20px;
  text-align: center;
}

.event-filter button {
  padding: 8px 16px;
  margin: 5px;
  border: none;
  border-radius: 8px;
  background: #e5e7eb;
  cursor: pointer;
}

.event-filter button.active {
  background: #1E3A8A;
  color: #fff;
}

/* GRID */
.events {
  padding: 60px 20px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* CARD */
.event-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  transition: 0.3s;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.event-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.event-content {
  padding: 15px;
}

.event-content h3 {
  font-size: 16px;
  margin: 8px 0;
}

.event-content p {
  font-size: 13px;
  color: #6b7280;
}

/* DATE */
.event-date {
  font-size: 12px;
  color: #1E3A8A;
  font-weight: 600;
}

/* FOOTER */
.event-footer {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin: 10px 0;
}

/* BUTTON */
.btn-event {
  display: block;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  background: #FACC15;
  color: #111;
  text-decoration: none;
  font-weight: 600;
}

.btn-event:hover {
  background: #eab308;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .events-grid {
    grid-template-columns: 1fr;
  }
}