/* styles.css - shared across all pages */

body, html {
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

body {
  background-image: url('/C4-Logo.PNG');
  background-repeat: repeat;
  background-position: center top;
  background-attachment: fixed;
  position: relative;
  font-family: sans-serif;
  background-color: #111;
  color: white;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
  pointer-events: none;
}

.container, .content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

h1 {
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-weight: bold;
  margin: 0.5rem 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 4px 4px 0 #000, 7px 7px 0 #000;
  font-size: clamp(3.5rem, 12vw, 10rem);
  line-height: 0.92;
}

nav {
  margin: 1rem 0 2rem;
}

nav a {
  color: #ffcc00;
  text-decoration: none;
  font-size: 1.4rem;
  margin: 0 1.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 0 #000;
  transition: color 0.3s;
}

nav a:hover {
  color: white;
}

footer {
  text-align: center;
  padding: 2rem 0;
  font-size: 1rem;
  opacity: 0.8;
  margin-top: auto;
}

/* Mobile-first background scaling */
body {
  background-size: 220px auto;
}

@media (min-width: 640px) {
  body { background-size: 320px auto; }
  h1 { font-size: clamp(6rem, 10vw, 12rem); }
}

@media (min-width: 1024px) {
  body { background-size: 450px auto; }
  h1 { font-size: clamp(9rem, 9vw, 14rem); }
}

@media (min-width: 1440px) {
  body { background-size: 520px auto; }
  h1 { font-size: clamp(10rem, 8vw, 16rem); }
}
