/* Image Popup Styles */
.image-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
  box-sizing: border-box;
}

.image-popup-content {
  background: linear-gradient(135deg, #fef7e0 0%, #ffffff 100%);
  border-radius: 15px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 2px solid #d4af37;
}

.image-popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: #8b0000;
  color: #d4af37;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.image-popup-close:hover {
  background: #a00000;
  transform: scale(1.1);
}

.image-popup-header {
  text-align: center;
  padding: 25px 20px 15px;
  border-bottom: 2px solid #d4af37;
  background: linear-gradient(135deg, #8b0000 0%, #a00000 100%);
  color: #d4af37;
  border-radius: 15px 15px 0 0;
}

.image-popup-header h2 {
  margin: 0 0 8px 0;
  font-size: 24px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.image-popup-header p {
  margin: 0;
  font-size: 16px;
  opacity: 0.9;
  font-style: italic;
}

.image-popup-body {
  padding: 20px;
}

.popup-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.event-details {
  background: linear-gradient(135deg, #fef7e0 0%, #f9f9f9 100%);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #d4af37;
}

.detail-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 16px;
  color: #8b0000;
}

.detail-item .icon {
  margin-right: 10px;
  font-size: 18px;
  width: 25px;
}

.description {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #d4af37;
}

.description p {
  margin: 0;
  line-height: 1.6;
  color: #333;
  font-size: 15px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .image-popup-overlay {
    padding: 10px;
  }
  
  .image-popup-content {
    max-height: 95vh;
  }
  
  .image-popup-header h2 {
    font-size: 20px;
  }
  
  .image-popup-header p {
    font-size: 14px;
  }
  
  .image-popup-body {
    padding: 15px;
  }
  
  .event-details {
    padding: 15px;
  }
  
  .detail-item {
    font-size: 14px;
  }
  
  .description p {
    font-size: 14px;
  }
}

/* Animation */
.image-popup-overlay {
  animation: fadeIn 0.3s ease-out;
}

.image-popup-content {
  animation: slideIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { 
    opacity: 0;
    transform: scale(0.8) translateY(-50px);
  }
  to { 
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
