/* 
   Filtered Events Styles
   Extends the main styles.css with specific styles for filtered events page
*/

/* ===== Custom Hero Section ===== */
.custom-hero {
    position: relative;
    height: 40vh;
    overflow: hidden;
    margin-bottom: 2rem;
  }
  
  .hero-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
  }
  
  .hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    padding: 2rem;
  }
  
  /* ===== Filter Buttons ===== */
  .filter-buttons-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
  }
  
  .custom-filter-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50px;
    padding: 0.7rem 1.5rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
  }
  
  .custom-filter-btn:hover, .custom-filter-btn.active {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
  }
  
  .custom-filter-btn i {
    margin-right: 0.5rem;
  }
  
  /* ===== Calendar Section ===== */
  .custom-calendar {
    margin-top: 2rem;
    position: relative;
    z-index: 10;
  }
  
  .custom-calendar h2 {
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 2rem;
  }
  
  .custom-calendar h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  }
  
  /* ===== Category Filter Dropdown ===== */
  .form-select {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.7rem 2rem 0.7rem 1rem;
    backdrop-filter: blur(10px);
    max-width: 250px;
    margin: 0 auto;
  }
  
  .form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
  }
  
  .form-select option {
    background-color: var(--dark-color);
    color: white;
  }
  
  /* ===== No Results Message ===== */
  .alert-info {
    background-color: rgba(23, 162, 184, 0.1);
    border-color: var(--info-color);
    color: var(--info-color);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  }
  
  /* ===== Event Count Badge ===== */
  .event-count-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50px;
    padding: 0.3rem 1rem;
    font-size: 0.9rem;
    margin-bottom: 0;
  }
  
  /* Override for event cards in filtered view */
  .filtered-event-card .event-image {
    height: 180px;
  }
  
  /* ===== Animation for filtered results ===== */
  .filtered-animation {
    animation: slideIn 0.5s ease-out;
  }
  
  @keyframes slideIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* ===== Filter information bar ===== */
  .filter-info-bar {
    background-color: rgba(78, 84, 200, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 1rem;
    border-radius: 0 10px 10px 0;
    margin-bottom: 2rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .filter-info-text {
    font-weight: 500;
    color: var(--dark-color);
    margin: 0;
  }
  
  .filter-reset-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    padding: 0.3rem 1rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
  }
  
  .filter-reset-btn:hover {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
  }
  
  /* ===== Responsive styles ===== */
  @media (max-width: 768px) {
    .custom-hero {
      height: 50vh;
    }
    
    .hero-overlay h1 {
      font-size: 1.8rem;
    }
    
    .custom-filter-btn {
      padding: 0.6rem 1.2rem;
      font-size: 0.9rem;
    }
    
    .form-select {
      width: 90%;
    }
    
    .filter-info-bar {
      flex-direction: column;
      text-align: center;
      gap: 1rem;
    }
  }
  
  @media (max-width: 576px) {
    .custom-hero {
      height: 40vh;
    }
    
    .hero-overlay h1 {
      font-size: 1.5rem;
    }
    
    .filter-buttons-container {
      gap: 0.5rem;
    }
    
    .custom-filter-btn {
      padding: 0.5rem 1rem;
      font-size: 0.8rem;
    }
  }