/* Upcoming Events page */
.hero {
  background: var(--ink);
  color: #fff;
  padding: 50px 0 70px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(700px 350px at 80% 50%, rgba(255,90,31,.15), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 50px; align-items: center;
  position: relative;
}
.hero-title {
  font-size: clamp(36px, 4.4vw, 58px);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -1px;
}
.hero-title .accent { color: var(--orange); }
.hero-sub { margin-top: 22px; color: #C8C8C8; font-size: 15px; line-height: 1.7; max-width: 520px; }
.hero-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-image {
  position: relative;
  border-radius: 18px; overflow: hidden;
  aspect-ratio: 5/4;
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.5) 100%);
}

/* Filters */
.filters { padding: 36px 0 0; }
.filters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 18px; align-items: end;
}
.filter-field { display: grid; gap: 6px; }
.filter-field label { font-size: 13px; color: #444; font-weight: 500; }
.filter-field select, .filter-field input {
  border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; font-size: 14px; font-family: inherit;
  color: var(--text); background: #fff;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  transition: border-color .15s, box-shadow .15s;
}
.filter-field input { background-image: none; }
.filter-field select:focus, .filter-field input:focus {
  outline: none; border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,90,31,.15);
}

/* Events grid */
.events { padding: 40px 0 70px; }
.events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.event-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.event-card:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(0,0,0,.08); }
.event-banner {
  position: relative;
  aspect-ratio: 4/3;
  color: #fff;
  padding: 26px 20px;
  display: flex; align-items: flex-start;
  overflow: hidden;
}
.event-banner h4 {
  font-size: 22px; font-weight: 800;
  line-height: 1.1; letter-spacing: -.3px;
  text-transform: uppercase;
  z-index: 1;
}
.event-banner h4 small {
  display: block; font-size: 13px; font-weight: 500;
  letter-spacing: 1px; margin-top: 8px; opacity: .85;
}
.event-banner::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.45) 100%);
}
.banner-blue   { background: linear-gradient(135deg, #1E3A8A 0%, #0B1F60 100%); }
.banner-purple { background: linear-gradient(135deg, #4C1D95 0%, #1B0843 100%); }
.banner-violet { background: linear-gradient(135deg, #3B0764 0%, #1F0B3D 100%); }
.banner-orange { background: linear-gradient(135deg, #8B2A0A 0%, #3F1305 100%); }
.banner-night  { background: linear-gradient(135deg, #1E1B4B 0%, #050316 100%); }
.banner-pink   { background: linear-gradient(135deg, #581C87 0%, #1A0B33 100%); }
.banner-coal   { background: linear-gradient(135deg, #111827 0%, #030712 100%); }
.banner-indigo { background: linear-gradient(135deg, #1E40AF 0%, #0C1A4A 100%); }

.badge {
  position: absolute; top: 14px; right: 14px;
  background: #fff; color: var(--text);
  font-size: 11px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px;
  z-index: 2;
}
.event-body { padding: 18px 18px 20px; }
.event-date {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--orange); font-size: 12px; font-weight: 700;
  margin-bottom: 10px;
}
.event-title { font-size: 16px; font-weight: 700; line-height: 1.3; margin-bottom: 14px; }
.event-meta { display: grid; gap: 6px; margin-bottom: 16px; }
.event-meta span {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted);
}
.event-meta svg { color: var(--orange); flex-shrink: 0; }
.event-cta {
  width: 100%;
  background: #fff; color: var(--orange);
  border: 1px solid var(--orange); border-radius: 10px;
  padding: 11px;
  font-size: 13px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .2s, color .2s;
}
.event-cta:hover { background: var(--orange); color: #fff; }
.center-row { display: flex; justify-content: center; margin-top: 36px; }

/* Categories */
.categories { padding: 60px 0 90px; }
.categories-head { text-align: center; margin-bottom: 32px; }
.categories-head h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800; display: inline-block;
  position: relative; padding-bottom: 12px;
}
.categories-head h2::after {
  content: ''; position: absolute;
  left: 50%; bottom: 0; transform: translateX(-50%);
  width: 50px; height: 3px;
  background: var(--orange); border-radius: 2px;
}
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat-card {
  background: var(--peach); border-radius: 14px;
  padding: 26px 14px; text-align: center;
  transition: transform .2s, background .2s;
  cursor: pointer;
}
.cat-card:hover { background: #FFE2D2; transform: translateY(-3px); }
.cat-icon {
  width: 52px; height: 52px;
  border-radius: 50%; background: var(--orange); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.cat-card p { font-size: 13px; font-weight: 700; color: var(--text); }

/* Submit Event section */
.submit { background: var(--ink); color: #fff; padding: 70px 0; }
.submit-grid {
  display: grid; grid-template-columns: 1.5fr 1fr;
  gap: 36px;
}
.submit-head { margin-bottom: 28px; }
.submit-head .eyebrow {
  color: var(--orange); font-weight: 700;
  letter-spacing: 2.5px; font-size: 12px;
  display: block; margin-bottom: 10px;
}
.submit-head h2 { font-size: 32px; font-weight: 800; }
.submit-head::after {
  content: ''; display: block;
  width: 56px; height: 3px; background: var(--orange);
  margin-top: 14px; border-radius: 2px;
}
.submit-form { display: grid; gap: 16px; }
.s-field { display: grid; gap: 6px; }
.s-field label { font-size: 13px; color: #DCDCDC; font-weight: 500; }
.s-field label em { color: var(--orange); font-style: normal; }
.s-field input, .s-field select, .s-field textarea {
  border: 1px solid #2A2A2A; border-radius: 10px;
  padding: 12px 14px; font-size: 14px; font-family: inherit;
  color: #fff; background: #141414;
  transition: border-color .15s;
}
.s-field textarea { resize: vertical; min-height: 110px; }
.s-field input::placeholder, .s-field textarea::placeholder { color: #6B6B6B; }
.s-field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.s-field input:focus, .s-field select:focus, .s-field textarea:focus {
  outline: none; border-color: var(--orange);
}
.form-success {
  display: none;
  background: rgba(34,197,94,.15); color: #6EE7A8;
  padding: 12px 14px; border-radius: 8px;
  font-size: 14px;
}
.form-success.show { display: block; }

.why-card {
  background: #141414;
  border: 1px solid #2A2A2A;
  border-radius: 16px; padding: 26px;
}
.why-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 22px; color: #fff; }
.why-list { list-style: none; display: grid; gap: 14px; margin-bottom: 22px; }
.why-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: #D5D5D5;
}
.why-image { border-radius: 12px; overflow: hidden; }
.why-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

@media (max-width: 1100px) {
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-image { max-width: 540px; margin: 0 auto; }
  .filters-grid { grid-template-columns: repeat(2, 1fr); }
  .submit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .events-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .submit, .events, .categories { padding: 50px 0; }
}
