/* Retreat Experience section and its reservation form.
   Uses the brand tokens on :root. */

#retreat {
  background-color: var(--light-bg);
  padding: 1rem 1rem 2rem;
  text-align: center;
}

#retreat h2 {
  font-family: 'Playfair Display', serif;
  color: var(--secondary-color);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.retreat-intro {
  max-width: 680px;
  margin: 0 auto;
}

.retreat-intro .tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--accent-dark);
  margin-bottom: 1.5rem;
}

.retreat-intro p {
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.retreat-intro .limited {
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  color: var(--accent-dark);
  border-top: 1px solid var(--secondary-color);
  border-bottom: 1px solid var(--secondary-color);
  padding: 0.5rem 1rem;
  margin-top: 0.5rem;
}

.retreat-actions {
  margin-top: 2rem;
}

.retreat-form {
  background-color: var(--secondary-color);
  padding: 2rem;
  border-radius: 10px;
  max-width: 500px;
  margin: 2rem auto 0;
  text-align: left;
  position: relative;
}

.retreat-form h3 {
  font-family: 'Playfair Display', serif;
  color: white;
  font-size: 1.6rem;
  text-align: center;
}

.retreat-form label {
  display: block;
  margin: 1rem 0 0.25rem;
  font-weight: 600;
}

.retreat-form input[type=text],
.retreat-form input[type=email],
.retreat-form select,
.retreat-form textarea {
  width: 100%;
  padding: 0.5rem;
  border-radius: 5px;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  background-color: white;
  color: #333;
}

.retreat-form .optional {
  font-weight: 400;
  font-size: 0.85rem;
}

.retreat-form .hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.retreat-form .form-note {
  margin-top: 1rem;
  font-size: 0.85rem;
}

.retreat-form button[type=submit] {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: white;
  color: var(--accent-dark);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font: inherit;
  font-weight: bold;
}

.retreat-form button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.retreat-form .form-status {
  margin-top: 1rem;
  font-weight: 600;
}

.retreat-form .form-status:empty {
  display: none;
}

@media (max-width: 600px) {
  #retreat h2 {
    font-size: 2rem;
  }

  .retreat-intro .tagline {
    font-size: 1.3rem;
  }

  .retreat-form {
    padding: 1.5rem;
  }
}
