/* =========================================================
   FMS — Maintenance Landing Page
   ========================================================= */

:root {
  --pb-blue: #1c9ade;
  --pb-blue-dark: #0f6fa8;
  --pb-ink: #1D252C;
  --pb-ink-soft: #1D252C;
  --pb-card-bg: rgba(255, 255, 255, 0.86);
  --pb-radius: 28px;
  --pb-shadow: 0 30px 60px -20px rgba(15, 40, 70, 0.35);
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Rubik', sans-serif;
  color: var(--pb-ink);
  -webkit-font-smoothing: antialiased;
}

.page {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  overflow: hidden;
}

/* Background photo of the batching plant */
.backdrop {
  position: absolute;
  inset: 0;
  background-image: url("../images/main-background.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(0.9);
}

/* Soft light-blue wash to match the brand and keep the card legible */
.backdrop-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(225, 240, 250, 0.55) 0%,
      rgba(196, 226, 244, 0.65) 55%,
      rgba(168, 213, 238, 0.75) 100%);
}

/* ===== Card ===== */
.card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1000px;
  background: rgb(255 255 255 / 45%);
  backdrop-filter: blur(10px);
  border-radius: var(--pb-radius);
  box-shadow: var(--pb-shadow);
  padding: 56px 64px 48px;
  text-align: center;
}

.logo {
  width: 160px;
  max-width: 70%;
  height: auto;
  margin-bottom: 28px;
}

h1 {
  margin: 0 0 22px;
  font-size: clamp(2.1rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--pb-ink);
  text-transform: uppercase;
}

.lead {
  margin: 0 0 28px;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--pb-ink-soft);
}

.contact {
  margin: 0 0 32px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--pb-ink-soft);
}

.contact p {
  margin: 0;
}

.contact a {
  color: var(--pb-ink-soft);
  text-decoration: none;
  font-weight: 600;
}

.contact a:hover,
.contact a:focus-visible {
  text-decoration: underline;
}

.thanks {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pb-ink);
}

/* Accessible focus state */
a:focus-visible {
  outline: 2px solid var(--pb-blue);
  outline-offset: 3px;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
  .card {
    padding: 40px 28px 36px;
    border-radius: 20px;
  }

  h1 {
    font-size: 1.5rem;
  }
  .lead, .contact, .thanks {
      font-size: 1rem;
      line-height: 1.3;  
  }

/* Respect users who prefer reduced motion / transparency */
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
