/* ============================
   FULL BACKGROUND IMAGE (ALL PAGES)
   ============================ */
body {
  background: url("/background-v2.jpg") no-repeat right bottom fixed;
  background-size: cover;
  padding-bottom: 200px; /* adjust as needed */
}

/* Dark overlay for readability */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: -1;
}

/* ============================
   GLOBAL TEXT COLOUR
   ============================ */
body, p, h1, h2, h3, h4, h5, h6, a, li, span {
  color: white !important;
}

/* Navigation links */
nav a {
  color: white !important;
}

/* Homepage intro text */
.home-info, .home-info p {
  color: white !important;
}

/* Avatar styling */
img.avatar {
  border: 2px solid red !important;
}

/* ============================
   ABOUT PAGE CARD (OPTIONAL)
   ============================ */
.about-card {
  background: rgba(255, 255, 255, 0.9);
  color: black !important;
  padding: 2rem;
  border-radius: 12px;
  max-width: 800px;
  margin: 2rem auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* ============================
   NAVIGATION (TOP RIGHT)
   ============================ */
nav {
  position: absolute;
  top: 20px;
  right: 20px;
}

nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin: 0;
  padding: 0;
}

nav a {
  color: white;
  font-weight: 600;
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
}

/* ============================
   FOOTER (BOTTOM LEFT)
   ============================ */
footer {
  position: fixed;
  bottom: 10px;
  left: 10px;
  width: auto;
  text-align: left;
  margin: 0;
  padding: 0;
  background: transparent;
}
.sidebar {
  position: fixed;
  right: 20px;
  top: 120px;
  width: 220px;
  background: rgba(0,0,0,0.5);
  padding: 1rem;
  border-radius: 8px;
  color: white;
}

.sidebar h3 {
  margin-top: 0;
  color: white;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar li {
  margin-bottom: 0.5rem;
}

.sidebar a {
  color: #fff;
  text-decoration: none;
}

.sidebar a:hover {
  text-decoration: underline;
}
