/* Body & Fonts */

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('a.png') repeat;
  background-size: cover;
  opacity: 0.5; /* adjust transparency */
  pointer-events: none; /* so clicks pass through */
  z-index: -1; /* behind all content */
}

body {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  background-color: #f4ecd8; /* parchment-like base */
  color: #4b3b2a; /* dark sepia ink */

}

/* Header */
header {
  text-align: center;
  padding: 40px 20px;
  border-bottom: 2px solid #d1bfa7;
}

.title {
  font-family: 'MedievalSharp', cursive;
  font-size: 8rem; /* bigger */
  margin: 0;
  color: #4a3018; /* fill color */
  -webkit-text-stroke: 1px #241907; /* outline width & color */
}

.subtitle {
  font-size: 2rem;
  color: #402b17;
  -webkit-text-stroke: 0.5px #241907;
}


nav {
  margin-top: 20px;
}

.nav-link {
  display: inline-block;
  margin: 0 15px;
  padding: 12px 24px; /* bigger padding */
  font-size: 1.2rem; /* bigger text */
  font-weight: bold; /* clearer, more visible */
  color: #5a432f;
  border: 2px solid #5a432f; /* slightly thicker border for clarity */
  border-radius: 8px; /* smoother edges */
  text-decoration: none;
  text-shadow: 1px 1px 0 #d1bfa7, -1px -1px 0 #d1bfa7;
  transition: background 0.3s, transform 0.2s;
}


.nav-link:hover {
  background-color: #d1bfa7;
  color: #4b3b2a;
  transform: scale(1.05); /* subtle grow on hover */
}



/* Scroll card for landing page */
.scroll-card {
  background: #f0e6d0; /* lighter parchment shade */
  border: 1px solid #d1bfa7;
  padding: 30px;
  margin: 50px auto;
  max-width: 800px;
  border-radius: 12px;
  box-shadow: 2px 2px 8px rgba(75, 59, 42, 0.3);
  text-align: center;
}

/* NPC cards */
.npc-profiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  padding: 40px 20px;
}

.npc-card {
  background: #f4ecd8;
  border: 1px solid #d1bfa7;
  border-radius: 12px;
  padding: 20px;
  width: 250px;
  text-align: center;
  box-shadow: 1px 1px 5px rgba(75, 59, 42, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.npc-card:hover {
  transform: translateY(-5px);
  box-shadow: 3px 3px 10px rgba(75, 59, 42, 0.3);
}

.npc-card h2 {
  font-family: 'MedievalSharp', cursive;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.role {
  font-weight: bold;
  color: #6b5140;
  margin-bottom: 10px;
}

.description {
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  border-top: 2px solid #d1bfa7;
  margin-top: 40px;
}
