/**
 * Ambiant Housing & Construction Pvt. Ltd.
 * Layout CSS: Container Grids, Hero, Split Layouts, Page Headers & Sections
 */

/* ==========================================================================
   1. CONTAINERS & SECTION WRAPPERS
   ========================================================================== */
.site-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.site-container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.site-container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.section-padding {
  padding-top: var(--space-20);
  padding-bottom: var(--space-20);
  position: relative;
}

.section-padding-lg {
  padding-top: var(--space-24);
  padding-bottom: var(--space-24);
  position: relative;
}

.section-surface {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* ==========================================================================
   2. HOMEPAGE HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: var(--space-16) 0;
  background-color: #080A0D;
}

.hero-background-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.65;
}

.hero-background-media img,
.hero-background-media svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg, 
    #080A0D 0%, 
    rgba(8, 10, 13, 0.92) 45%, 
    rgba(8, 10, 13, 0.5) 75%, 
    rgba(8, 10, 13, 0.75) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.35rem 0.85rem;
  background-color: rgba(194, 162, 111, 0.1);
  border: 1px solid var(--accent-gold-border);
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--accent-gold);
  margin-bottom: var(--space-6);
}

.hero-title {
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: var(--space-6);
}

.hero-title span.text-gold {
  color: var(--accent-gold);
}

.hero-tagline {
  font-family: var(--font-mono);
  font-size: var(--text-base);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--concrete-light);
  margin-bottom: var(--space-4);
}

.hero-lead {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-8);
  max-width: 640px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

.hero-footer-ribbon {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.hero-ribbon-item {
  display: flex;
  flex-direction: column;
}

.hero-ribbon-label {
  color: var(--text-dim);
  font-size: 0.7rem;
  margin-bottom: 2px;
}

.hero-ribbon-val {
  color: var(--text-primary);
  font-weight: 600;
}

/* ==========================================================================
   3. SUB-PAGE HERO BANNER
   ========================================================================== */
.page-hero {
  position: relative;
  padding: var(--space-16) 0 var(--space-12);
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-dim);
  margin-bottom: var(--space-4);
}

.page-breadcrumb a {
  color: var(--text-muted);
}

.page-breadcrumb a:hover {
  color: var(--accent-gold);
}

.page-breadcrumb span.divider {
  color: var(--text-dim);
}

.page-breadcrumb span.current {
  color: var(--accent-gold);
}

.page-hero-title {
  font-size: var(--text-5xl);
  font-weight: 800;
  margin-bottom: var(--space-3);
  color: #FFFFFF;
}

.page-hero-lead {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.6;
}

/* ==========================================================================
   4. SPLIT EDITORIAL & 2-COLUMN LAYOUTS
   ========================================================================== */
.split-layout-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.split-layout-2col.align-start {
  align-items: start;
}

.split-media-box {
  position: relative;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--bg-surface-elevated);
}

.split-media-box img,
.split-media-box svg {
  width: 100%;
  height: auto;
  display: block;
}

.spec-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.spec-item {
  padding: var(--space-4);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
}

.spec-item-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-gold);
  margin-bottom: 2px;
}

.spec-item-val {
  font-size: var(--text-sm);
  color: var(--text-primary);
  font-weight: 600;
}

/* ==========================================================================
   5. STATS & FACTUAL SNAPSHOT
   ========================================================================== */
.facts-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  padding: var(--space-8);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.fact-item {
  display: flex;
  flex-direction: column;
}

.fact-value {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: var(--space-1);
}

.fact-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ==========================================================================
   6. CONTACT TWO-COLUMN LAYOUT
   ========================================================================== */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: var(--space-12);
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact-info-card {
  padding: var(--space-6);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.contact-info-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--accent-gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.contact-info-val {
  font-size: var(--text-base);
  color: var(--text-primary);
  font-weight: 600;
}

.contact-info-note {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 4px;
}
