/* =========================
   MAINTENANCE PAGE LAYOUT
========================= */

/* ===== BODY ===== */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: #F5CB5C;
  color: #242423;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ===== CONTAINER ===== */
.container {
  flex: 1 0 auto;           
  display: flex;
  flex-direction: column;
  align-items: center;      
  justify-content: center;  
  text-align: center;
  padding: 2rem;
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* ===== LOGO ===== */
.brand-logo {
  margin-bottom: 1.5rem;
}

.brand-logo img {
  width: 300px;              /* oversized logo for desktop */
  max-width: 95%;            /* responsive constraint */
  height: auto;
  image-rendering: crisp-edges;
  image-rendering: -webkit-optimize-contrast;
}

/* ===== MAIN TITLE ===== */
.container h1 {
  max-width: 12ch;
  margin: 0 auto;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}

/* ===== BODY TEXT ===== */
.container p {
  max-width: 55ch;
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 1.4;
  margin-bottom: 1rem;
}

/* ===== SINGLE SECTION ===== */
.single-section p {
  font-size: 0.9rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

/* ===== INFO SECTIONS ===== */
.info-sections {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 300px;
}

.section {
  flex: 1;
}

.section:first-child {
  text-align: left;
}

.section:last-child {
  text-align: right;
}

.section p {
  font-size: 0.9rem;
  font-weight: 400;
  margin: 0;
}

.section a {
  color: inherit;
  text-decoration: none;
  font-weight: 400;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.section a:hover,
.section a:focus {
  text-decoration: underline;
  opacity: 1;
}

/* ===== SINGLE SECTION BOTTOM ===== */
.single-section-bottom p {
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 1rem;
  text-align: center;
  opacity: 0.9;
}

/* ===== FOOTER ===== */
.footer {
    flex-shrink: 0;           
    width: 100%;              
    text-align: center;       
    padding: 1rem 0;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.6;
}

.footer p {
    max-width: 100%;
    margin: 0;
    text-align: center;
}

/* =========================
   MOBILE RESPONSIVE ADJUSTMENTS
========================= */
@media (max-width: 768px) {
  /* Reduce top margin for logo and shift content slightly up */
  .container {
    justify-content: flex-start;
  }

  .brand-logo {
    margin-bottom: 0.8rem;     /* smaller gap below logo */
  }
  
  .brand-logo img {
    width: 280px;
    max-width: 90%;
    height: auto;
    margin-top: 4rem;
  }

  /* Main heading smaller but readable */
  .container h1 {
    font-size: 1.9rem;
    line-height: 1.1;
  }

  /* Body text smaller */
  .container p {
    font-size: 1rem;
    line-height: 1.35;
  }

  /* Single-section text */
  .single-section p {
    font-size: 0.9rem;
  }

  /* Footer adjustments */
  .footer {
    padding: 0.75rem 0;
    font-size: 0.85rem;
    text-align: center;
  }

  .footer p {
    max-width: 100%;
    margin: 0;
    text-align: center;
  }

  /* Single-section bottom */
  .single-section-bottom p {
    font-size: 0.85rem;
    margin-top: 0.75rem;
    text-align: center;
  }
}

@media (max-width: 600px) {
  /* Shift content upward more on small mobile */
  .container {
    gap: 1rem;
    padding: 1rem;
  }

  .brand-logo {
    margin-bottom: 0.5rem;
  }

  .brand-logo img {
    width: 240px;
    max-width: 95%;
    height: auto;
    margin-top: 4rem;
  }

  /* Headings smaller for small screens */
  .container h1 {
    font-size: 1.6rem;
    line-height: 1.15;
  }

  /* Body text smaller for mobile */
  .container p {
    font-size: 0.9rem;
    line-height: 1.3;
  }

  /* Single-section text */
  .single-section p {
    font-size: 0.85rem;
  }

  /* Info sections stacked vertically */
  .info-sections {
    flex-direction: column;
    gap: 0.5rem;
    max-width: 100%;
  }

  /* Sections centered */
  .section {
    text-align: center !important;
  }

  /* Footer and bottom section proportional */
  .footer {
    padding: 0.5rem 0;
    font-size: 0.8rem;
  }

  .footer p {
    font-size: 0.8rem;
  }

  .single-section-bottom p {
    font-size: 0.8rem;
    margin-top: 0.5rem;
  }
}