/* ===== EVENTS PAGE SPECIFIC STYLES ===== */

/* PAGE HEADER */
.page-header {
  background: linear-gradient(135deg, #801612 0%, #b82c25 100%);
  color: var(--white);
  text-align: center;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header h1 {
  font-family: 'Merriweather', serif;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  position: relative;
  z-index: 1;
}

.breadcrumb a {
  color: rgba(255,255,255,0.9);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span {
  margin: 0 8px;
}

/* INTRO SECTION */
.events-intro {
  padding: 40px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.events-intro .intro-text {
  font-size: 15px;
  line-height: 1.9;
  color: #555;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* SECTION TITLES */
.section-title {
  font-family: 'Merriweather', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.title-underline {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 32px;
}

/* FEATURED EVENTS */
.featured-events {
  padding: 64px 0;
  background: var(--white);
}

.events-grid-featured {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.event-card-featured {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.event-card-featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.event-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.event-card-featured:hover .event-image img {
  transform: scale(1.1);
}

.upcoming-image {
  background: linear-gradient(135deg, #801612 0%, #b82c25 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.upcoming-image i {
  font-size: 60px;
  color: rgba(255,255,255,0.3);
}

.event-content {
  padding: 20px;
}

.event-category {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 5px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.event-category.academic {
  background: #e3f2fd;
  color: #0d47a1;
}

.event-category.wellness {
  background: #e8f5e9;
  color: #1b5e20;
}

.event-category.community {
  background: #e0f2f1;
  color: #00695c;
}

.event-category.cultural {
  background: #fff3e0;
  color: #e65100;
}

.event-category.workshop {
  background: #f3e5f5;
  color: #4a148c;
}

.event-category.calendar {
  background: #fce4ec;
  color: #880e4f;
}

.event-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.4;
}

.event-content p {
  font-size: 13px;
  line-height: 1.7;
  color: #666;
  margin: 0;
}

/* EVENT CATEGORIES */
.event-categories {
  padding: 64px 0;
  background: var(--light-bg);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.category-card {
  background: var(--white);
  border-radius: 10px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  border-left: 4px solid transparent;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.category-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
  color: var(--white);
}

.academic-icon {
  background: linear-gradient(135deg, #0d47a1, #1976d2);
}

.cultural-icon {
  background: linear-gradient(135deg, #e65100, #ff6f00);
}

.sports-icon {
  background: linear-gradient(135deg, #f57c00, #ff9800);
}

.community-icon {
  background: linear-gradient(135deg, #00695c, #00897b);
}

.wellness-icon {
  background: linear-gradient(135deg, #1b5e20, #2e7d32);
}

.career-icon {
  background: linear-gradient(135deg, #4a148c, #6a1b9a);
}

.category-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.category-card p {
  font-size: 13px;
  line-height: 1.7;
  color: #666;
  margin: 0;
}

/* EVENT HIGHLIGHTS */
.event-highlights {
  padding: 64px 0;
  background: var(--white);
}

.highlights-list {
  list-style: none;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.highlights-list li {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  padding-left: 28px;
  position: relative;
}

.highlights-list li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 18px;
}

.highlights-list strong {
  color: var(--primary);
  font-weight: 700;
}

/* PARTICIPATE SECTION */
.participate-section {
  padding: 64px 0;
  background: var(--light-bg);
  text-align: center;
}

.participate-section p {
  font-size: 14px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 20px;
}

.participate-section a {
  color: var(--accent);
  font-weight: 700;
  transition: color 0.2s;
}

.participate-section a:hover {
  color: var(--accent-hover);
}

.link-orange {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  display: inline-block;
  margin-top: 16px;
  transition: color 0.2s;
}

.link-orange:hover {
  color: var(--accent-hover);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .page-header h1 {
    font-size: 32px;
  }
  
  .section-title {
    font-size: 26px;
  }
  
  .events-grid-featured,
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .highlights-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .page-header h1 {
    font-size: 26px;
  }
  
  .section-title {
    font-size: 22px;
  }
  
  .events-grid-featured,
  .categories-grid {
    grid-template-columns: 1fr;
  }
}