﻿/* Event highlight styles */
.event-highlights {
  margin-bottom: 3rem;
}

.event-highlight-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 220px;
  display: flex;
  align-items: flex-end;
  transition: all 0.3s ease;
  box-shadow: 0 15px 35px -15px rgba(0, 0, 0, 0.2);
  background: var(--si-secondary);
  border: 1px solid rgba(60, 99, 218, 0.1);
}

.event-highlight-card.card-1 {
  background: var(--si-secondary);
}

.event-highlight-card.card-2 {
  background: var(--si-secondary);
}

/* Pattern overlay */
.event-highlight-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%233c63da' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='1.5'/%3E%3Ccircle cx='13' cy='13' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 1;
  pointer-events: none;
}

.event-highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(60, 99, 218, 0.1) 0%, transparent 20%),
    radial-gradient(circle at 80% 70%, rgba(60, 99, 218, 0.08) 0%, transparent 20%);
  z-index: 1;
  opacity: 0.8;
  transition: all 0.3s ease;
}

/* Decorative shapes */
.event-highlight-card::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(60, 99, 218, 0.05);
  top: -75px;
  right: -75px;
  z-index: 1;
  transition: all 0.5s ease;
}

.event-highlight-card.card-1 .shape-1 {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(60, 99, 218, 0.1);
  bottom: 20px;
  left: 20px;
  transform: rotate(25deg);
  z-index: 1;
}

.event-highlight-card.card-2 .shape-1 {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(60, 99, 218, 0.1);
  top: 30px;
  left: 30px;
  z-index: 1;
}

.event-highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
}

.event-highlight-card:hover::after {
  transform: scale(1.2);
}

.event-highlight-content {
  position: relative;
  z-index: 2;
  padding: 1.75rem;
  width: 100%;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.event-highlight-badge {
  display: inline-block;
  background-color: var(--si-primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px -5px rgba(60, 99, 218, 0.5);
}

.event-highlight-title {
  color: #33354d;
  margin-bottom: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.event-highlight-card:hover .event-highlight-title {
  transform: scale(1.02);
  color: var(--si-primary);
}

.event-highlight-date {
  color: #9397ad;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.event-highlight-card:hover .event-highlight-date {
  color: #33354d;
}

.event-highlight-date i {
  margin-right: 0.5rem;
  color: var(--si-primary);
}

.event-highlight-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--si-primary);
  font-size: 2rem;
  opacity: 0.5;
  transition: all 0.3s ease;
  z-index: 2;
}

.event-highlight-card:hover .event-highlight-icon {
  opacity: 0.8;
  transform: scale(1.1);
}

/* Dark mode adjustments */
.dark-mode .event-highlight-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-mode .event-highlight-title {
  color: #fff;
}

.dark-mode .event-highlight-date {
  color: rgba(255, 255, 255, 0.7);
}

.dark-mode .event-highlight-card:hover .event-highlight-date {
  color: #fff;
}

.dark-mode .event-highlight-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='1.5'/%3E%3Ccircle cx='13' cy='13' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
}

.dark-mode .event-highlight-card::before {
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 20%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 20%);
}

.dark-mode .event-highlight-card::after,
.dark-mode .event-highlight-card .shape-1 {
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 767px) {
  .event-highlight-card {
    height: 180px;
    margin-bottom: 1.5rem;
  }
} 