/*
Theme Name:   IXT Construction Child
Template:     zaaztheme
Description:  Child theme of zaaztheme for ixtconstruction.ca.
Author:       Zaaz
Version:      0.2.0
Text Domain:  ixtconstruction-child
*/

/* Typography — Oswald (industrial condensed) + Inter */

body, .zt-main, .zt-footer, .zt-top-bar {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  letter-spacing: -0.005em;
  color: #1F2937;
  background: #FAFAFA;
}

.zt-site-title, .zt-site-title a, .zt-header-brand {
  font-family: 'Oswald', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

.zt-nav__link, .zt-nav__submenu .zt-nav__link,
.zt-top-bar-menu .menu-item a, .zt-footer__menu .menu-item a {
  font-family: 'Oswald', 'Inter', sans-serif;
  font-weight: 500;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #1F2937;
}
.zt-nav__link:hover, .zt-footer__menu .menu-item a:hover {
  color: #F59E0B;
}

h1, h2, h3, h4, h5, h6, .zt-heading {
  font-family: 'Oswald', 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: #0F172A;
}

/* Hero — dark + safety yellow accents + construction photo */

.ix-hero-bg {
  position: relative;
  margin: -96px calc(50% - 50vw) 0;
  padding: 140px calc(50vw - 50%) 120px;
  color: #FAFAFA;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(15,23,42,0.93) 0%, rgba(15,23,42,0.82) 45%, rgba(245,158,11,0.35) 100%),
    url("/wp-content/uploads/2026/04/ix-hero.jpg") center/cover no-repeat,
    #0F172A;
}

.ix-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 100% 100%, rgba(245,158,11,0.18) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.ix-hero-bg > * { position: relative; z-index: 1; }

.ix-subhero {
  position: relative;
  margin: -96px calc(50% - 50vw) 0;
  padding: 88px calc(50vw - 50%) 64px;
  color: #FAFAFA;
  background: linear-gradient(105deg, #0F172A 0%, #1F2937 60%, #3A2B14 100%);
}

.ix-accent-bar {
  width: 64px; height: 4px;
  background: #F59E0B; border-radius: 2px;
  margin: 0 0 20px;
}
.ix-accent-bar--center { margin-left: auto; margin-right: auto; }

.ix-eyebrow {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #F59E0B;
  margin-bottom: 14px;
}

.ix-card {
  display: block;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease;
  overflow: hidden;
}
.ix-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
}

.ix-service-img {
  display: block;
  width: calc(100% + 56px);
  margin: -28px -28px 20px;
  height: 180px;
  object-fit: cover;
}

.ix-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  text-decoration: none !important;
  transition: all 180ms ease;
}
.ix-btn--primary {
  background: #F59E0B;
  color: #0F172A !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}
.ix-btn--primary:hover {
  background: #D97706;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);
  transform: translateY(-1px);
}
.ix-btn--ghost {
  background: transparent;
  color: #FAFAFA !important;
  border: 1.5px solid rgba(250, 250, 250, 0.4);
}
.ix-btn--ghost:hover {
  background: rgba(250, 250, 250, 0.1);
  border-color: rgba(250, 250, 250, 0.8);
}
.ix-btn--whatsapp {
  background: #25D366;
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}
.ix-btn--whatsapp:hover {
  background: #1DA851;
}

/* Grids */
.ix-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.ix-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ix-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.ix-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.ix-row-icon { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.ix-icon-badge {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px;
  background: rgba(245, 158, 11, 0.15); color: #F59E0B;
  display: inline-flex; align-items: center; justify-content: center;
}

.ix-stat-value {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1;
  color: #F59E0B;
}

/* Gallery */
.ix-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ix-gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 220ms ease;
}
.ix-gallery img:hover { transform: scale(1.03); }

/* Responsive */
@media (max-width: 900px) {
  .ix-hero-bg, .ix-subhero { padding-left: 24px; padding-right: 24px; }
  .ix-grid-2, .ix-grid-3, .ix-hero-grid, .ix-gallery {
    grid-template-columns: 1fr !important;
  }
  .ix-gallery { grid-template-columns: repeat(2, 1fr) !important; }
}
