/* Events Page - Enterprise Level Styling */

/* Main Content Area */
main {
  padding-top: 120px;
  min-height: calc(100vh - 75px - 400px);
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Page Header */
.container h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 8px;
  text-align: center;
  background: linear-gradient(135deg, #6C4AB6, #8D72E1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.container h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #6C4AB6, #8D72E1);
  border-radius: 2px;
}

.container > p {
  text-align: center;
  font-size: 1.1rem;
  color: #718096;
  margin-bottom: 40px;
  font-weight: 400;
}

/* Grid Layout */
.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  margin-top: 40px;
}

/* Event Cards */
.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(108, 74, 182, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #6C4AB6, #8D72E1);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(108, 74, 182, 0.15);
  border-color: rgba(108, 74, 182, 0.2);
}

.card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 16px;
  line-height: 1.3;
  position: relative;
  padding-left: 16px;
}

.card h3::before {
  content: '📅';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2rem;
}

.card p {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.card p strong {
  color: #2d3748;
  font-weight: 600;
}

/* Timeline Section */
.card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #6C4AB6;
  margin: 20px 0 12px 0;
  padding-left: 16px;
  position: relative;
}

.card h4::before {
  content: '⏰';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1rem;
}

.card ul {
  margin: 0;
  padding-left: 20px;
  list-style: none;
}

.card ul li {
  position: relative;
  padding: 8px 0 8px 20px;
  color: #4a5568;
  font-size: 0.9rem;
  line-height: 1.5;
  border-left: 2px solid rgba(108, 74, 182, 0.2);
  margin-bottom: 4px;
}

.card ul li::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 12px;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #6C4AB6, #8D72E1);
  border-radius: 50%;
  border: 2px solid #ffffff;
}

.card ul li strong {
  color: #6C4AB6;
  font-weight: 600;
  display: inline-block;
  min-width: 80px;
}

/* Empty State */
.grid p:only-child {
  text-align: center;
  color: #718096;
  font-size: 1.1rem;
  padding: 40px 20px;
  background: #ffffff;
  border-radius: 12px;
  border: 2px dashed rgba(108, 74, 182, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  main {
    padding-top: 100px;
  }
  
  .container h2 {
    font-size: 2rem;
  }
  
  .grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .card {
    padding: 24px;
  }
  
  .card h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .container h2 {
    font-size: 1.8rem;
  }
  
  .card {
    padding: 20px;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: fadeInUp 0.6s ease-out;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; } 