/* Upcoming Events Section Styles */
.upcoming-events {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: white;
  overflow: hidden;
  position: relative;
}

.events-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

/* Event Lines */
.event-line {
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #ffd700 50%, transparent 100%);
  position: relative;
  z-index: 1;
}

.entry-line {
  margin-right: 20px;
  animation: pulseGlow 2s ease-in-out infinite;
}

.exit-line {
  margin-left: 20px;
  animation: pulseGlow 2s ease-in-out infinite 1s;
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 5px #ffd700;
    opacity: 0.7;
  }
  50% {
    box-shadow: 0 0 20px #ffd700, 0 0 30px #ffd700;
    opacity: 1;
  }
}

/* Events Slider */
.events-slider-wrapper {
  flex: 1;
  max-width: calc(100vw - 280px);
  overflow: hidden;
  position: relative;
}

.events-slider {
  display: flex;
  animation: slideEvents 20s linear infinite;
  gap: 30px;
}

@keyframes slideEvents {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Event Cards */
.event-card {
  min-width: 320px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 215, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.event-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3);
  border-color: #ffd700;
}

.event-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 15px;
  height: 180px;
}

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

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

.event-content h4 {
  color: #ffd700;
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 600;
}

.event-date {
  color: #ff6b6b;
  font-weight: 500;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.event-description {
  color: #cccccc;
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 15px;
}

.book-btn {
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  border: none;
  color: #1a1a1a;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
  width: 100%;
}

.book-btn:hover {
  background: linear-gradient(45deg, #ffed4e, #ffd700);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  .events-container {
    flex-direction: column;
    gap: 20px;
  }

  .event-line {
    width: 80px;
    height: 2px;
  }

  .entry-line,
  .exit-line {
    margin: 0;
    transform: rotate(90deg);
  }

  .events-slider-wrapper {
    max-width: 100%;
    order: 2;
  }

  .event-card {
    min-width: 280px;
  }

  .events-slider {
    animation-duration: 25s;
  }
}

@media (max-width: 480px) {
  .event-card {
    min-width: 250px;
    padding: 15px;
  }

  .event-image-container {
    height: 150px;
  }

  .events-slider {
    gap: 20px;
    animation-duration: 30s;
  }
}

/* Pause animation on hover */
.events-slider:hover {
  animation-play-state: paused;
}
