/* Events Page Specific Styles */

/* Hero Section */
.events_hero {
  background: linear-gradient(135deg, #022762 0%, #1a4a8a 100%);
  padding: 80px 50px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 340px;
}

.events_hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.events_hero_content {
  flex: 1;
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.events_hero_h2 {
  font-family: var(--text-font);
  font-weight: 700;
  font-size: 48px;
  line-height: 110%;
  letter-spacing: -2%;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.events_hero_p {
  font-family: var(--text-font);
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
}

.events_search {
  margin-top: 30px;
}

.search_container {
  position: relative;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 5px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.search_container:focus-within {
  background: rgba(255, 255, 255, 0.15);
  border-color: #00E6FB;
  box-shadow: 0 0 20px rgba(0, 230, 251, 0.3);
}

.search_icon {
  color: rgba(255, 255, 255, 0.6);
  margin-left: 20px;
  font-size: 16px;
}

.search_input {
  flex: 1;
  background: none;
  border: none;
  padding: 15px 20px;
  color: #FFFFFF;
  font-family: var(--text-font);
  font-size: 16px;
  outline: none;
}

.search_input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.search_btn {
  background: linear-gradient(135deg, #00E6FB 0%, #00D4E6 100%);
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #022762;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 5px;
}

.search_btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 230, 251, 0.4);
}

.events_hero_stats {
  display: flex;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.events_hero_stats .stat_item {
  text-align: center;
  color: #FFFFFF;
}

.events_hero_stats .stat_number {
  display: block;
  font-family: var(--text-font);
  font-weight: 700;
  font-size: 36px;
  color: #00E6FB;
  text-shadow: 0 2px 4px rgba(0, 230, 251, 0.3);
}

.events_hero_stats .stat_label {
  font-family: var(--text-font);
  font-weight: 500;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
}

/* Category Tabs */
.category_section {
  background: #FFFFFF;
  padding: 40px 50px;
  border-bottom: 1px solid #e8e8e8;
}

.category_container {
  max-width: 1200px;
  margin: 0 auto;
}

.category_tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.category_tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 24px;
  background: #f8f9fa;
  border: 2px solid transparent;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
  font-family: var(--text-font);
  font-weight: 600;
  font-size: 14px;
  color: #666;
  text-transform: uppercase;
}

.category_tab:hover {
  background: rgba(0, 230, 251, 0.1);
  border-color: rgba(0, 230, 251, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 230, 251, 0.2);
}

.category_tab.active {
  background: linear-gradient(135deg, #00E6FB 0%, #00D4E6 100%);
  color: #022762;
  border-color: #00E6FB;
  box-shadow: 0 6px 20px rgba(0, 230, 251, 0.3);
}

.category_tab i {
  font-size: 24px;
  transition: all 0.3s ease;
}

.category_tab:hover i,
.category_tab.active i {
  transform: scale(1.1);
}

/* Filters Section */
.filters_section {
  background: #f8f9fa;
  padding: 30px 50px;
  border-bottom: 1px solid #e8e8e8;
}

.filters_container {
  max-width: 1200px;
  margin: 0 auto;
}

.filters_row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.filter_group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter_label {
  font-family: var(--text-font);
  font-weight: 600;
  font-size: 14px;
  color: #022762;
  text-transform: uppercase;
}

.filter_select {
  padding: 12px 16px;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  background: #FFFFFF;
  font-family: var(--text-font);
  font-size: 14px;
  color: #022762;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter_select:focus {
  outline: none;
  border-color: #00E6FB;
  box-shadow: 0 0 0 3px rgba(0, 230, 251, 0.1);
}

.filters_actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.clear_filters_btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: none;
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  color: #666;
  font-family: var(--text-font);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.clear_filters_btn:hover {
  border-color: #00E6FB;
  color: #00E6FB;
  background: rgba(0, 230, 251, 0.05);
}

.active_filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.active_filter_tag {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #00E6FB;
  color: #022762;
  border-radius: 20px;
  font-family: var(--text-font);
  font-size: 12px;
  font-weight: 600;
}

.active_filter_tag button {
  background: none;
  border: none;
  color: #022762;
  cursor: pointer;
  font-size: 14px;
  padding: 0;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.active_filter_tag button:hover {
  background: rgba(2, 39, 98, 0.1);
}

/* Events Section */
.events_section {
  padding: 60px 50px;
  background: #FFFFFF;
}

.events_container {
  max-width: 1200px;
  margin: 0 auto;
}

.events_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.events_count {
  font-family: var(--text-font);
  font-weight: 600;
  font-size: 18px;
  color: #022762;
}

.events_count span {
  color: #00E6FB;
  font-weight: 700;
}

.events_sort {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort_label {
  font-family: var(--text-font);
  font-weight: 600;
  font-size: 14px;
  color: #666;
  text-transform: uppercase;
}

.sort_select {
  padding: 8px 12px;
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  background: #FFFFFF;
  font-family: var(--text-font);
  font-size: 14px;
  color: #022762;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sort_select:focus {
  outline: none;
  border-color: #00E6FB;
}

/* Events Grid */
.events_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.event_card {
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}

.event_card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 230, 251, 0.2);
  border-color: rgba(0, 230, 251, 0.3);
}

.event_image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

.event_card:hover .event_image img {
  transform: scale(1.1);
}

.event_badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #00E6FB 0%, #00D4E6 100%);
  color: #022762;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0, 230, 251, 0.3);
}

.event_organizer {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 12px;
}

.organizer_logo {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #00E6FB;
}

.organizer_name {
  font-family: var(--text-font);
  font-weight: 500;
  font-size: 11px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.event_content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.event_title {
  font-family: var(--text-font);
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  color: #022762;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.event_meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.event_meta_item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--text-font);
  font-size: 14px;
  color: #666;
}

.event_meta_item i {
  color: #00E6FB;
  width: 16px;
  text-align: center;
}

.event_description {
  font-family: var(--text-font);
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event_actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #e8e8e8;
  margin-top: auto;
}

.event_status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--text-font);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.status_open {
  color: #28a745;
}

.status_closed {
  color: #dc3545;
}

.status_full {
  color: #ffc107;
}

.event_btn {
  padding: 10px 20px;
  border-radius: 20px;
  font-family: var(--text-font);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
}

.event_btn.primary {
  background: linear-gradient(135deg, #022762 0%, #1a4a8a 100%);
  color: #FFFFFF;
}

.event_btn.secondary {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: #022762;
}

.event_btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Loading State */
.loading_state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 60px 0;
}

.loading_spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e8e8e8;
  border-top: 4px solid #00E6FB;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading_state p {
  font-family: var(--text-font);
  font-size: 16px;
  color: #666;
}

/* No Results State */
.no_results {
  text-align: center;
  padding: 80px 0;
}

.no_results i {
  font-size: 64px;
  color: #e8e8e8;
  margin-bottom: 20px;
}

.no_results h3 {
  font-family: var(--text-font);
  font-weight: 700;
  font-size: 24px;
  color: #022762;
  margin-bottom: 10px;
}

.no_results p {
  font-family: var(--text-font);
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
}

.reset_search_btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #00E6FB 0%, #00D4E6 100%);
  color: #022762;
  border: none;
  border-radius: 25px;
  font-family: var(--text-font);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.reset_search_btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 230, 251, 0.3);
}

/* Load More Button */
.load_more_container {
  text-align: center;
  padding: 40px 0;
}

.load_more_btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  background: linear-gradient(135deg, #022762 0%, #1a4a8a 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 25px;
  font-family: var(--text-font);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.load_more_btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(2, 39, 98, 0.3);
}

/* Featured Section */
.featured_section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 50px;
}

.featured_container {
  max-width: 1200px;
  margin: 0 auto;
}

.featured_h3 {
  font-family: var(--text-font);
  font-weight: 700;
  font-size: 36px;
  line-height: 110%;
  letter-spacing: -2%;
  text-transform: uppercase;
  color: #022762;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.featured_h3::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #00E6FB 0%, #00D4E6 100%);
  border-radius: 2px;
}

.featured_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* Event Modal */
.event_modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
}

.event_modal.active {
  display: block;
}

.modal_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal_content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #FFFFFF;
  border-radius: 24px;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal_close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.1);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1;
}

.modal_close:hover {
  background: rgba(0, 0, 0, 0.2);
  color: #022762;
}

.modal_body {
  padding: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .events_hero {
    flex-direction: column;
    text-align: center;
    gap: 40px;
    padding: 60px 30px;
  }

  .events_hero_h2 {
    font-size: 36px;
  }

  .events_hero_stats {
    justify-content: center;
  }

  .category_tabs {
    gap: 15px;
  }

  .category_tab {
    min-width: 100px;
    padding: 15px 20px;
  }

  .filters_row {
    grid-template-columns: repeat(2, 1fr);
  }

  .events_grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .events_hero {
    padding: 40px 20px;
  }

  .events_hero_h2 {
    font-size: 28px;
  }

  .events_hero_p {
    font-size: 16px;
  }

  .search_container {
    max-width: 100%;
  }

  .category_section {
    padding: 30px 20px;
  }

  .category_tabs {
    gap: 10px;
  }

  .category_tab {
    min-width: 80px;
    padding: 12px 16px;
    font-size: 12px;
  }

  .category_tab i {
    font-size: 20px;
  }

  .filters_section {
    padding: 20px;
  }

  .filters_row {
    grid-template-columns: 1fr;
  }

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

  .events_section {
    padding: 40px 20px;
  }

  .events_header {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

  .events_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .event_card {
    min-width: 0;
  }

  .event_image {
    height: 150px;
  }

  .event_content {
    padding: 16px;
  }

  .event_title {
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 8px;
  }

  .event_meta {
    gap: 6px;
    margin-bottom: 12px;
  }

  .event_meta_item {
    font-size: 11px;
    gap: 6px;
  }

  .event_meta_item i {
    font-size: 12px;
  }

  .event_description {
    font-size: 11px;
    line-height: 1.4;
    margin-bottom: 12px;
    -webkit-line-clamp: 2;
  }

  .event_actions {
    padding-top: 12px;
    gap: 8px;
  }

  .event_status {
    font-size: 10px;
    gap: 4px;
  }

  .event_btn {
    padding: 8px 12px;
    font-size: 11px;
    border-radius: 15px;
  }

  .featured_section {
    padding: 60px 20px;
  }

  .featured_h3 {
    font-size: 28px;
  }

  .modal_content {
    width: 95%;
    max-height: 95vh;
  }

  .modal_body {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .events_hero_h2 {
    font-size: 24px;
  }
  .events_hero_stats{
    display: none;
  }
  .events_hero_content{
    height: 340px;
  }
  .events_hero{
    padding: 40px 20px 0 20px;
  }
  .category_tab {
    min-width: 70px;
    padding: 10px 12px;
    font-size: 11px;
  }

  .category_tab i {
    font-size: 18px;
  }

  .events_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .event_card {
    margin: 0;
  }

  .event_image {
    height: 120px;
  }

  .event_content {
    padding: 12px;
  }

  .event_title {
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 6px;
  }

  .event_meta {
    gap: 4px;
    margin-bottom: 8px;
  }

  .event_meta_item {
    font-size: 10px;
    gap: 4px;
  }

  .event_meta_item i {
    font-size: 10px;
  }

  .event_description {
    font-size: 10px;
    line-height: 1.3;
    margin-bottom: 8px;
    -webkit-line-clamp: 2;
  }

  .event_actions {
    padding-top: 8px;
    gap: 6px;
  }

  .event_status {
    font-size: 9px;
    gap: 3px;
  }

  .event_btn {
    padding: 6px 8px;
    font-size: 9px;
    border-radius: 12px;
  }

  .event_badge {
    padding: 4px 8px;
    font-size: 10px;
    top: 8px;
    right: 8px;
  }

  .event_organizer {
    gap: 4px;
    margin-right: 8px;
  }

  .organizer_logo {
    width: 16px;
    height: 16px;
  }

  .organizer_name {
    font-size: 9px;
  }
}

@media (max-width: 768px) {
  .event_organizer {
    gap: 5px;
    margin-right: 10px;
  }

  .organizer_logo {
    width: 18px;
    height: 18px;
  }

  .organizer_name {
    font-size: 10px;
  }
} 