/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: #f5f3f0;
  margin: 5% auto;
  padding: 0;
  border-radius: 20px;
  width: 95%;
  max-width: 500px;
  position: relative;
  animation: modalSlideIn 0.3s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  max-height: 85vh;
  overflow-y: auto;
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  font-weight: normal;
  cursor: pointer;
  color: #8b7355;
  z-index: 10;
  transition: color 0.3s ease;
  background: transparent;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close:hover {
  color: #5d4e3a;
}

.modal-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  position: relative;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-body {
  padding: 30px;
}

.modal-header {
  text-align: center;
  margin-bottom: 25px;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #8b7355;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: "Playfair Display", serif;
}

.modal-info h4 {
  color: #8b7355;
  margin-bottom: 15px;
  font-size: 1.1rem;
  font-weight: 300;
}

.modal-description {
  color: #6b5b4a;
  line-height: 1.6;
  margin-bottom: 25px;
  text-align: center;
  font-size: 0.95rem;
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.modal-features ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 30px;
}

.modal-features li {
  padding: 10px 12px;
  background: white;
  border-radius: 25px;
  position: relative;
  padding-left: 35px;
  font-size: 0.9rem;
  color: #8b7355;
  font-weight: 300;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.modal-features li:before {
  content: "✓";
  position: absolute;
  left: 12px;
  color: #8b7355;
  font-weight: bold;
  font-size: 0.9rem;
}

.service-card-section {
  background: var(--white);
  margin: 20px;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.service-card-image {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-info h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #8b7355;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-duration {
  background: #8b7355;
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 300;
  margin-top: 8px;
  display: inline-block;
}

.service-description {
  color: #999;
  font-size: 0.9rem;
  margin-top: 10px;
  line-height: 1.4;
}

.book-now-btn {
  display: inline-block;
  background: #8b7355;
  color: var(--white);
  padding: 15px 30px;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 20px;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.book-now-btn:hover {
  background: #6b5b4a;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(139, 115, 85, 0.3);
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .modal-content {
    width: 90%;
    margin: 10% auto;
  }

  .modal-body {
    padding: 20px;
  }

  .modal-features ul {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .modal-header h2 {
    font-size: 1.3rem;
    letter-spacing: 1px;
  }
}

/* Popup Modal Styles */
.popup-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.popup-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: popupFadeIn 0.3s ease;
}

.popup-content {
  background-color: white;
  padding: 40px;
  border-radius: 20px;
  max-width: 650px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
  animation: popupSlideIn 0.4s ease;
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 32px;
  font-weight: 300;
  color: #999;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10001;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.05);
}

.popup-close:hover {
  color: #333;
  background: rgba(0, 0, 0, 0.1);
  transform: scale(1.1);
}

.popup-body h2 {
  color: #000000;
  margin-bottom: 25px;
  font-size: 3rem;
  text-align: center;
  font-weight: 900;
  font-family: "Poppins", sans-serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  letter-spacing: 2px;
  text-transform: uppercase;
  border-bottom: 3px solid var(--primary-color);
  padding-bottom: 15px;
}

.popup-body p {
  line-height: 1.7;
  color: #333;
  margin-bottom: 25px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 400;
}

.popup-image {
  width: 100%;
  max-height: 350px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.popup-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  justify-content: center;
}

.popup-btn {
  padding: 15px 35px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.popup-btn.primary {
  background: linear-gradient(135deg, var(--primary-color), #c4955f);
  color: white;
  box-shadow: 0 8px 25px rgba(212, 165, 116, 0.3);
}

.popup-btn.primary:hover {
  background: linear-gradient(135deg, #c4955f, var(--primary-color));
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(212, 165, 116, 0.4);
}

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

@keyframes popupSlideIn {
  from {
    transform: translateY(-60px) scale(0.85);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .popup-content {
    padding: 30px;
    max-width: 95%;
  }
  
  .popup-body h2 {
    font-size: 2.2rem;
  }
  
  .popup-body p {
    font-size: 1rem;
  }
  
  .popup-buttons {
    flex-direction: column;
  }
  
  .popup-btn {
    width: 100%;
    padding: 12px 30px;
    font-size: 1rem;
  }
}

