/* =====================================================
   WILDPATH EXPLORERS — Contact Page Styles
   ===================================================== */

/* ── Contact Hero ──
   This page does not load tours.css, where the shared .page-hero component
   lives, so the hero box and its overlay/content are defined here — the same
   way about.css defines them for .about-hero. Without this the hero collapsed
   to a strip and its copy overlapped the contact strip below. */
.contact-hero {
  background-image: url('https://images.unsplash.com/photo-1516426122078-c23e76319801?auto=format&fit=crop&w=1600&q=80');
  background-position: center;
  background-size: cover;
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 0 6%;
  overflow: hidden;
}

.contact-hero .page-hero-overlay {
  position: absolute;
  inset: 0;
  /* Forest-to-ink instead of the old brown wash: the hero now reads as
     the same palette as the rest of the site. */
  background: linear-gradient(165deg, rgba(11, 93, 69, 0.55) 0%, rgba(20, 18, 16, 0.82) 65%);
}

.contact-hero .page-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 76px;
}

.contact-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin: 12px 0 16px;
}

.contact-hero .page-hero-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
  margin: 0 auto;
}

/* ── Quick Contact Strip ── */
.quick-strip {
  background: var(--white);
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  box-shadow: 0 4px 24px rgba(26, 15, 0, 0.08);
  position: sticky;
  top: 68px;
  z-index: 50;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.quick-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  text-decoration: none;
  color: var(--text-dark);
  transition: background var(--transition), transform var(--transition);
}

.quick-item:hover {
  background: var(--ivory);
  transform: translateY(-1px);
}

.quick-item span:first-child {
  font-size: 1.4rem;
}

.quick-item strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
}

.quick-item em {
  font-style: normal;
  font-size: 0.82rem;
  color: var(--text-mid);
}

.qstrip-div {
  width: 1px;
  background: #E5DDD0;
  margin: 10px 0;
}

/* ── Contact Section Grid ── */
.contact-section .contact-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}

.contact-inner > *,
.contact-form-wrap {
  min-width: 0;
}

.contact-form-wrap {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(229, 221, 208, 0.6);
}

/* Small section labels inside the form, so the long enquiry form reads in
   two steps instead of one undifferentiated block. */
.form-block-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 28px 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

#contactForm .form-block-title:first-of-type {
  margin-top: 0;
}

.form-block-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(154, 102, 0, 0.35), transparent);
}

.form-note {
  font-size: 0.82rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 14px;
}

/* ── Contact Info Cards ── */
.cinfo-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold);
  margin-bottom: 20px;
  border-top: 1px solid rgba(229, 221, 208, 0.4);
  border-right: 1px solid rgba(229, 221, 208, 0.4);
  border-bottom: 1px solid rgba(229, 221, 208, 0.4);
}

.cinfo-card h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

/* ── What happens next ── */
.next-steps {
  list-style: none;
  display: grid;
  gap: 18px;
}

.next-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.step-num {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.next-steps strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.next-steps p {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.cinfo-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.caction-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  color: white;
  text-decoration: none;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
}

.caction-btn:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* The old WhatsApp green and Gmail red were the last off-brand accents on
   the page; both actions now use the site palette. */
.whatsapp-btn { background: var(--gold); color: var(--ink-900); }
.whatsapp-btn:hover { background: var(--gold-dark); color: var(--white); }

.email-btn {
  background: transparent;
  color: var(--forest);
  box-shadow: inset 0 0 0 1.5px rgba(11, 93, 69, 0.45);
}

.email-btn:hover {
  background: var(--forest);
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--forest);
}

.cinfo-map {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(229, 221, 208, 0.8);
}

/* The FAQ component lives in wp-ui.css: both this page and tours.html render
   it, and tours.html never loads this stylesheet. */

/* ── Responsive ── */
@media (max-width: 900px) {
  .contact-section .contact-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .contact-form-wrap {
    padding: 24px;
  }
  .quick-strip {
    flex-direction: column;
    align-items: stretch;
    position: relative;
    top: 0;
  }
  .qstrip-div {
    width: auto;
    height: 1px;
    margin: 0 20px;
  }
}
