/* ============================================================
   CONTACT PAGE — contact.css
   ============================================================ */

.contact-main {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 6% 80px;
}

/* ============================================================
   CONTACT SECTION
   Structure: .contact-section
                .contact-section__header
                  .contact-section__title
                  .contact-section__subtitle
                .contact-section__body
                  .contact-info-card
                  .contact-form
   ============================================================ */

.contact-section__header {
  margin-bottom: 36px;
}

.contact-section__title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: #222;
  margin: 0 0 6px;
}

.contact-section__subtitle {
  font-size: clamp(0.88rem, 1.4vw, 1rem);
  color: #d4a017;
  margin: 0;
}

/* Body: info card + form side by side */
.contact-section__body {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

/* ============================================================
   INFO CARD (left)
   Structure: .contact-info-card
                .contact-info-card__heading
                .contact-info-card__tagline
                .contact-info-list
                  .contact-info-item
                    .contact-info-item__icon
                    .contact-info-item__text
   ============================================================ */

.contact-info-card {
  flex: 0 0 320px;
  background-color: #5c1a5a;
  border-radius: 12px;
  padding: 36px 30px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 380px;
}

.contact-info-card__heading {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.contact-info-card__tagline {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin: 0;
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.contact-info-item__icon {
  flex: 0 0 18px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  margin-top: 2px;
}

.contact-info-item__text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

/* ============================================================
   CONTACT FORM (right)
   Structure: .contact-form
                .contact-form__row
                  .contact-form__field (x2 — side by side)
                .contact-form__field (full width)
                .contact-form__field--textarea
                  .contact-form__textarea
                  .contact-form__icon--textarea
                .btn-submit
   ============================================================ */

.contact-form {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Two fields side by side */
.contact-form__row {
  display: flex;
  gap: 16px;
}

.contact-form__row .contact-form__field {
  flex: 1 1 0;
}

/* Individual field wrapper */
.contact-form__field {
  position: relative;
  width: 100%;
}

/* Input styling */
.contact-form__input {
  width: 100%;
  padding: 14px 44px 14px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.9rem;
  color: #333;
  outline: none;
  background: #fff;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.contact-form__input::placeholder {
  color: #aaa;
}

.contact-form__input:focus {
  border-color: #5c1a5a;
}

/* Icon inside input */
.contact-form__icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #bbb;
  font-size: 0.9rem;
  pointer-events: none;
}

/* Textarea field */
.contact-form__field--textarea {
  position: relative;
}

.contact-form__textarea {
  width: 100%;
  min-height: 130px;
  padding: 14px 44px 14px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.9rem;
  color: #333;
  outline: none;
  background: #fff;
  resize: vertical;
  font-family: inherit;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.contact-form__textarea::placeholder {
  color: #aaa;
}

.contact-form__textarea:focus {
  border-color: #5c1a5a;
}

.contact-form__icon--textarea {
  top: 16px;
  transform: none;
}

/* Submit button */
.btn-submit {
  width: 100%;
  padding: 16px;
  background-color: #d4a017;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 4px;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-submit:hover {
  background-color: #b88a10;
  transform: translateY(-1px);
}

/* ============================================================
   MAP SECTION
   Structure: .map-section
                .map-container
                  .map-coming-soon
                    .map-coming-soon__icon
                    .map-coming-soon__text
                .map-directions
                  .btn-directions
   ============================================================ */

.map-section {
  margin-top: 60px;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: 6px;
  overflow: hidden;
  background-color: #f0edf0;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: #5c1a5a;
}

.map-coming-soon__icon {
  font-size: 3rem;
  opacity: 0.5;
}

.map-coming-soon__text {
  font-size: 1.1rem;
  font-weight: 600;
  color: #5c1a5a;
  opacity: 0.6;
  margin: 0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.map-directions {
  margin-top: 16px;
}

.btn-directions {
  display: inline-block;
  padding: 12px 28px;
  background-color: #5c1a5a;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-directions:hover {
  background-color: #7a2278;
  transform: translateY(-1px);
}

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */

.btn-back-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: #5c1a5a;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: background-color 0.2s ease, transform 0.2s ease, opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

.btn-back-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.btn-back-top:hover {
  background-color: #7a2278;
  transform: translateY(-2px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet portrait */
@media (max-width: 860px) {
  .contact-section__body {
    flex-direction: column;
    gap: 30px;
  }

  .contact-info-card {
    flex: unset;
    width: 100%;
    min-height: unset;
  }

  .map-container {
    height: 320px;
  }
}

/* Mobile */
@media (max-width: 560px) {
  .contact-main {
    padding: 30px 4% 60px;
  }

  .contact-form__row {
    flex-direction: column;
    gap: 16px;
  }

  .map-container {
    height: 260px;
  }

  .btn-back-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
}