/* Boxed layout styles for Kustom Kreation 3D */
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: #222;
  background: #f3f4f6; /* page background (stays edge-to-edge) */
}

/* Container keeps content comfortable on all devices */
.container {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

/* The boxed sections (header, main, footer) */
.section-box {
  max-width: 960px;    /* slightly wider than inner container for breathing room */
  width: 100%;
  margin: 20px auto;   /* center the box and add space between sections */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Individual section looks */
.section-header {
  background: #2563eb; /* blue */
  color: #fff;
  text-align: center;
  padding: 24px 0;
}
.site-title { margin: 0; font-size: 1.8rem; }

.section-main {
  background: #ffffff; /* white */
  text-align: left;
  padding: 28px 0;
}
.section-main ul { padding-left: 1.2rem; }
.section-main a { color: #2563eb; }
.section-main a:hover { text-decoration: underline; }

.section-footer {
  background: #10b981; /* green */
  color: #fff;
  text-align: center;
  padding: 20px 0;
}
.section-footer a { color: #fff; font-weight: 600; }

/* Small tweaks for very narrow screens */
@media (max-width: 420px) {
  .section-box { margin: 12px auto; border-radius: 8px; }
  .site-title { font-size: 1.4rem; }
}
