/* ==========================================
   CONTACT HERO
========================================== */

.contact-hero {
  padding: 170px 20px 90px;

  background: #f8f8f6;

  text-align: center;
}

.contact-hero-content {
  max-width: 900px;

  margin: auto;
}

.contact-hero h1 {
  font-family: "Cormorant Garamond", serif;

  font-size: 70px;

  line-height: 1.1;

  margin: 25px 0;

  color: #1f2937;
}

.contact-hero p {
  max-width: 700px;

  margin: auto;

  font-size: 20px;

  line-height: 1.8;

  color: #5f6672;
}
/* ==========================================
   CONTACT FORM
========================================== */

.contact-form-section {
  padding: 120px 20px;
  background: #f8f8f6;
}

.form-container {
  max-width: 1300px;

  margin: 0 auto;

  display: grid;

  grid-template-columns: 420px 1fr;

  gap: 70px;

  align-items: start;
}

/* LEFT SIDE */

.form-text {
  position: sticky;

  top: 120px;
}

.form-text h2 {
  font-family: "Cormorant Garamond", serif;

  font-size: 58px;

  line-height: 1.1;

  color: #1f2937;

  margin: 20px 0;
}

.form-text p {
  font-size: 18px;

  line-height: 1.9;

  color: #5f6672;

  margin-bottom: 35px;
}

/* CONTACT DETAILS */

.contact-details {
  display: flex;

  flex-direction: column;

  gap: 18px;
}

.contact-item {
  display: flex;

  align-items: flex-start;

  gap: 18px;

  width: 100%;

  max-width: 420px;
}
.contact-item i {
  color: #c7a66a;

  font-size: 22px;

  width: 28px;

  text-align: center;

  margin-top: 4px;

  flex-shrink: 0;
}
.contact-item div {
  flex: 1;
}

.contact-item h4 {
  margin-bottom: 4px;

  color: #1f2937;
}

.contact-item p {
  margin: 0;

  color: #5f6672;

  line-height: 1.7;
}

.contact-item a {
  color: inherit;

  text-decoration: none;
}

.contact-item a:hover {
  color: #c7a66a;
}

/* FORM */

.contact-form {
  background: #fff;

  padding: 45px;

  border-radius: 26px;

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 22px;

  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;

  padding: 18px;

  border: 1px solid #e2e2e2;

  border-radius: 14px;

  font-size: 16px;

  font-family: inherit;

  transition: 0.3s;

  background: #fff;
}

.contact-form textarea {
  grid-column: 1/3;

  resize: vertical;

  min-height: 170px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;

  border-color: #c7a66a;

  box-shadow: 0 0 0 4px rgba(199, 166, 106, 0.15);
}

.contact-form button {
  grid-column: 1/3;

  padding: 20px;

  border: none;

  border-radius: 14px;

  background: #c7a66a;

  color: #fff;

  font-size: 17px;

  font-weight: 700;

  cursor: pointer;

  transition: 0.35s;
}

.contact-form button:hover {
  background: #1f2937;
}

/* MOBILE */

@media (max-width: 992px) {
  .form-container {
    grid-template-columns: 1fr;

    gap: 50px;
  }

  .form-text {
    position: static;

    text-align: center;
  }

  .contact-details {
    align-items: center;
  }

  .contact-item {
    justify-content: flex-start;

    margin: 0 auto;

    text-align: left;
  }

  .contact-form {
    grid-template-columns: 1fr;

    padding: 30px;
  }

  .contact-form textarea,
  .contact-form button {
    grid-column: 1;
  }
}
/* ================= MAP ================= */

.map-section {
  padding: 100px 20px;

  background: white;
}

.map-container {
  max-width: 1300px;

  margin: 50px auto 0;

  overflow: hidden;

  border-radius: 24px;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
  width: 100%;

  height: 520px;

  border: none;

  display: block;
}
/* ==========================================
   SUCCESS POPUP
========================================== */

.success-popup {
  position: fixed;

  inset: 0;

  background: rgba(0, 0, 0, 0.55);

  backdrop-filter: blur(6px);

  display: none;

  justify-content: center;

  align-items: center;

  z-index: 9999;
}

.success-popup.show {
  display: flex;

  animation: fadeIn 0.3s ease;
}

.success-box {
  background: white;

  width: min(500px, 90%);

  padding: 50px;

  border-radius: 24px;

  text-align: center;

  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.18);

  animation: popup 0.35s ease;
}

.success-icon {
  width: 90px;

  height: 90px;

  margin: auto;

  border-radius: 50%;

  background: #c7a66a;

  color: white;

  font-size: 48px;

  display: flex;

  align-items: center;

  justify-content: center;

  margin-bottom: 25px;
}

.success-box h2 {
  font-family: "Cormorant Garamond", serif;

  font-size: 42px;

  color: #1f2937;

  margin-bottom: 15px;
}

.success-box p {
  color: #5f6672;

  line-height: 1.8;

  margin-bottom: 30px;
}

.success-box button {
  background: #c7a66a;

  color: white;

  border: none;

  padding: 15px 40px;

  border-radius: 50px;

  cursor: pointer;

  font-size: 16px;

  font-weight: 600;

  transition: 0.3s;
}

.success-box button:hover {
  background: #1f2937;
}

@keyframes popup {
  from {
    transform: translateY(30px) scale(0.95);

    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);

    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}
