/**
 * Styles for Travel Quotation Request Popup
 */

.quotation-popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(5px);
}

.quotation-popup.show {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  animation: fadeIn 0.6s ease-out;
}

.quotation-popup-content {
  position: relative;
  background: #ffffff;
  margin: 0 auto;
  padding: 0;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  width: 90%;
  max-width: 520px;
  overflow: hidden;
  transform: translateY(20px);
  animation: slideUp 0.7s forwards cubic-bezier(0.22, 1, 0.36, 1);
  border: none;
}

.quotation-popup-header {
  background: linear-gradient(135deg, #FF5722, #FF9800);
  color: white;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quotation-popup-header:before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 60%);
  opacity: 0.6;
}

.quotation-popup-header h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  position: relative;
}

.quotation-popup-body {
  padding: 30px 25px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff, #f9f9f9);
}

.quotation-popup-icon {
  margin: -60px auto 20px;
  width: 100px;
  height: 100px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border: 4px solid #fff;
  position: relative;
  z-index: 2;
}

.quotation-popup-icon img {
  width: 100%;
  height: 100%;
  transform: scale(1);
  transition: transform 0.3s ease;
  border-radius: 50%;
}

.quotation-popup-content:hover .quotation-popup-icon img {
  transform: scale(1.1);
}

.quotation-popup-body p {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #333;
  font-weight: 500;
}

.quotation-benefits {
  text-align: left;
  margin: 25px auto;
  padding-left: 10px;
  max-width: 85%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  list-style: none;
}

.quotation-benefits li {
  position: relative;
  padding-left: 28px;
  color: #444;
  font-size: 15px;
  display: flex;
  align-items: center;
}

.quotation-benefits li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: #4CAF50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  box-shadow: 0 2px 5px rgba(76,175,80,0.3);
}

.quotation-benefits li:after {
  content: "✓";
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 12px;
}

.quotation-popup-footer {
  padding: 5px 25px 30px;
  text-align: center;
  position: relative;
}

.quotation-btn {
  display: inline-block;
  background: linear-gradient(135deg, #FF9800, #FF5722);
  color: white !important;
  padding: 14px 36px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 17px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(255,87,34,0.25);
  position: relative;
  overflow: hidden;
}

.quotation-btn:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
  transition: all 0.6s ease;
}

.quotation-btn:hover {
  background: linear-gradient(135deg, #FF5722, #E64A19);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(255,87,34,0.35);
  color: white;
  text-decoration: none;
}

.quotation-btn:hover:before {
  left: 100%;
}

.quotation-popup-close {
  position: absolute;
  right: 10px;
  top: 10px;
  color: white;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0,0,0,0.1);
}

.quotation-popup-close:hover {
  transform: rotate(90deg);
  background: rgba(0,0,0,0.2);
}

.quotation-timer {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 13px;
  color: #777;
  opacity: 0.7;
}

.quotation-discount {
  background: #E53935;
  color: white;
  font-size: 14px;
  font-weight: bold;
  padding: 5px 15px;
  border-radius: 30px;
  position: absolute;
  top: 100px;
  right: 20px;
  box-shadow: 0 3px 8px rgba(229,57,53,0.3);
  transform: rotate(5deg);
}

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

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

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .quotation-popup-content {
    width: 95%;
    max-width: 450px;
  }
  
  .quotation-popup-header h3 {
    font-size: 22px;
  }
  
  .quotation-popup-body p {
    font-size: 15px;
  }
  
  .quotation-benefits {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .quotation-btn {
    padding: 12px 30px;
    font-size: 16px;
    animation: pulse 2s infinite;
  }
}