/* =========================
   NVRSLF – Semantic Layout
   Chapter 2 Compliant
   ========================= */

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Page structure */
html, body {
  height: 100%;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #0e0e0e;
  color: #ffffff;
  line-height: 1.6;

  /* KEY FIX */
  display: flex;
  flex-direction: column;
}

/* Header */
header {
  padding: 30px 20px;
  text-align: center;
  border-bottom: 1px solid #2a2a2a;
}

header h1 {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-align: center;

  /* optical centering fix */
  text-indent: 0.3em;
}

header .tagline {
  margin-top: 12px;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: #bfbfbf;
  font-style: italic;
}

header .tagline::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background-color: #2a2a2a;
  margin: 14px auto 0;
}

/* Navigation */
nav {
  padding: 12px;
  background-color: #141414;

  display: flex;
  justify-content: center;
  gap: 28px; /* 👈 spacing between links */
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
}

/* Main content */
main {
  flex: 1;
  padding: 40px 20px;
}

/* Section */
section {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Page-centered content (Contact, About if needed) */
.page-center {
  max-width: 800px;
  margin: 120px auto 0; /* THIS is the magic */
  text-align: center;
}

/* Headings */
h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Paragraph */
p {
  font-size: 1rem;
  color: #cccccc;
  max-width: 650px;
  margin: 0 auto;
}

/* Footer */
footer {
  padding: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #888888;
  border-top: 1px solid #2a2a2a;
}

.about-list {
  list-style: none;
  margin: 40px auto 0;
  padding: 0;
  max-width: 600px;
}

.about-list li {
  margin: 14px 0;
  font-size: 1rem;
  color: #cccccc;
  letter-spacing: 0.05em;
  text-align: center;
}

.about-subhead {
  margin-top: 50px;
  margin-bottom: 20px;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
}

/* Footer email & contact links */
footer a,
main a {
  color: #ffffff;
  text-decoration: none;
}

footer a:hover,
main a:hover {
  opacity: 0.8;
}

/* Hero image */
.hero {
  max-width: 1200px;
  margin: 40px auto;
}

.hero img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}

/* Hero text UNDER image */
.hero-text {
  text-align: center;
  max-width: 800px;
  margin: 40px auto 0;
  padding: 0 20px;
}

.hero-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.hero-text p {
  font-size: 1rem;
  color: #cccccc;
}

/* =========================
   Mobile adjustments
   ========================= */
@media (max-width: 768px) {
  .hero img {
    max-height: 45vh;
  }

  .hero-text h2 {
    font-size: 1.6rem;
  }

  .hero-text p {
    font-size: 0.95rem;
  }
}






























