/* ==========================================================
   contact.css — Contact page styles
   The Mount View Castle Hotels & Resorts
   ========================================================== */

/* ----------------------------------------------------------
   CONTACT INFO CARDS ROW
   ---------------------------------------------------------- */
.contact-info-section {
  background: #ffffff;
  padding: 65px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.contact-info-card {
  background: #fffaf2;
  border-radius: 18px;
  padding: 32px 28px;
  height: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  transition: transform .24s, box-shadow .24s, border-color .24s;
  position: relative;
  overflow: hidden;
}

.contact-info-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #c99b37, #e0b54a);
  transition: opacity .24s;
  opacity: 0;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 38px rgba(0,0,0,.11);
  border-color: rgba(201,155,55,.25);
}

.contact-info-card:hover::after { opacity: 1; }

.info-icon-ring {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #edf5f1, #c8e4d5);
  border: 2px solid rgba(23,63,53,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon-ring i { font-size: 32px; color: #173f35; }

.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: #173f35;
  margin: 0;
}

.contact-info-card p,
.contact-info-card address {
  font-size: 15px;
  color: #5a5a5a;
  line-height: 1.75;
  margin: 0;
  font-style: normal;
}

.contact-info-card a {
  color: #173f35;
  text-decoration: none;
  font-weight: 600;
  transition: color .2s;
}

.contact-info-card a:hover { color: #c99b37; }

/* ----------------------------------------------------------
   CONTACT FORM + MAP  SECTION
   ---------------------------------------------------------- */
.contact-main-section {
  background: #f4f8f5;
  padding: 72px 0;
}

/* Form Card */
.contact-form-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 42px 40px;
  box-shadow: 0 8px 30px rgba(0,0,0,.09);
  border-top: 4px solid #c99b37;
  height: 100%;
}

.contact-form-card h3 {
  font-family: var(--font-heading);
  font-size: 26px;
  color: #173f35;
  margin-bottom: 6px;
}

.contact-form-card .form-subtitle {
  font-size: 15px;
  color: #5a5a5a;
  margin-bottom: 28px;
  line-height: 1.6;
}

/* Custom form field styling */
.form-group-custom { margin-bottom: 20px; }

.form-group-custom label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #173f35;
  margin-bottom: 7px;
  letter-spacing: .3px;
}

.form-group-custom label .req {
  color: #c99b37;
  margin-left: 2px;
}

.form-control-custom {
  display: block;
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: 'Lato', Arial, sans-serif;
  color: #2b2b2b;
  background: #fffaf2;
  border: 1.5px solid rgba(0,0,0,.13);
  border-radius: 10px;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none;
}

.form-control-custom::placeholder { color: rgba(0,0,0,.35); font-size: 14px; }

.form-control-custom:focus {
  border-color: #173f35;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(23,63,53,.10);
}

textarea.form-control-custom {
  resize: vertical;
  min-height: 130px;
  line-height: 1.65;
}

/* Subject dropdown */
select.form-control-custom {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23173f35' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  padding-right: 40px;
  cursor: pointer;
}

/* Submit button */
.btn-submit {
  width: 100%;
  background: #173f35;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background .22s, transform .15s, box-shadow .22s;
  font-family: 'Lato', Arial, sans-serif;
  letter-spacing: .3px;
}

.btn-submit:hover {
  background: #c99b37;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(201,155,55,.4);
}

.btn-submit i { font-size: 18px; }

/* Success / error message state */
.form-success {
  display: none;
  background: #edf5f1;
  border: 1px solid rgba(23,63,53,.25);
  color: #173f35;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 15px;
  margin-top: 16px;
  text-align: center;
}

/* Map Card */
.map-card {
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,.09);
  border-top: 4px solid #173f35;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.map-header {
  padding: 28px 30px 20px;
  background: #ffffff;
}

.map-header h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: #173f35;
  margin-bottom: 6px;
}

.map-header p {
  font-size: 14px;
  color: #5a5a5a;
  margin: 0;
  line-height: 1.65;
}

.map-embed {
  flex: 1;
  min-height: 300px;
  position: relative;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: none;
  display: block;
}

.map-directions {
  padding: 18px 30px;
  background: #f4f8f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid rgba(0,0,0,.06);
}

.map-directions p {
  font-size: 13.5px;
  color: #5a5a5a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.map-directions p i { color: #c99b37; font-size: 16px; }

.btn-directions {
  background: #173f35;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 40px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background .2s;
}

.btn-directions:hover { background: #c99b37; color: #ffffff !important; }

/* ----------------------------------------------------------
   QUICK CONNECT STRIP
   ---------------------------------------------------------- */
.quick-connect-section {
  background: #173f35;
  padding: 58px 0;
}

.quick-connect-section .section-heading { color: #ffffff; }
.quick-connect-section .section-intro   { color: rgba(255,255,255,.68); }

.connect-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: background .22s, border-color .22s, transform .22s;
}

.connect-card:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(201,155,55,.4);
  transform: translateY(-3px);
}

.connect-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.connect-icon i { font-size: 28px; color: #ffffff; }
.connect-icon.ci-phone    { background: #c99b37; }
.connect-icon.ci-whatsapp { background: #25d366; }
.connect-icon.ci-email    { background: #173f35; border:1px solid rgba(255,255,255,.3); }
.connect-icon.ci-location { background: rgba(201,155,55,.25); border:1px solid rgba(201,155,55,.4); }

.connect-card h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  color: #ffffff;
  margin: 0;
}

.connect-card a,
.connect-card span {
  font-size: 14px;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  transition: color .2s;
  line-height: 1.5;
}

.connect-card a:hover { color: #e0b54a; }

/* ----------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------- */
@media (max-width: 991.98px) {
  .contact-form-card { padding: 32px 26px; }
  .map-header { padding: 22px 22px 16px; }
  .map-directions { padding: 14px 22px; }
}

@media (max-width: 767.98px) {
  .contact-main-section { padding: 52px 0; }
  .contact-info-section { padding: 48px 0; }
  .quick-connect-section { padding: 48px 0; }
}

@media (max-width: 575.98px) {
  .contact-form-card { padding: 24px 18px; }
}
