/* What's On Page Responsive Styles */

@media (max-width: 768px) {
  .whats-on-hero h1 {
    font-size: 2rem;
  }

  .whats-on-hero p {
    font-size: 1rem;
  }

  .whats-on-hero .hero-filter-buttons {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.5rem 1rem 0.5rem 0;
    position: relative;
    width: 100%;
    max-width: 100%;
    gap: 0.75rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    white-space: nowrap;
    margin-top: 1rem;
  }

  .hero-filter-buttons::-webkit-scrollbar {
    display: none;
  }

  .hero-filter-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    border-radius: 20px;
    font-weight: 500;
    letter-spacing: 0.3px;
    flex-shrink: 0;
    flex-grow: 0;
    white-space: nowrap;
    min-width: fit-content;
    display: inline-block;
  }

  .hero-filter-btn.active,
  .hero-filter-btn:hover {
    transform: translateY(-2px) scale(1.02);
  }

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

  .event-meta {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }

  .event-footer {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .register-btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .whats-on-hero {
    padding: 100px 0 30px;
  }

  .whats-on-hero h1 {
    font-size: 1.8rem;
  }

  .whats-on-hero p {
    font-size: 0.9rem;
  }

  .whats-on-hero .hero-filter-buttons {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 0.5rem;
    padding: 0.5rem 1rem 0.5rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    justify-content: flex-start;
    margin-top: 1rem;
  }

  .hero-filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    border-radius: 18px;
    font-weight: 500;
    letter-spacing: 0.2px;
    min-width: fit-content;
    flex-shrink: 0;
    flex-grow: 0;
    white-space: nowrap;
    display: inline-block;
  }

  .hero-filter-btn.active,
  .hero-filter-btn:hover {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
  }

  .event-content {
    padding: 1rem;
  }

  .event-title {
    font-size: 1.1rem;
  }

  .event-price {
    font-size: 1.1rem;
  }

  .event-details li {
    font-size: 0.85rem;
    padding: 0.3rem 0;
  }

  .whats-on-cta {
    padding: 40px 0;
  }

  .whats-on-cta h2 {
    font-size: 1.8rem;
  }

  .whats-on-cta p {
    font-size: 0.9rem;
  }

  .cta-button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  /* Modal mobile adjustments for what's on page */
  .modal-overlay {
    padding-top: 120px;
    padding-bottom: 120px;
    padding-left: 20px;
    padding-right: 20px;
    align-items: flex-start;
    box-sizing: border-box;
  }

  .modal-content {
    width: 100%;
    padding: 3rem 1.5rem 5rem 1.5rem;
    margin: 0;
    max-height: 600px;
    position: relative;
    box-sizing: border-box;
  }

  .modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2.5rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border: 2px solid white;
  }
}
