/* ===== Facility Maintenance Website - shared styles ===== */

/* Reset & base */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --brand: #e8590c;        /* main orange */
  --brand-dark: #111111;   /* black (used for headings & footer) */
  --accent: #ff922b;       /* lighter orange */
  --text: #222;
  --muted: #6b6b6b;
  --bg: #ffffff;
  --bg-soft: #fff4ec;      /* soft warm/orange tint */
}

body {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
}

img { max-width: 100%; display: block; }
a { color: var(--brand); }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header / Menu bar ===== */
.site-header {
  background: var(--brand);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 14px 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.brand {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.5px;
}
.menu {
  list-style: none;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.menu a {
  color: #fff;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 15px;
  display: block;
}
.menu a:hover,
.menu a.active {
  background: rgba(255, 255, 255, 0.18);
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #ffe3c7, #fff6ee);
  color: #222;
  text-align: center;
  padding: 70px 20px;
}
.hero h1 { font-size: 38px; margin-bottom: 12px; }
.hero p { font-size: 18px; max-width: 640px; margin: 0 auto 22px; opacity: 0.95; }
.bad-247 {
  display: inline-block;
  background: #111;
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 10px 28px;
  border-radius: 40px;
  margin-bottom: 20px;
  opacity: 1;
}
.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 12px 26px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
}
.btn:hover { background: #cf4f0a; }

/* ===== Sections ===== */
.section { padding: 55px 0; }
.section.alt { background: var(--bg-soft); }
.section h2 { font-size: 28px; margin-bottom: 8px; color: var(--brand-dark); }
.section .lead { color: var(--muted); margin-bottom: 30px; max-width: 700px; }

/* ===== Clickable cards (picture -> drill down) ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.card {
  text-decoration: none;
  color: var(--text);
  background: #fff;
  border: 1px solid #e3e9ed;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.card .thumb {
  min-height: 170px;
  background: linear-gradient(135deg, var(--accent), var(--brand));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  text-align: center;
  padding: 16px;
}
.card .thumb.thumb-photo { padding: 0; min-height: 0; background: none; }
.card .thumb.thumb-photo img { width: 100%; height: 190px; object-fit: cover; }
.card .thumb .checklist { color: #fff; }
.card .thumb .checklist li::before { color: #fff; }
.card .card-body { padding: 16px 18px; }
.card h3 { color: var(--brand-dark); margin-bottom: 6px; font-size: 18px; }
.card p { color: var(--muted); font-size: 14px; }

/* ===== Simple content blocks ===== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}
.block h3 { color: var(--brand-dark); margin-bottom: 6px; }
.block p { color: var(--muted); }

ul.checklist { list-style: none; margin-top: 10px; }
ul.checklist li { padding: 6px 0 6px 26px; position: relative; }
ul.checklist li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  position: absolute;
  left: 0;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--brand-dark);
  color: #cdd9e2;
  padding: 30px 20px;
  text-align: center;
  font-size: 14px;
  margin-top: 20px;
}
.site-footer a { color: #fff; }

/* ===== Mobile ===== */
@media (max-width: 640px) {
  .nav { flex-direction: column; align-items: flex-start; gap: 10px; }
  .menu { width: 100%; }
  .hero h1 { font-size: 28px; }
}
