/* =========================
   Global Body & Typography
   ========================= */
body {
   font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   line-height: 1.65;
   /* Background image + gradient overlay */
   background:
     linear-gradient(rgba(27,27,27,0.85), rgba(18,18,18,0.85)),
     url('assets/images/background.png') no-repeat center center fixed;
   background-size: cover; /* Cover the viewport */
   background-attachment: fixed;
   color: #f0f0f0;
   margin: 0;
   padding: 20px;
   transition: background 0.3s ease;
}


/* =========================
   Links
   ========================= */
a {
  color: #ffcc33;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  text-decoration: underline;
  color: #ffd84d;
}

/* =========================
   Banner Section
   ========================= */
.banner {
  position: relative;
  width: 100%;
  height: 350px; /* adjust height if needed */
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 2em;
  box-shadow: 0 10px 25px rgba(0,0,0,0.7);
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.65) contrast(1.1); /* subtle darkening for text readability */
  transition: transform 0.5s ease, filter 0.3s ease;
}

.banner:hover img {
  transform: scale(1.05);
  filter: brightness(0.75) contrast(1.2);
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffcc33;
  text-align: center;
  padding: 1em 2em;
  background: rgba(0,0,0,0.35); /* subtle overlay for text visibility */
  transition: background 0.3s ease;
}

.banner-overlay h1 {
  font-size: 3em;
  margin: 0.2em 0;
  text-shadow: 2px 2px 5px #000;
}

.banner-overlay .tagline {
  font-size: 1.5em;
  margin-bottom: 1em;
  text-shadow: 1px 1px 3px #000;
}

.banner-overlay .button {
  font-size: 1.1em;
  padding: 14px 32px;
  border-radius: 12px;
}

/* =========================
   Responsive Banner
   ========================= */
@media screen and (max-width: 768px) {
  .banner {
    height: 220px;
  }
  .banner-overlay h1 {
    font-size: 2em;
  }
  .banner-overlay .tagline {
    font-size: 1.2em;
  }
  .banner-overlay .button {
    padding: 12px 24px;
    font-size: 1em;
  }
}

/* =========================
   Headings
   ========================= */
h1, h2, h3, h4 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
}

h1 {
  color: #ffcc33;
  font-size: 2.8em;
  margin-top: 0.5em;
  border-bottom: 2px solid #444;
  padding-bottom: 0.4em;
  text-shadow: 1px 1px 3px #000;
}

h2 {
  color: #ffcc33;
  font-size: 2.2em;
  margin-top: 1.5em;
  border-bottom: 1px solid #444;
  padding-bottom: 0.3em;
  text-shadow: 1px 1px 2px #000;
}

h3 {
  color: #f4e285;
  font-size: 1.6em;
  margin-top: 1.2em;
}

h4 {
  color: #f4e285;
  font-size: 1.3em;
}

/* =========================
   Paragraphs & Blockquotes
   ========================= */
p {
  margin: 1em 0;
  line-height: 1.7;
  text-align: justify;
}

blockquote {
  border-left: 4px solid #ffcc33;
  padding: 1em 1em 1em 1em;
  margin: 1.2em auto;
  font-style: italic;
  color: #ccc;
  background: rgba(34, 34, 34, 0.85);
  border-radius: 8px;
  box-shadow: inset 0 0 8px #00000050;
  max-width: 800px;
}

/* =========================
   Sections
   ========================= */
section {
  padding: 2.5em 2em;
  margin: 2em auto;
  max-width: 900px;
  background: rgba(28,28,28,0.85);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.7);
}

/* =========================
   Lists
   ========================= */
ul {
  margin: 1em 0 1em 2em;
  padding: 0;
  list-style-type: square;
}

li {
  margin-bottom: 0.8em;
  line-height: 1.5;
  transition: color 0.3s ease;
}

li:hover {
  color: #ffd84d;
}

/* =========================
   Tables
   ========================= */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  background-color: #1f1f1f;
  border-radius: 6px;
  overflow: hidden;
}

th, td {
  border: 1px solid #555;
  padding: 12px;
  text-align: left;
  transition: background 0.3s ease;
}

th {
  background: linear-gradient(90deg, #333 0%, #444 100%);
  color: #ffcc33;
}

td {
  background-color: #222;
  color: #f0f0f0;
}

tr:hover td {
  background-color: #2a2a2a;
}

/* =========================
   Horizontal Rules
   ========================= */
hr {
  border: 0;
  height: 1px;
  background: #444;
  margin: 2em 0;
}

/* =========================
   Buttons / RPG Flavor
   ========================= */
.button {
  display: inline-block;
  padding: 12px 30px;
  margin: 1em 0;
  font-size: 1em;
  font-weight: 700;
  color: #1b1b1b;
  background: linear-gradient(145deg, #ffcc33 0%, #e6b800 100%);
  border: 2px solid #ffd84d;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 8px rgba(0,0,0,0.6);
}

.button:hover {
  background: linear-gradient(145deg, #ffd84d 0%, #ffb700 100%);
  transform: translateY(-2px);
  box-shadow: 0 7px 12px rgba(0,0,0,0.7);
}

/* =========================
   Header
   ========================= */
header {
  text-align: center;
  padding: 3em 1em;
  background: linear-gradient(135deg, #222 0%, #111 100%);
  border-bottom: 2px solid #333;
  box-shadow: 0 4px 10px rgba(0,0,0,0.6);
  border-radius: 0 0 12px 12px;
}

/* =========================
   Footer
   ========================= */
footer {
  text-align: center;
  padding: 2em 1em;
  background: linear-gradient(135deg, #222 0%, #111 100%);
  border-top: 2px solid #333;
  margin-top: 3em;
  border-radius: 12px 12px 0 0;
}

/* =========================
   Responsive Adjustments
   ========================= */
@media screen and (max-width: 768px) {
  body {
    padding: 12px;
  }
  h1 {
    font-size: 2em;
  }
  h2 {
    font-size: 1.6em;
  }
  h3 {
    font-size: 1.2em;
  }
  th, td {
    padding: 8px;
  }
  section {
    padding: 1.5em 1em;
    margin: 1.5em auto;
  }
}
