/* ==========================================================================
   Contact (contact.html)
   Design system: uses the shared tokens from /css/tokens.css, matching
   the redesign pass already done on the post/about pages.
   ========================================================================== */

/* ==========================================================================
   Home button (mobile navbar)
   ========================================================================== */
.home-btn {
  width: 56px;
  height: 56px;
  background: #dedfe0;
  border-radius: 50%;
  color: #000;
  text-decoration: none;
  margin-left: -5px;
  transition: all 0.2s ease;
}

.home-btn:hover {
  background-color: #e9ecef;
  color: #000;
  transform: scale(1.05);
}

.home-btn:active {
  transform: scale(0.95);
}

.home-btn i {
  font-size: 1.5rem;
  line-height: 1;
}

.home-text {
  font-size: 10px;
  line-height: 1;
  margin-top: 2px;
  color: #1f2937;
}

/* ==========================================================================
   Page header strip
   ========================================================================== */
.contact-page-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

/* ==========================================================================
   Contact intro -- plain content on the page, no boxed card
   ========================================================================== */
.contact-card {
  padding: var(--space-4) 0 var(--space-8);
  text-align: center;
}

.contact-card h2 {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--dark);
  margin-bottom: var(--space-4);
}

.contact-card > p {
  font-size: var(--font-size-base);
  color: var(--text-muted);
  line-height: var(--line-height-relaxed);
  max-width: 480px;
  margin: 0 auto var(--space-2);
}

/* ==========================================================================
   Contact channel links (email / instagram / facebook)
   ========================================================================== */
.contact-channels {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  margin: var(--space-6) 0;
}

.contact-channel {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
  max-width: 340px;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  background: var(--surface-alt);
  border: 1px solid var(--border-color);
  color: var(--text-body);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.contact-channel:hover {
  background: #eef2f7;
  border-color: rgba(var(--primary-rgb), 0.3);
  color: var(--text-body);
  transform: translateY(-1px);
}

.contact-channel i,
.contact-channel img {
  flex: 0 0 auto;
}

.contact-channel i {
  color: var(--primary);
  font-size: 1.15rem;
  width: 24px;
  text-align: center;
}

.contact-channel img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: cover;
}

/* ==========================================================================
   Info sections (Account enquiries / Boost your visibility)
   Plain two-column layout, separated by a top divider rather than a
   boxed card -- consistent with the rest of the page.
   ========================================================================== */
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-top: var(--space-7);
  padding-top: var(--space-7);
  border-top: 1px solid var(--border-color);
  text-align: left;
}

.contact-info-card h5 {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  color: var(--primary);
  margin-bottom: var(--space-3);
}

.contact-info-card p {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-2);
}

.contact-info-card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .contact-card {
    padding: var(--space-4) 0 var(--space-6);
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}
