
/* =========================
   CONTACT PAGE
========================= */

.contact-hero {
  position: relative;
  padding: 90px 20px 65px;
  text-align: center;
  background: #efecdf;
  overflow: hidden;
}

.contact-label {
  margin: 0 0 10px;
  color: #ed5967;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 4px;
}

.contact-hero h1 {
  margin: 0;
  color: #604938;
  font-family: "Fredoka", sans-serif;
  font-size: clamp(45px, 6vw, 75px);
}

.contact-lead {
  margin: 12px 0;
  font-size: 19px;
  font-weight: 800;
}

.contact-intro {
  font-size: 14px;
  line-height: 2;
}

.contact-deco {
  position: absolute;
  color: #e39aaf;
  pointer-events: none;
}

.paw-one {
  top: 30px;
  left: 12%;
  font-size: 42px;
  transform: rotate(-20deg);
}

.heart-one {
  right: 13%;
  bottom: 30px;
  font-size: 55px;
}


/* =========================
   FORM AREA
========================= */

.contact-main {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  align-items: center;
  gap: 65px;
  width: min(1100px, 90%);
  margin: 0 auto;
  padding: 90px 0;
}


/* PHOTO */

.contact-side-photo {
  position: relative;
  aspect-ratio: 0.85;
  border-radius: 48% 52% 47% 53% / 50% 47% 53% 50%;
  overflow: hidden;
  background: #e8d5c1;
  transform: rotate(-3deg);
}

.contact-side-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-caption {
  position: absolute;
  right: -5%;
  bottom: 12%;
  width: 85%;
  padding: 17px 10px;
  border-radius: 48% 52% 50% 45%;
  background: #e39aaf;
  color: white;
  text-align: center;
  transform: rotate(-5deg);
}

.photo-caption p {
  margin: 0;
  font-family: "Fredoka", sans-serif;
  font-size: 19px;
  font-weight: 700;
}


/* FORM */

.contact-form-wrap {
  padding: 40px;
  border-radius: 35px 25px 35px 20px;
  background: #fffaf2;
  box-shadow: 0 8px 25px rgb(80 51 40 / 7%);
}

.contact-form-wrap h2 {
  margin: 0;
  font-family: "Fredoka", sans-serif;
  font-size: 30px;
  color: #604938;
}

.form-description {
  margin: 10px 0 30px;
  font-size: 13px;
}

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

.form-group label {
  display: block;
  margin-bottom: 9px;
  font-size: 14px;
  font-weight: 800;
}

.required {
  display: inline-block;
  margin-left: 7px;
  padding: 2px 8px;
  border-radius: 20px;
  background: #ed5967;
  color: white;
  font-size: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e5d6c7;
  border-radius: 12px;
  outline: none;
  background: white;
  color: #604938;
  font-family: "Nunito", sans-serif;
  font-size: 14px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #ed5967;
  box-shadow: 0 0 0 3px rgb(237 89 103 / 12%);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #c5b5a8;
}


/* BUTTON */

.contact-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 17px 25px;
  border: none;
  border-radius: 14px;
  background: #ed5967;
  color: white;
  font-family: "Fredoka", sans-serif;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s ease;
}

.contact-submit:hover {
  background: #d94d5c;
  transform: translateY(-3px);
}

.contact-submit span {
  font-size: 25px;
}


/* BACK HOME */

.contact-back {
  padding: 20px;
  text-align: center;
}

.contact-back a {
  display: inline-block;
  padding: 14px 28px;
  border: 2px solid #ed5967;
  border-radius: 30px;
  color: #ed5967;
  font-weight: 800;
  transition: 0.3s;
}

.contact-back a:hover {
  background: #ed5967;
  color: white;
}


/* FOOTER */

.contact-footer {
  padding: 35px 15px;
  background: #ed5967;
  color: white;
  text-align: center;
}

.contact-footer p {
  margin: 0 0 10px;
  font-family: "Fredoka", sans-serif;
  font-size: 22px;
  font-weight: 700;
}

.contact-footer small {
  font-size: 11px;
}


/* =========================
   TABLET
========================= */

@media (max-width: 1000px) {
  .contact-main {
    gap: 35px;
    width: 92%;
  }

  .contact-form-wrap {
    padding: 30px;
  }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 650px) {

  .contact-hero {
    padding: 65px 20px 45px;
  }

  .contact-intro {
    font-size: 12px;
  }

  .contact-main {
    grid-template-columns: 1fr;
    gap: 40px;
    width: 90%;
    padding: 55px 0;
  }

  .contact-side-photo {
    width: 65%;
    max-width: 260px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
  }

  .contact-form-wrap {
    padding: 25px 20px;
    border-radius: 25px;
  }

  .contact-form-wrap h2 {
    font-size: 26px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
  }

  .paw-one {
    left: 5%;
    font-size: 30px;
  }

  .heart-one {
    right: 5%;
    font-size: 38px;
  }
}
