:root {
  --primary: #003366;
  --primary-light: #335c99;
  --accent: #f5f7fb;
  --card-bg: #ffffff;
  --text-main: #102030;
  --link: #335c99;
  --link-hover: #003366;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.25);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background: #000;
  height: 100%;
}

/* ---------------------------------------------------
   BACKGROUND LAYERS
--------------------------------------------------- */

.page-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/header.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.page-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
  z-index: 1;
}

.site-header,
.content,
.site-footer {
  position: relative;
  z-index: 2;
}

/* ---------------------------------------------------
   HEADER
--------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand h1 {
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
}

.brand p {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.main-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.main-nav a {
  color: #f5f7fb;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.main-nav a:hover {
  background: #ffffff;
  color: var(--primary);
  border-color: transparent;
}

/* ---------------------------------------------------
   CONTENT
--------------------------------------------------- */

.content {
  max-width: 1100px;
  margin: 1.5rem auto 2.5rem;
  padding: 0 1.25rem 2rem;
}

/* ---------------------------------------------------
   GLASS CARDS
--------------------------------------------------- */

.card {
  background: rgba(255, 255, 255, 0.25); /* GLASS */
  border-radius: 14px;
  padding: 2rem 2rem 1.75rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

/* Soft white text inside cards */
.card,
.card p,
.card li {
  color: rgba(255, 255, 255, 0.80);
}

.card h2,
.card h3 {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.card a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.card a:hover {
  color: rgba(255, 255, 255, 0.90);
  text-decoration: underline;
}

.card p {
  line-height: 1.6;
  margin: 0.5rem 0;
}

/* ---------------------------------------------------
   DOCUMENT SECTIONS
--------------------------------------------------- */

.doc-section {
  margin-top: 1.75rem;
}

.doc-section h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
}

.doc-section ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.doc-section li {
  margin: 0.4rem 0;
  padding-left: 0.25rem;
}

/* ---------------------------------------------------
   BUTTON (recycling link)
--------------------------------------------------- */

.button,
.card .button,
.content .button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff !important;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.button:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

/* ---------------------------------------------------
   FOOTER
--------------------------------------------------- */

.site-footer {
  text-align: center;
  padding: 1rem 1.25rem 1.5rem;
  color: #e0e6f0;
  font-size: 0.85rem;
}

/* ---------------------------------------------------
   RESPONSIVE
--------------------------------------------------- */

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand h1 {
    font-size: 1.4rem;
  }

  .card {
    padding: 1.5rem 1.25rem 1.25rem;
  }
}