/* Promotion Modal - Clean and Simple */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 700px;
  width: 95%;
  max-height: 95vh;
  overflow: hidden;
  transform: scale(0.9);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-header {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  min-height: 70px;
}

.modal-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: white;
  padding: 4px;
}

.modal-title h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.modal-title p {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.9;
}

.modal-actions {
  display: flex;
  gap: 0.3rem;
}

.action-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.action-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.close-btn:hover {
  background: #dc3545;
}

.modal-content {
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  max-height: calc(95vh - 70px);
  min-height: 500px;
}

.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: #f8f9fa;
  border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: #007bff;
  border-radius: 4px;
  border: 2px solid #f8f9fa;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: #0056b3;
}

.event-image {
  width: 100%;
  background: #f8f9fa;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 280px;
  padding: 15px;
}

.event-image img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background: white;
  padding: 5px;
}

.content-title {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 1.5rem;
  border-bottom: 1px solid #dee2e6;
  text-align: center;
}

.content-title h3 {
  margin: 0 0 0.5rem 0;
  color: #2c3e50;
  font-size: 1.4rem;
  font-weight: 600;
}

.content-title p {
  margin: 0;
  color: #6c757d;
  font-size: 0.9rem;
  line-height: 1.4;
}

.event-image img {
  width: 100%;
  height: auto;
  display: block;
  max-height: none;
  min-height: 200px;
  object-fit: contain;
  border-radius: 0;
  background: #f8f9fa;
  padding: 10px;
}

.event-details {
  padding: 1.5rem;
  text-align: center;
  min-height: 200px;
}

.event-details h4 {
  color: #2c3e50;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.event-details p {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.additional-content {
  background: #f8f9fa;
  padding: 1.2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  border-left: 4px solid #007bff;
  text-align: left;
}

.additional-content p {
  margin-bottom: 1rem;
  font-weight: 600;
  color: #495057;
  font-size: 1rem;
}

.additional-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.additional-content li {
  padding: 0.5rem 0;
  color: #495057;
  font-size: 0.9rem;
  line-height: 1.5;
  border-bottom: 1px solid #e9ecef;
}

.additional-content li:last-child {
  border-bottom: none;
}

.additional-content li:hover {
  color: #007bff;
  background: rgba(0, 123, 255, 0.05);
  padding-left: 0.5rem;
  border-radius: 4px;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  padding-bottom: 1rem;
}

.btn-primary, .btn-secondary {
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.btn-primary {
  background: #007bff;
  color: white;
}

.btn-primary:hover {
  background: #0056b3;
  transform: translateY(-1px);
}

.btn-secondary {
  background: #f8f9fa;
  color: #6c757d;
  border: 1px solid #dee2e6;
}

.btn-secondary:hover {
  background: #e9ecef;
}

.modal-container.maximized {
  max-width: 95%;
  max-height: 98vh;
  width: 95%;
}

.modal-container.maximized .event-image {
  min-height: 350px;
  padding: 20px;
}

.modal-container.maximized .event-image img {
  max-height: none;
}

.modal-container.maximized .modal-content {
  max-height: calc(98vh - 70px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .modal-container {
    width: 98%;
    max-height: 98vh;
  }
  
  .modal-content {
    max-height: calc(98vh - 60px);
    min-height: 400px;
  }
  
  .event-image {
    min-height: 200px;
    padding: 10px;
  }
  
  .event-image img {
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .modal-header {
    padding: 0.8rem;
    min-height: 60px;
  }
  
  .logo-img {
    width: 35px;
    height: 35px;
  }
  
  .modal-title h3 {
    font-size: 1rem;
  }
  
  .modal-title p {
    font-size: 0.75rem;
  }
  
  .content-title {
    padding: 1rem;
  }
  
  .content-title h3 {
    font-size: 1.2rem;
  }
  
  .event-details {
    padding: 1rem;
    min-height: 150px;
  }
  
  .event-details h4 {
    font-size: 1.2rem;
  }
  
  .additional-content {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .additional-content li {
    font-size: 0.85rem;
    padding: 0.4rem 0;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    padding: 0.8rem 1rem;
  }
}