/* Local Events CSS - ForUsers.com */
:root {
  --bg-color: #0b0f19;
  --card-bg: #131a2e;
  --card-hover: #18223c;
  --border-color: #1e293b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent-blue: #6699ff;
  --accent-blue-dark: #4d7ce5;
  --primary: #10b981;
  --primary-tint: rgba(16, 185, 129, 0.12);
  --accent-amber: #f59e0b;
  --accent-amber-tint: rgba(245, 158, 11, 0.12);
  --accent-purple: #8b5cf6;
  --accent-purple-tint: rgba(139, 92, 246, 0.12);
  --accent-rose: #f43f5e;
  --accent-cyan: #06b6d4;
  --font-main: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-body);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Topbar / Header */
.topbarCls {
  height: 78px;
  width: 100%;
  display: flex;
  align-items: flex-end;
  background-color: white;
}

.logo {
  height: 78px;
  width: auto;
  display: block;
}

.menu-box {
  background: var(--accent-blue);
  height: 39px;
  flex-grow: 1;
  display: flex;
  align-items: center;
  padding-left: 20px;
}

.menu-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 14px;
}

.menu-list a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  font-family: verdana, arial, sans-serif;
}

.menu-list a:hover {
  text-decoration: underline;
}

.menu-list a.active {
  text-decoration: underline;
  color: #fff;
  font-weight: 700;
}

/* Page Container */
.events-container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem 1.25rem;
  flex: 1;
}

/* Hero Section */
.hero-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.hero-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-header h1 {
  font-family: var(--font-main);
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 860px;
  line-height: 1.5;
}

.taste-profile-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.taste-pill {
  font-size: 0.8rem;
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.taste-pill i {
  color: var(--accent-blue);
}

/* Search & Filter Bar */
.filter-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  background: rgba(19, 26, 46, 0.7);
  border: 1px solid var(--border-color);
  padding: 1.25rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.search-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.search-input-wrapper {
  position: relative;
  flex: 1;
  min-width: 260px;
}

.search-input-wrapper i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.search-input {
  width: 100%;
  background: #0d1322;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.7rem 1rem 0.7rem 2.5rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}

.search-input:focus {
  border-color: var(--accent-blue);
}

.results-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

/* Category Filter Tabs */
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

.filter-btn.active {
  background: var(--accent-blue);
  color: white;
  border-color: var(--accent-blue);
  box-shadow: 0 4px 12px rgba(102, 153, 255, 0.25);
}

/* Zone / Location Filter */
.zone-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--border-color);
}

.zone-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 0.25rem;
}

.zone-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.zone-btn:hover {
  border-color: var(--accent-blue);
  color: var(--text-main);
}

.zone-btn.active {
  background: rgba(102, 153, 255, 0.15);
  border-color: var(--accent-blue);
  color: #93c5fd;
  font-weight: 600;
}

/* Events Grid */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.5rem;
}

/* Event Card */
.event-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
  border-color: rgba(102, 153, 255, 0.4);
}

/* Card Header Banner */
.card-media {
  position: relative;
  height: 180px;
  background: #0f172a;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.media-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(11, 15, 25, 0.9) 100%);
}

.card-tags {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.badge-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.badge-category.theatre { color: #c084fc; }
.badge-category.movie { color: #60a5fa; }
.badge-category.comedy { color: #fbbf24; }
.badge-category.music_70s_80s { color: #f472b6; }
.badge-category.festival { color: #34d399; }

.badge-status {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.badge-status.available {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.badge-status.selling_fast {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.badge-status.limited {
  background: rgba(244, 63, 94, 0.2);
  color: #fda4af;
  border: 1px solid rgba(244, 63, 94, 0.4);
}

.highlight-banner-tag {
  position: absolute;
  bottom: 10px;
  left: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  border-left: 3px solid var(--accent-blue);
  z-index: 2;
}

/* Card Body */
.card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.85rem;
}

.event-title {
  font-family: var(--font-main);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.event-performer {
  font-size: 0.88rem;
  color: var(--accent-blue);
  font-weight: 600;
}

/* Event Metadata Rows */
.event-meta-grid {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.meta-item i {
  width: 16px;
  text-align: center;
  color: #94a3b8;
  font-size: 0.85rem;
}

.meta-item strong {
  color: var(--text-main);
}

/* Drive & Parking Pill */
.travel-badge {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.8rem;
}

.travel-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #cbd5e1;
}

.travel-row i {
  color: #38bdf8;
  width: 14px;
}

/* WHY GO BLURB (Special Tailored Feature) */
.why-go-container {
  background: linear-gradient(135deg, rgba(102, 153, 255, 0.08) 0%, rgba(139, 92, 246, 0.05) 100%);
  border: 1px solid rgba(102, 153, 255, 0.25);
  border-left: 4px solid var(--accent-blue);
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.why-go-header {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #93c5fd;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.why-go-header i {
  color: #fbbf24;
}

.why-go-text {
  font-size: 0.85rem;
  line-height: 1.45;
  color: #f1f5f9;
  font-style: italic;
}

.event-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Card Footer */
.card-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border-color);
  background: rgba(15, 23, 42, 0.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.ticket-price {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.price-value {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
}

.btn-ticket {
  background: var(--accent-blue);
  color: white;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-ticket:hover {
  background: var(--accent-blue-dark);
  box-shadow: 0 4px 12px rgba(102, 153, 255, 0.35);
}

/* Empty State */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 1.5rem;
  background: var(--card-bg);
  border: 1px dashed var(--border-color);
  border-radius: 12px;
}

.empty-state i {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.empty-state h3 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 500px;
  margin: 0 auto 1.5rem auto;
}

.btn-reset {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
}

.btn-reset:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Footer */
.bottombarCls {
  text-align: center;
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
  background: #080b12;
  margin-top: auto;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-header h1 {
    font-size: 1.6rem;
  }
  
  .events-grid {
    grid-template-columns: 1fr;
  }

  .filter-section {
    padding: 1rem;
  }

  .search-row {
    flex-direction: column;
    align-items: stretch;
  }

  .search-input-wrapper {
    min-width: 100%;
  }

  .category-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
  }

  .filter-btn {
    white-space: nowrap;
  }

  .zone-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
  }

  .zone-btn {
    white-space: nowrap;
  }
}
