/* Hero Section */
.page-hero.events-hero {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-hover) 100%
  );
  color: white;
  padding: 30px 0;
  text-align: center;
  margin-bottom: 30px;
}

.page-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.page-hero p {
  opacity: 0.9;
  font-size: 1.1rem;
}

/* Filters */
.filters-section {
  margin-bottom: 30px;
}

.filters-form .filter-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
}

.search-input-group {
  display: flex;
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-input-group .form-control {
  border: none;
  padding: 12px 20px;
  border-radius: 25px 0 0 25px;
}

.search-input-group .btn {
  border-radius: 0 25px 25px 0;
  padding: 12px 25px;
  background: #f59e0b;
  border-color: #f59e0b;
}

.search-input-group .btn:hover {
  background: #d97706;
}

.filter-group .form-control {
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
  min-width: 150px;
}

.filter-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
}

.results-count {
  color: #666;
  font-size: 0.9rem;
}

/* Events Grid */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.event-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.event-card.past-event {
  opacity: 0.7;
}

.event-date-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: white;
  border-radius: 8px;
  padding: 10px 15px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.event-date-badge .day {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #f59e0b;
  line-height: 1;
}

.event-date-badge .month {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #666;
  font-weight: 600;
}

.event-date-badge .year {
  display: block;
  font-size: 0.7rem;
  color: #999;
}

.event-image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  display: block;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-image .image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #f59e0b;
  font-size: 3rem;
}

.event-image .badge-featured {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #f59e0b;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.event-image .badge-past {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: #6b7280;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.event-body {
  padding: 20px;
}

.event-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  line-height: 1.3;
}

.event-title a {
  font-family: var(--font-heading);
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

.event-title a:hover {
  color: #f59e0b;
}

.event-artists {
  font-size: 0.9rem;
  color: #f59e0b;
  margin-bottom: 15px;
  font-weight: 500;
}

.event-artists i {
  margin-right: 5px;
}

.event-info {
  display: grid;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: #666;
}

.event-info i {
  width: 20px;
  color: #f59e0b;
}

.event-info small {
  color: #888;
}

.event-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.event-price {
  font-weight: 700;
  color: #059669;
  font-size: 1.1rem;
}

.btn-view-event {
  color: #f59e0b;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.3s;
}

.btn-view-event:hover {
  gap: 10px;
}

/* Pagination */
.pagination-container {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.pagination {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 16px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.pagination-link:hover {
  background: #f59e0b;
  border-color: #f59e0b;
  color: white;
}

.pagination-link.active {
  background: #f59e0b;
  border-color: #f59e0b;
  color: white;
}

.pagination-ellipsis {
  padding: 10px;
  color: #888;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.empty-state i {
  font-size: 4rem;
  color: #ddd;
  margin-bottom: 20px;
}

.empty-state h3 {
  color: #333;
  margin-bottom: 10px;
}

.empty-state p {
  color: #666;
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .page-hero h1 {
    font-size: 1.8rem;
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .filters-form .filter-row {
    flex-direction: column;
    align-items: stretch;
  }

  .search-input-group {
    max-width: 100%;
  }

  .filter-group .form-control {
    min-width: 100%;
  }
}
