/* Popup */

/* Popup Styles */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background: linear-gradient(135deg, #8b2635, #a52a2a);
  border-radius: 15px;
  padding: 0;
  max-width: 400px;
  width: 90%;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.7) translateY(-50px);
  transition: all 0.3s ease;
  border: 2px solid #ef9d49;
}

.popup-overlay.show .popup-content {
  transform: scale(1) translateY(0);
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  color: #ef9d49;
  cursor: pointer;
  z-index: 1001;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
  line-height: normal;
  letter-spacing: normal;
  font-weight: bold;
}

.popup-close:hover {
  color: white;
}

.popup-header {
  padding: 15px;
  padding-bottom: 0px;
  text-align: center;
  /* border-bottom: 1px solid rgba(212, 175, 55, 0.3);s */
}

.sacred-geometry {
  margin-bottom: 5px;
  display: flex;
  justify-content: center;
}

.popup-title {
  font-family: "Noto Sans Devanagari", sans-serif;
  font-size: 1.3rem;
  color: #ef9d49;
  font-weight: 500;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.popup-image-container {
  width: 100%;
  height: auto;
  /* overflow: hidden; */
  padding: 20px;
}

.popup-image {
  width: auto;
  height: 300px !important;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 10px;
  border: 5px solid white;
  margin: 0 auto;
}

.popup-text {
  padding: 15px;
  padding-top: 0px;
  text-align: center;
  color: white;
}

.guruji-name {
  font-family: "Noto Sans Devanagari", sans-serif;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 5px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: normal;
}
.event-dates {
  font-family: "Noto Sans Devanagari", sans-serif;
  font-size: 1.5rem;
  color: #ef9d49;
  margin-bottom: 5px;
  font-weight: 700;
}

.location {
  font-family: "Noto Sans Devanagari", sans-serif;
  font-size: 1.3rem;
  color: white;
  margin-bottom: 5px;
  font-weight: 500;
}

.contact {
  font-family: "Noto Sans Devanagari", sans-serif;
  font-size: 1rem;
  color: #ef9d49;
  margin: 0;
  font-weight: 500;
}

.popup-overlay .sacred-geometry svg {
  width: 125px;
  height: auto;
}

/* Responsive popup */
@media (max-width: 768px) {
  .popup-content {
    max-width: 95%;
    margin: 20px;
  }

  .popup-image-container {
    height: auto;
    padding: 15px;
  }

  .popup-image {
    height: 300px !important;
  }

  .popup-header {
    padding: 15px;
    padding-bottom: 0px;
  }

  .popup-title {
    font-size: 1.3rem;
  }

  .event-dates {
    font-size: 1.3rem;
  }

  .location {
    font-size: 1.1rem;
  }

  .contact {
    font-size: 1rem;
  }

  .popup-overlay .sacred-geometry svg {
    width: 125px;
    height: auto;
  }
}
