/* ================================
   CONTACT PAGE STYLING
   Archetype Retreats
   ================================ */

/* --- HERO SECTION --- */
.contact-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  text-align: center;
  padding: 160px 20px;
  min-height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.contact-hero .wrap {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: auto;
}

.contact-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.2rem);
  margin-bottom: 0.8rem;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.5px;
}

.contact-hero p {
  font-size: 1.2rem;
  line-height: 1.6;
  opacity: 0.95;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* --- CONTACT BODY --- */
.contact-body {
  background-color: #f7f7f7;
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1100px;
  width: 100%;
}

/* --- CONTACT CARDS --- */
.contact-card {
  background: #fff;
  padding: 40px 35px;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
}

.contact-card h2 {
  color: #2e6159;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  border-bottom: 2px solid rgba(46, 97, 89, 0.2);
  display: inline-block;
  padding-bottom: 5px;
}

.contact-card p {
  color: #333;
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.contact-card a {
  color: #3b7068;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-card a:hover {
  color: #244d46;
}

/* --- FORM --- */
.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #3b7068;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 18px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #3b7068;
  outline: none;
  box-shadow: 0 0 6px rgba(59, 112, 104, 0.3);
}

.contact-form button {
  background-color: #3b7068;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
  background-color: #2f5b54;
  transform: translateY(-2px);
}

/* --- THANK YOU MESSAGE --- */
#thank-you {
  font-size: 1rem;
  text-align: center;
  color: #3b7068;
  margin-top: 12px;
}

/* --- RESPONSIVE TWEAKS --- */
@media (max-width: 768px) {
  .contact-hero {
    padding: 120px 20px;
  }

  .contact-card {
    padding: 30px 25px;
  }
}
