/* ==========================================================================
   Burst Pipe Replacement Page-Specific CSS
   ========================================================================== */

/* Hero Section Background Image Override (Matches Master Template) */
.hero-burst-pipe-replacement {
  background:
    linear-gradient(135deg, rgba(9, 31, 44, 0.90) 0%, rgba(12, 53, 71, 0.86) 50%, rgba(19, 75, 99, 0.80) 100%),
    url('https://images.unsplash.com/photo-1585704032915-c3400ca199e7?w=1600&auto=format&fit=crop') center/cover no-repeat;
}

/* Trust Strip Inside Hero Section */
.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-top: 32px;
  padding-top: 24px;
  max-width: 800px;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #E2E8F0;
  font-size: 0.95rem;
  font-weight: 500;
}

.hero-trust-item i {
  color: #4ADE80;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Mobile Breakpoint for Trust Items */
@media (max-width: 768px) {
  .hero-trust-strip {
    gap: 14px;
    margin-top: 24px;
    padding-top: 18px;
  }

  .hero-trust-item {
    font-size: 0.9rem;
    flex: 1 1 100%;
  }
}

/* ==========================================================================
   UNIQUE SECTION DESIGN: Material Selection Spec Showcase
   ========================================================================== */

.pipe-materials-section {
  background-color: var(--primary-dark);
  color: #ffffff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.pipe-materials-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #B87333 0%, var(--blue-accent) 50%, #E67E22 100%);
}

.pipe-materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.material-card {
  background: #0F2A38;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.material-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

.material-copper { border-top: 4px solid #B87333; }
.material-pex { border-top: 4px solid var(--blue-accent); }
.material-cpvc { border-top: 4px solid #E67E22; }

.material-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.material-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.material-copper .material-icon { color: #D47A22; }
.material-pex .material-icon { color: var(--blue-accent); }
.material-cpvc .material-icon { color: #E67E22; }

.material-title-wrap h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.material-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
}

.badge-copper {
  background: rgba(184, 115, 51, 0.2);
  color: #E89A4E;
  border: 1px solid rgba(184, 115, 51, 0.4);
}

.badge-pex {
  background: rgba(26, 143, 188, 0.2);
  color: #5BC0EB;
  border: 1px solid rgba(26, 143, 188, 0.4);
}

.badge-cpvc {
  background: rgba(230, 126, 34, 0.2);
  color: #F39C12;
  border: 1px solid rgba(230, 126, 34, 0.4);
}

.material-desc {
  font-size: 0.95rem;
  color: #94A3B8;
  line-height: 1.5;
  margin-bottom: 24px;
}

.material-specs {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.material-spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.material-spec-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.spec-label {
  color: #94A3B8;
  font-weight: 500;
}

.spec-value {
  color: #ffffff;
  font-weight: 600;
}

.material-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
  color: #CBD5E1;
  margin-top: auto;
}

.material-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.material-features li i {
  color: #4ADE80;
  margin-top: 3px;
  font-size: 0.85rem;
}

.material-footer-banner {
  margin-top: 40px;
  background: rgba(26, 143, 188, 0.12);
  border: 1px solid rgba(26, 143, 188, 0.3);
  border-radius: 8px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #E2E8F0;
  font-weight: 500;
  font-size: 1rem;
}

.material-footer-banner i {
  font-size: 1.5rem;
  color: var(--blue-accent);
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .pipe-materials-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 576px) {
  .pipe-materials-section {
    padding: 50px 0;
  }
  
  .material-card {
    padding: 24px 18px;
  }

  .material-footer-banner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}