/* ================= EVENT LIST HERO ================= */
.discovery-hero {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

.discovery-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

.discovery-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 0 20px;
}

.discovery-hero-content h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

@media(min-width: 768px) {
  .discovery-hero-content h1 {
    font-size: 3rem;
  }
}

.discovery-hero-content p {
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.btn-create-event {
  display: inline-block;
  background-color: #10b981; /* Green CTA for organizers */
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background-color 0.2s;
}

.btn-create-event:hover {
  background-color: #059669;
}

.hero-trust-badge {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

/* ================= TRUSTED LOGOS ================= */
.trusted-by {
  padding: 40px 20px;
  background-color: white;
  text-align: center;
}

.trusted-by h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 24px;
}

.trusted-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  opacity: 0.8;
}

.trusted-logos img {
  height: 48px;
  border-radius: 4px;
}

/* ================= PRICING SECTION ================= */
.pricing-section {
  padding: 40px;
  background: linear-gradient(to right, #eff6ff, #f5f3ff);
  border-radius: 16px;
  margin: 40px 16px;
}

@media(min-width: 768px) {
  .pricing-section {
    margin: 40px;
  }
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media(min-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pricing-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.pricing-text p {
  color: var(--text-dark);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.pricing-badge-wrapper {
  display: flex;
  justify-content: center;
}

.pricing-badge {
  background-color: #1e1b4b; /* Dark indigo */
  color: white;
  padding: 40px;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
  width: 200px;
}

.pricing-badge .big-price {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
}

.pricing-badge .small-price {
  font-size: 1.25rem;
  margin-top: 8px;
}

.pricing-badge .price-desc {
  font-size: 0.85rem;
  margin-top: 12px;
  opacity: 0.8;
}

/* ================= ALL EVENTS SEARCH & GRID ================= */
.all-events-container {
  max-width: var(--container-max);
  margin: 40px auto;
  padding: 0 20px;
}

.events-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

@media(min-width: 600px) {
  .events-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.events-header h1 {
  font-size: 2rem;
  font-weight: 700;
}

.search-form {
  display: flex;
}

.search-form input {
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius) 0 0 var(--radius);
  outline: none;
  font-family: inherit;
  font-size: 0.95rem;
}

.search-form button {
  background-color: var(--primary);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.search-form button:hover {
  background-color: var(--primary-hover);
}

/* ================= EVENT CARDS (Shared logic with Home if needed, but customized here) ================= */
.upcoming-events {
  padding: 48px 20px;
}

.upcoming-events h2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media(min-width: 600px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media(min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.event-list-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease, transform 0.3s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.event-list-card:hover {
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.event-list-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.event-list-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.event-list-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.event-list-meta {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.event-list-desc {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-view-event {
  margin-top: auto;
  text-align: center;
  background-color: var(--primary);
  color: white;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
}
.btn-view-event:hover {
  background-color: var(--primary-hover);
}

.no-events {
  text-align: center;
  padding: 40px;
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
