/* Base & Layout */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #001133; /* Midnight blue */
  color: #e0e6f2; /* Soft off-white */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Navigation */
.site-nav {
  width: 100%;
  background-color: #0b1e4d; /* Dark blue */
  display: flex;
  justify-content: center;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 6px #001f4dcc;
}

/* Navbar Styles */
.navbar {
  background-color: #000a1f; /* Deep midnight blue */
  text-align: center;
  padding: 1rem 0;
  border-bottom: 2px solid #00ffff; /* Electric blue underline */
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  gap: 1.5rem;
}

.navbar li {
  margin: 0;
}

.navbar a {
  text-decoration: none;
  color: #00ffff; /* Electric blue text */
  font-size: 1.2rem;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border: 1px solid transparent;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.navbar a:hover {
  border: 1px solid #ffd700; /* Gold border on hover */
  background-color: #1a0033;  /* Slight purple hover background */
}

.site-nav a {
  color: #00aaff; /* Electric blue */
  margin: 0 18px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15em;
  border-bottom: 3px solid transparent;
  padding-bottom: 4px;
  transition: border-color 0.3s ease;
}

.site-nav a:hover,
.site-nav a:focus {
  border-bottom: 3px solid #00aaff;
}

/* Hero (front page) */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  max-width: 1000px;
  background: url('../images/beaconaurora.png') no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
  margin-top: 50px; /* below nav */
}

.overlay {
  background-color: rgba(0, 0, 0, 0.55);
  padding: 30px;
  border-radius: 12px;
  color: #e0e6f2;
  max-width: 600px;
  box-shadow: 0 0 25px 6px rgba(249, 197, 111, 0.4); /* Gold glow */
}

h1 {
  font-size: 3.2em;
  margin-bottom: 0.2em;
  color: #f9c56f; /* Warm gold */
}

.motto {
  font-size: 1.3em;
  margin-bottom: 1.8em;
  font-weight: 500;
  line-height: 1.4;
}

/* Buttons */
.buttons a {
  display: inline-block;
  background-color: #3a1f5f; /* Dark purple */
  color: #e0e6f2;
  padding: 12px 28px;
  margin: 0 12px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1em;
  border: 1.5px solid #f9c56f; /* Fine gold ring */
  box-shadow: 0 0 10px #00aaff77;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.buttons a:hover,
.buttons a:focus {
  background-color: #5b3a97; /* Lighter purple */
  box-shadow: 0 0 15px #00aaffbb;
  color: #fff;
}

/* Images */
img {
  border-radius: 12px;
  border: 2px solid #f9c56f;
  max-width: 90%;
  height: auto;
  box-shadow: 0 0 20px #f9c56f88, 0 0 30px #00aaff66;
  margin: 20px auto;
  display: block;
}

/* Poetry & prose blocks */
.poem, .transmission {
  max-width: 800px;
  margin: 2em auto;
  line-height: 1.4;
  font-style: italic;
  font-size: 1.25em;
  white-space: pre-wrap;
  color: #e0e6f2;
  text-align: center;
}

/* Story blocks */
.story, .story-block {
  background-color: #192a55; /* Deep midnight blue block */
  border-radius: 12px;
  padding: 1.5em;
  margin-bottom: 2em;
  box-shadow: 0 0 15px #00aaff44;
  color: #e0e6f2;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

/* Headings inside story */
.story h2, .story-block h3 {
  color: #f9c56f;
  margin-top: 0;
}
