/* ============================================
   COLUMBINE KNOLLS — PAGE SPECIFIC STYLES
   ============================================ */

/* Hero background */
.hero-columbine-knolls {
  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-1600488999085-03ca3bc48c86?w=1600&auto=format&fit=crop') center/cover no-repeat;
}

/* Hero Trust Strip */
.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;
}
@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: Plumbing Health Dashboard
   ============================================ */
.dashboard-section {
  background:
    linear-gradient(180deg, #0F1E2A 0%, #091620 100%);
  position: relative;
  overflow: hidden;
}
.dashboard-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 143, 188, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 143, 188, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.dashboard-section .section-header { position: relative; z-index: 1; }
.dashboard-section .section-label {
  background: #1A8FBC !important;
  color: #fff !important;
}
.dashboard-section .section-header h2 { color: #fff; }
.dashboard-section .section-header p { color: #A3B4C2; }

.dashboard-panel {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(180deg, #152838 0%, #0E1F2D 100%);
  border: 1px solid rgba(26, 143, 188, 0.25);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(26, 143, 188, 0.08) inset;
}

.dashboard-top-bar {
  background: linear-gradient(90deg, #0C3547 0%, #134B63 100%);
  padding: 18px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(26, 143, 188, 0.3);
  flex-wrap: wrap;
}

.dashboard-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.dashboard-brand-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow:
    0 0 0 4px rgba(74, 222, 128, 0.2),
    0 0 12px rgba(74, 222, 128, 0.6);
  animation: pulse-green 2s ease-in-out infinite;
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.2), 0 0 12px rgba(74, 222, 128, 0.6); }
  50% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0.05), 0 0 20px rgba(74, 222, 128, 0.8); }
}
.dashboard-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.dashboard-brand-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
}
.dashboard-brand-sub {
  font-size: 0.75rem;
  color: #88A3B5;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 2px;
}

.dashboard-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(74, 222, 128, 0.12);
  color: #4ADE80;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border: 1px solid rgba(74, 222, 128, 0.3);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  animation: pulse-green 1.6s ease-in-out infinite;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(26, 143, 188, 0.15);
  padding: 1px;
}

.dashboard-card {
  background: linear-gradient(180deg, #152838 0%, #0E1F2D 100%);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  transition: background 0.3s ease;
  position: relative;
  overflow: hidden;
}
.dashboard-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: currentColor;
  opacity: 0.9;
}
.dashboard-card.alert-level-high { color: #EF4444; }
.dashboard-card.alert-level-warning { color: #F39C12; }
.dashboard-card.alert-level-monitor { color: #1A8FBC; }

.dashboard-card:hover {
  background: linear-gradient(180deg, #1A3045 0%, #142534 100%);
}

.dashboard-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.dashboard-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(26, 143, 188, 0.12);
  border: 1px solid rgba(26, 143, 188, 0.25);
  color: #1A8FBC;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.alert-level-high .dashboard-icon {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.3);
  color: #EF4444;
}
.alert-level-warning .dashboard-icon {
  background: rgba(243, 156, 18, 0.12);
  border-color: rgba(243, 156, 18, 0.3);
  color: #F39C12;
}
.alert-level-monitor .dashboard-icon {
  background: rgba(26, 143, 188, 0.12);
  border-color: rgba(26, 143, 188, 0.3);
  color: #1A8FBC;
}

.dashboard-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
}
.status-alert {
  background: rgba(239, 68, 68, 0.15);
  color: #EF4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.status-warning {
  background: rgba(243, 156, 18, 0.15);
  color: #F39C12;
  border: 1px solid rgba(243, 156, 18, 0.3);
}
.status-monitor {
  background: rgba(26, 143, 188, 0.15);
  color: #1A8FBC;
  border: 1px solid rgba(26, 143, 188, 0.3);
}

.dashboard-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px 0;
  line-height: 1.35;
}
.dashboard-card p {
  color: #A3B4C2;
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0 0 16px 0;
  flex: 1;
}

.dashboard-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: rgba(9, 22, 32, 0.6);
  border-radius: 8px;
  border: 1px dashed rgba(26, 143, 188, 0.2);
  margin-top: auto;
}
.metric-label {
  font-size: 0.7rem;
  color: #88A3B5;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}
.metric-value {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #4ADE80;
}

.dashboard-footer {
  background: linear-gradient(90deg, #0C3547 0%, #134B63 100%);
  padding: 20px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(26, 143, 188, 0.3);
  flex-wrap: wrap;
}
.dashboard-footer-text {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #E2E8F0;
  font-size: 0.92rem;
  font-weight: 500;
}
.dashboard-footer-text i {
  color: #4ADE80;
  font-size: 1.1rem;
}

.dashboard-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #D63031;
  color: #fff;
  padding: 11px 22px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.92rem;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 6px 16px rgba(214, 48, 49, 0.4);
}
.dashboard-cta:hover {
  background: #B71C1C;
  transform: translateY(-2px);
}

/* Tablet */
@media (max-width: 900px) {
  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashboard-top-bar { padding: 16px 20px; }
  .dashboard-card { padding: 20px 18px; }
}

/* Mobile */
@media (max-width: 600px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-top-bar {
    padding: 14px 18px;
    gap: 12px;
  }
  .dashboard-brand-title { font-size: 0.92rem; }
  .dashboard-brand-sub { font-size: 0.68rem; }
  .dashboard-status-pill { font-size: 0.7rem; padding: 6px 11px; }
  .dashboard-card { padding: 18px 16px; }
  .dashboard-icon { width: 40px; height: 40px; font-size: 1rem; }
  .dashboard-card h3 { font-size: 1rem; }
  .dashboard-card p { font-size: 0.85rem; }
  .dashboard-footer {
    padding: 18px 20px;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .dashboard-footer-text { justify-content: center; font-size: 0.85rem; }
  .dashboard-cta { justify-content: center; width: 100%; }
}