/* ============================================================
   layout.css — Handyman Buerck
   Header, footer, nav, page wrappers, card layouts
   ============================================================ */

/* --- Page Wrapper --- */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
  padding: 2rem 1rem;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

.container--narrow {
  max-width: 580px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* --- Hero / Gradient Background --- */
.hero-bg {
  background: linear-gradient(to bottom, var(--mint) 0%, var(--white) 65%);
  padding: 2rem 1rem;
}

/* --- Card --- */
.card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 3rem 2.5rem 2.5rem;
  width: 100%;
  text-align: center;
}

/* --- Site Header --- */
.site-header {
  background: #000000;
  padding: 0.4rem 1rem;
}

.site-header .inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header .logo-wrap {
  width: 120px;
  flex-shrink: 0;
}

.site-header .logo-wrap img {
  width: 100%;
  height: auto;
}

/* --- Header Wordmark --- */
.header-wordmark {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.header-wordmark:hover {
  color: var(--mint);
  opacity: 1;
}

/* --- Site Nav --- */
.site-nav {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.15s;
}

.site-nav a:hover {
  color: var(--mint);
}

/* --- Site Footer --- */
.site-footer {
  background: #000000;
  color: #ffffff;
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.78rem;
}

.site-footer p {
  color: #ffffff;
}

.site-footer a {
  color: var(--mint);
}

.site-footer a:hover {
  color: var(--white);
}

/* --- Logo Wrap (page body use) --- */
.logo-wrap--page {
  margin: 0 auto 2rem;
  width: 280px;
  max-width: 100%;
}

/* --- Hearing Note --- */
.hearing-note {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 2rem;
  line-height: 1.5;
}

/* --- Responsive --- */
@media (max-width: 600px) {
  .card {
    padding: 2rem 1.25rem 1.75rem;
  }

  .site-header .inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.25rem;
    width: 100%;
  }

  .site-header .logo-wrap {
    width: auto;
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .header-wordmark {
    display: block;
    text-align: center;
    width: 100%;
  }

  .site-nav {
    justify-content: center;
    gap: 1rem;
    width: 100%;
  }

  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
}
