/* ============================================================
   VB Studio — contacts.css
   Contact page-specific styles
   ============================================================ */

/* ─── Banner (flat dark section, no hero image) ─── */
.ct-banner {
  background: #3D2B1F;
  height: 42vh;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 40px 0;
}

.ct-banner__title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.6rem, 2.5vw, 2.8rem);
  font-weight: 500;
  letter-spacing: 0.25em;
  color: #fff;
  margin: 0 0 22px;
}

.ct-banner__subtitle {
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.80);
  margin: 0 auto;
  max-width: 900px;
  white-space: nowrap;
  line-height: 1.9;
  text-align: center;
}

/* ─── Contact image / info section ─── */
.ct-contact {
  position: relative;
  min-height: 56vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ct-contact__overlay {
  position: absolute;
  inset: 0;
  background: rgba(40, 28, 24, 0.52);
}

.ct-contact__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 72px 24px;
}

.ct-contact__script {
  font-family: "Pinyon Script", cursive;
  font-size: clamp(30px, 4.5vw, 52px);
  color: #fff;
  margin: 0 0 10px;
  font-weight: 400;
}

.ct-contact__name {
  font-family: "Cormorant", serif;
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
  margin: 0 0 18px;
}

.ct-contact__detail {
  font-family: "Cormorant", serif;
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  margin: 5px 0;
  line-height: 1.5;
}

.ct-contact__detail a {
  color: #fff;
  text-decoration: none;
  transition: color 0.25s ease;
}

.ct-contact__detail a:hover {
  color: #F5F0EB;
}

/* ─── Form section ─── */
.ct-form-section {
  background: #fff;
  padding: 64px 24px 80px;
  display: flex;
  justify-content: center;
}

.ct-form-card {
  background: #FBF4EA;
  max-width: 820px;
  width: 100%;
  padding: 60px 72px;
  border-radius: 4px;
}

.ct-form-card__heading {
  font-family: "Cormorant", serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 400;
  color: #392F2C;
  text-align: center;
  margin: 0 0 44px;
  letter-spacing: 0.02em;
}

/* Form fields */
.ct-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.ct-form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ct-form__label {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: #6B5C56;
  text-align: left;
  display: block;
}

.ct-form__input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(57, 47, 44, 0.28);
  color: #392F2C;
  font-family: "Cormorant", serif;
  font-size: 17px;
  font-weight: 300;
  padding: 10px 0;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.ct-form__input::placeholder {
  color: rgba(57, 47, 44, 0.28);
}

.ct-form__input:focus {
  border-bottom-color: #392F2C;
}

.ct-form__input--error {
  border-bottom-color: #C0604A !important;
}

.ct-form__textarea {
  resize: vertical;
  min-height: 72px;
}

.ct-form__error {
  font-family: "Poppins", sans-serif;
  font-size: 0.70rem;
  color: #C0604A;
  display: none;
  margin-top: 2px;
}

.ct-form__error--visible {
  display: block;
}

.ct-form__char-count {
  font-family: "Poppins", sans-serif;
  font-size: 0.68rem;
  color: rgba(57, 47, 44, 0.45);
  text-align: right;
  margin-top: 3px;
  transition: color 0.2s ease;
}

.ct-form__submit {
  text-align: center;
  margin-top: 12px;
}

/* Dark pill button (used on light backgrounds) */
.hp-btn--dark {
  background: #392F2C;
  color: #F5F0EB;
  border: none;
}

.hp-btn--dark:hover {
  background: #2A1F1C;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(57, 47, 44, 0.22);
}

/* Button transition (base hp-btn already has transition, reinforce for dark variant) */
.ct-form__submit .hp-btn--dark {
  transition: background 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s ease;
}

/* Form card: slightly slower data-reveal for a more composed entrance */
.ct-form-card[data-reveal] {
  transition-delay: 0.08s;
}

/* Contact info inner: subtle transition-delay offset */
.ct-contact__inner[data-reveal] {
  transition-delay: 0.05s;
}

/* Success message */
.ct-form__success {
  display: none;
  text-align: center;
  font-family: "Cormorant", serif;
  font-size: 22px;
  font-weight: 400;
  color: #392F2C;
  padding: 40px 24px;
  background: rgba(57, 47, 44, 0.06);
  border: 1px solid rgba(57, 47, 44, 0.18);
  border-radius: 2px;
  margin: 36px auto 0;
  max-width: 520px;
}

.ct-form__success--visible {
  display: block;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .ct-form-card {
    padding: 48px 40px;
  }
}

@media (max-width: 600px) {
  .ct-banner {
    min-height: 180px;
    height: 28vh;
    padding: 0 20px;
  }
  .ct-banner__subtitle {
    white-space: normal;
  }
  .ct-form-card {
    padding: 36px 20px;
  }
  .ct-form {
    gap: 24px;
  }
  .ct-form__input {
    font-size: 16px;
  }
}
