/* Promotional Modal Styles */

.promotional-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999999 !important;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.promotional-modal.show {
  display: flex !important;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  z-index: 1 !important;
}

.modal-content {
  position: relative;
  z-index: 2 !important;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 900px;
  width: 100%;
  max-height: none !important;
  height: auto !important;
  overflow-y: visible !important;
  animation: slideInUp 0.4s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 32px;
  font-weight: 300;
  color: #666;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #333;
}

.modal-header {
  background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
  color: white;
  padding: 20px 24px;
  text-align: center;
  border-radius: 16px 16px 0 0;
}

.modal-header h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.modal-body {
  padding: 20px;
}

.modal-highlight {
  background: #f8f9fa;
  border-left: 4px solid #dc3545;
  padding: 14px;
  border-radius: 8px;
  margin-bottom: 14px;
}

.modal-highlight h3 {
  margin: 0 0 4px 0;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
}

.modal-highlight .subtitle {
  margin: 0;
  color: #666;
  font-size: 14px;
  font-style: italic;
}

.modal-details {
  color: #333;
}

.intro-text {
  font-size: 15px;
  margin-bottom: 12px;
  color: #555;
  line-height: 1.5;
  font-weight: 500;
}

.event-dates {
  background: #fff3cd;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 12px;
  text-align: center;
}

.event-dates p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #856404;
}

.program-sections {
  margin-bottom: 14px;
}

.program-sections .section {
  padding: 10px;
  margin-bottom: 6px;
  background: #f0f0f0;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.4;
}

.program-sections .section i {
  color: #dc3545;
  margin-right: 8px;
}

.program-sections .section:last-child {
  margin-bottom: 0;
}

.highlights {
  margin-bottom: 14px;
}

.highlights h4 {
  margin: 0 0 10px 0;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a2e;
}

.highlights ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.highlights li {
  padding: 6px;
  background: #f9f9f9;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.3;
  color: #555;
}

.cta-text {
  background: #e8f4f8;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 12px;
  color: #0c5460;
  font-size: 14px;
}

.contact-info {
  background: #f5f5f5;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact-info p {
  margin: 2px 0;
  font-size: 14px;
  color: #666;
  width: 100%;
}

.contact-info p:first-child {
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 6px;
}

.contact-info p:first-child i {
  margin-right: 6px;
}

.contact-info .phone {
  font-size: 16px;
  font-weight: 700;
  color: #dc3545;
  margin-bottom: 0px;
}

.contact-info .note {
  font-size: 12px;
  color: #999;
  font-style: italic;
  margin-top: 2px;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 700;
  color: #25d366;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
  background: #f0fff4;
  margin: 4px 0;
}

.whatsapp-link:hover {
  background: #e6ffe8;
  color: #128c7e;
  transform: translateY(-2px);
}

.whatsapp-link i {
  font-size: 18px;
}

.modal-header h2 i,
.event-dates i,
.highlights h4 i,
.highlights li i,
.cta-text i,
.contact-info i {
  margin-right: 8px;
  color: #dc3545;
}

.modal-footer {
  padding: 16px 32px 32px;
  text-align: center;
  border-top: 1px solid #eee;
}

.modal-btn-close {
  background: #6c757d;
  color: white;
  border: none;
  padding: 10px 30px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-btn-close:hover {
  background: #5a6268;
  transform: translateY(-2px);
}

/* Scrollbar styling for modal content */
.modal-content::-webkit-scrollbar {
  width: 0 !important;
  display: none !important;
}

.modal-content::-webkit-scrollbar-track {
  display: none !important;
}

.modal-content::-webkit-scrollbar-thumb {
  display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .promotional-modal {
    padding: 10px;
  }

  .modal-content {
    border-radius: 12px;
    width: 100%;
    max-width: 100% !important;
    max-height: none !important;
    height: auto !important;
    overflow-y: visible !important;
  }

  .modal-header {
    padding: 20px 20px;
  }

  .modal-header h2 {
    font-size: 18px;
  }

  .modal-body {
    padding: 20px;
  }

  .modal-footer {
    padding: 12px 20px 20px;
  }

  .highlights ul {
    grid-template-columns: 1fr;
  }

  .modal-close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .promotional-modal {
    padding: 5px;
  }

  .modal-content {
    border-radius: 10px;
    width: 100%;
    max-width: 100% !important;
  }

  .modal-header {
    padding: 16px 16px;
  }

  .modal-header h2 {
    font-size: 16px;
  }

  .modal-body {
    padding: 16px;
  }

  .modal-footer {
    padding: 10px 16px 16px;
  }

  .modal-close {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    font-size: 24px;
  }

  .contact-info .phone {
    font-size: 16px;
  }

  .whatsapp-link {
    font-size: 16px;
  }

  .whatsapp-link i {
    font-size: 20px;
  }
}
