/* Contact Form Modal Styles */

.contact-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  padding: 20px;
}

.modal-content {
  background-color: var(--white);
  border-radius: var(--radius-20);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideDown 0.3s ease;
}

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

.modal-header {
  background: linear-gradient(135deg, var(--majorelle-blue), var(--sky-blue-crayola));
  padding: 30px;
  border-radius: var(--radius-20) var(--radius-20) 0 0;
  color: var(--white);
  position: relative;
}

.modal-header h2 {
  font-size: var(--fs-2);
  margin-bottom: 10px;
  color: var(--white);
}

.modal-header p {
  font-size: var(--fs-7);
  opacity: 0.9;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-1);
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.modal-body {
  padding: 40px 30px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-weight: var(--fw-700);
  color: var(--raisin-black-1);
  margin-bottom: 10px;
  font-size: var(--fs-7);
}

.form-group label .required {
  color: var(--red-orange-color-wheel);
  margin-left: 3px;
}

.form-control {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid var(--ghost-white);
  border-radius: var(--radius-10);
  font-size: var(--fs-7);
  color: var(--raisin-black-1);
  transition: var(--transition-1);
  font-family: inherit;
  background-color: var(--ghost-white);
}

.form-control:focus {
  outline: none;
  border-color: var(--majorelle-blue);
  background-color: var(--white);
}

.form-control::placeholder {
  color: var(--cool-gray);
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235B6572' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  padding: 18px;
  background: var(--majorelle-blue);
  color: var(--white);
  border: none;
  border-radius: var(--radius-10);
  font-size: var(--fs-6);
  font-weight: var(--fw-700);
  cursor: pointer;
  transition: var(--transition-2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.submit-btn:hover {
  background: var(--raisin-black-1);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.whatsapp-link {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--ghost-white);
}

.whatsapp-link p {
  color: var(--cool-gray);
  font-size: var(--fs-8);
  margin-bottom: 10px;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: hsl(142, 70%, 49%);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--radius-10);
  font-weight: var(--fw-700);
  font-size: var(--fs-7);
  transition: var(--transition-1);
}

.whatsapp-btn:hover {
  background: hsl(142, 70%, 40%);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 575px) {
  .modal-content {
    margin: 20px;
  }
  
  .modal-header {
    padding: 20px;
  }
  
  .modal-body {
    padding: 25px 20px;
  }
  
  .modal-header h2 {
    font-size: var(--fs-3);
  }
}
