/* ==========================================================================
   TRIPPLE A CO. DESIGNS - CONTACT PAGE STYLESHEET
   ========================================================================== */

/* Outer Page Section with Mountain Background Image directly applied */
.contact-page-wrapper {
  position: relative;
  min-height: 100vh;
  /* Top light grey/purple linear gradient mixed with background mountain image */
  background: 
    linear-gradient(180deg, rgba(220, 225, 232, 0.95) 0%, rgba(200, 205, 215, 0.75) 40%, rgba(0, 0, 0, 0.1) 100%),
    url('../media/images/IMG_4401.JPG.jpeg') no-repeat bottom center;
  background-size: cover;
  background-attachment: scroll;
  color: #000000;
  font-family: 'Montserrat', sans-serif;
  overflow: hidden;
  padding-top: 7.5rem;
  padding-bottom: 6rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

/* Fallback background image check if extension is .JPG */
@supports not (background-image: url('../media/images/IMG_4401.JPG.jpeg')) {
  .contact-page-wrapper {
    background-image: 
      linear-gradient(180deg, rgba(220, 225, 232, 0.95) 0%, rgba(200, 205, 215, 0.75) 40%, rgba(0, 0, 0, 0.1) 100%),
      url('../media/images/IMG_4401.JPG');
  }
}

/* Sky Ambient Glows (Purple & Soft Grey Highlights) */
.contact-sky-glows {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60%;
  pointer-events: none;
  z-index: 1;
}

.glow-top-grey {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, rgba(220, 225, 232, 0) 70%);
  filter: blur(50px);
}

.glow-center-purple {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 350px;
  background: radial-gradient(circle, rgba(185, 140, 220, 0.35) 0%, rgba(220, 225, 232, 0) 70%);
  filter: blur(60px);
}

/* Main Container Layout */
.contact-container {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Header Heading Title */
.contact-header-title {
  margin-bottom: 2.8rem;
}

.contact-header-title h1 {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  color: #000000;
  letter-spacing: -1.5px;
}

.contact-header-title .pink-italic {
  color: #e05273;
  font-style: italic;
  font-weight: 700;
  font-family: Georgia, 'Times New Roman', serif;
}

/* Stacked Contact Capsules */
.contact-capsules-stack {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.contact-capsule-item {
  width: 100%;
  background: rgba(110, 125, 140, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  padding: 1.1rem 1.8rem;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.contact-capsule-item:hover {
  background: rgba(80, 95, 110, 0.7);
  transform: translateY(-3px);
  box-shadow: 0 15px 32px rgba(0, 0, 0, 0.25);
  color: #ffffff;
}

.contact-capsule-item.static-item {
  cursor: default;
  font-size: 0.85rem;
  letter-spacing: 0.8px;
}

.contact-capsule-item.static-item:hover {
  transform: none;
  background: rgba(110, 125, 140, 0.45);
}

/* --- FIXED: Contact Us Button with Solid Dark Pill & High Contrast White Text --- */
.btn-contact-us-pill,
a.btn-contact-us-pill {
  width: auto;
  min-width: 200px;
  background: #182026 !important; /* Solid dark contrast background */
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  padding: 0.9rem 2.4rem;
  color: #ffffff !important; /* Forces bold white text */
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-top: 0.8rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background 0.3s ease;
  display: inline-block;
  text-decoration: none;
  position: relative;
  z-index: 20;
}

.btn-contact-us-pill *,
a.btn-contact-us-pill span {
  color: #ffffff !important;
  display: inline-block;
  font-weight: 800;
}

.btn-contact-us-pill:hover,
a.btn-contact-us-pill:hover {
  background: #000000 !important;
  transform: translateY(-2px);
  color: #ffffff !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .contact-page-wrapper {
    padding-top: 6.5rem;
    padding-bottom: 4rem;
  }

  .contact-capsules-stack {
    max-width: 100%;
  }

  .contact-capsule-item {
    font-size: 0.85rem;
    padding: 0.95rem 1.2rem;
  }
}