/* =============================================================================
   CONTACT.CSS — Jaipur Stone Industries
   Contact page: hero · contact section (details + map).
   ============================================================================= */


/* =============================================================================
   1. CONTACT HERO
   Full-bleed 16:9 image anchored at y:0; header overlays transparently.
   Heading and supporting line centered on the image.
   ============================================================================= */

.contact-hero {
  padding: 0;
  margin: 0;
  background-color: var(--color-bg-primary);
  line-height: 0;
}

.contact-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  z-index: 1;
  pointer-events: none;
  line-height: normal;
}

.contact-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 6vw, var(--font-size-5xl));
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  line-height: 1;
  color: var(--color-text-primary);
  margin: 0;
  text-align: center;
}

.contact-hero__rule {
  display: block;
  width: 36px;
  height: 1px;
  background-color: var(--color-accent);
  margin-top: var(--space-1);
}

.contact-hero__line {
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-regular);
  letter-spacing: 0.01em;
  color: rgba(234, 234, 234, 0.5);
  text-align: center;
  margin: 0;
}


/* =============================================================================
   2. CONTACT SECTION
   Editorial two-column: contact details left · map right.
   Equal 1fr/1fr split — details and map carry equal visual weight.
   ============================================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--inner-spacing);
  align-items: start;
}


/* =============================================================================
   CONTACT DETAILS — left column
   ============================================================================= */

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.contact-detail-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* -----------------------------------------------------------------------------
   Section label — xs, uppercase, wider tracking, muted.
   Same register as .about-label across the site.
   ----------------------------------------------------------------------------- */
.contact-label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  color: var(--color-text-muted);
  line-height: 1;
}

/* Address, plain text values */
.contact-detail-value {
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-regular);
  font-style: normal;    /* override <address> default italic */
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
  margin: 0;
}

/* Email / phone links */
.contact-detail-link {
  display: block;
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-regular);
  color: var(--color-text-secondary);
  text-decoration: none;
  line-height: var(--line-height-relaxed);
  transition: color var(--transition-base);
}

.contact-detail-link:hover {
  color: var(--color-text-primary);
}


/* =============================================================================
   MAP — right column
   1:1 aspect ratio; iframe fills the container edge to edge.
   No decorative border or wrapper — clean architectural integration.
   ============================================================================= */

.contact-map {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--color-bg-tertiary);
}

.contact-map__iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}


/* =============================================================================
   RESPONSIVE
   ============================================================================= */

/* Tablet: stack at 768px — details first, map below */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .contact-map {
    aspect-ratio: 4 / 3;
  }
}
