/* =========================
   Public site base styles
   ========================= */

:root{
  --bg: #f6f7fb;
  --card: #fff;
  --border: #e6e6e6;
  --text: #111;
  --muted: #666;
  --radius: 12px;
}

*{ box-sizing: border-box; }

html, body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Roboto, system-ui, -apple-system, "Segoe UI",
               "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{ color:#1a73e8; text-decoration:none; }
a:hover{ text-decoration:underline; }

.container{ max-width: 960px; margin: 0 auto; padding: 0 16px; }

.header{
  background:#fff;
  border-bottom:1px solid var(--border);
  padding:18px 20px;
}

/* Card */
.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin: 18px 0;
}

h1,h2,h3{ margin: 0 0 10px; }
.muted{ color: var(--muted); font-size: 13px; }


/* =========================
   Services — two columns with tinted status
   ========================= */

.services-grid{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.service-row{
  display: grid;
  grid-template-columns: 1fr 140px;  /* left: info | right: fixed badge column */
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;                  /* clip tinted side neatly */
  transition: background .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.service-row:hover{
  background:#f9fbff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  border-color:#e3e7ef;
}

.service-info{
  padding: 12px 16px;
  min-width: 0;
}

.service-info strong{
  font-weight: 600;
  display: block;
}

.service-info .desc{
  font-size: .9rem;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.3;
}

/* Right-hand badge column (tinted by status) */
.service-status{
  text-align: center;
  padding: 12px 0;
  font-weight: 600;
  border-left: 1px solid var(--border);
}

/* =========================
   Maintenance & Incidents
   ========================= */

.meta{
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.item{
  border-left: 4px solid #eee;
  padding-left: 12px;
  margin: 12px 0;
}

.timeline{
  margin-top: 8px;
  padding-left: 12px;
  border-left: 2px dashed #e0e0e0;
}

.update{ margin: 8px 0; }

/* =========================
   Footer
   ========================= */

footer .container{
  text-align:center;
  color:#888;
  font-size:12px;
  padding:24px 0 40px;
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 600px){
  .service-row{ grid-template-columns: 1fr; }
  .service-status{
    border-left: none;
    border-top: 1px solid var(--border);
    background: none;     /* remove tint when stacked */
    text-align: left;
    padding: 10px 16px;
  }
  .service-status .badge{ width: auto; }
}

/* =========================
   Animations
   ========================= */

@keyframes fadeInBanner{
  from{ opacity: 0; transform: translateY(-8px); }
  to  { opacity: 1; transform: translateY(0); }
}
