html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}
html { height: 100%; }

body {
  font-family: 'Georgia', serif;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  color: #000;
  background-image: url('https://matsandsarah.com/uploads/background.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
}

/* ===== Header ===== */
header {
  padding: 60px 20px 20px;
  text-align: center;
}

.header-content img, .header-content svg {
  height: 64px;
  width: auto;
  display: block;
  margin: 0 auto 14px;
}

/* ===== NAV: centered pill, not full width ===== */
nav {
  /* remove the full-width bar */
  background: transparent;
  padding: 0 20px;
  display: flex;
  justify-content: center;
}

.menu {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  padding: 10px 16px;
  border-radius: 9999px;                /* big round pill */
  background: rgba(0, 0, 0, 0.60);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  max-width: min(1100px, 92vw);
}

nav a {
  color: #fff;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 9999px;
  transition: background .2s ease, transform .08s ease;
  font-size: 15px;
  line-height: 1;
}

nav a:hover { background: rgba(255,255,255,0.12); }
nav a:active { transform: translateY(1px); }

/* Mobile menu dressed like a pill too */
.mobile-menu {
  display: none;
  margin-top: 10px;
  text-align: center;
}
.mobile-menu select {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.60);
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* ===== Main content: floaty rounded card ===== */
.site-main {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 24px 20px 32px;
  background: transparent; /* keep bg image visible */
}

.content-card {
  width: 100%;
  max-width: 1100px;                      /* not full width */
  margin: 0 auto;
  padding: clamp(18px, 3.5vw, 40px);
  border-radius: 22px;                    /* rounded corners */
  background: rgba(255,255,255,0.80);     /* ghosted white */
  box-shadow: 0 20px 60px rgba(0,0,0,0.28),
              0 2px 10px rgba(0,0,0,0.08);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.6);
}

/* OPTIONAL: make inner headings look crisp inside the card */
.content-card h1, .content-card h2, .content-card h3 {
  margin-top: 0;
}

/* ===== Footer: centered rounded bar, not full width ===== */
footer {
  text-align: center;
  padding: 0 20px 30px;
  background: transparent; /* remove full-width strip */
}

footer .footer-bar {
  display: inline-block;
  padding: 8px 14px;
  color: #fff;
  background: rgba(0,0,0,0.60);
  border-radius: 14px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .menu { gap: 12px; padding: 8px 12px; }
}

@media (max-width: 600px) {
  .menu { display: none; }
  .mobile-menu { display: block; }
  .content-card { border-radius: 16px; }
}
