/* Call to Action Popup Styles */
.cta-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 232, 214, 0.45); /* Light tan with opacity */
  z-index: 2000; /* Higher than other elements */
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 2s ease; /* Increased to 2 seconds */
}

.cta-popup-overlay.is-active {
  display: flex;
  opacity: 1;
}

.cta-popup {
  background-color: #ffe8d6;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  max-width: 600px;
  width: 90%;
  padding: 30px;
  position: relative;
  text-align: center;
  transform: scale(0.9);
  transition: transform 2s ease; /* Increased to 2 seconds */
}

.cta-popup-overlay.is-active .cta-popup {
  transform: scale(1);
}

.cta-popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
}

.cta-popup-close:hover {
  color: #333;
}

.cta-popup-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 4px;
}

.cta-popup-title {
  font-size: 24px;
  margin-bottom: 15px;
  color: #333;
}

.cta-popup-text {
  margin-bottom: 20px;
  color: #666;
}

.cta-popup-button {
  display: inline-block;
  background-color: #cb997e; /* Brand orange color */
  color: white;
  padding: 12px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.cta-popup-button:hover {
  background-color: #cb997e;
  text-decoration: none;
  color: white;
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .cta-popup {
    padding: 20px;
    width: 95%;
  }
  
  .cta-popup-title {
    font-size: 20px;
  }
}
