/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Roboto, Arial, sans-serif;

  /* A gradient background using the dark blue-teal and deep teal from the logo */
  background: linear-gradient(135deg, #012A36 0%, #035D75 100%);
  color: #F0F0F0;  /* Light text for legibility on dark background */
  line-height: 1.6;
  margin: 20px;
}

header {
  text-align: center;
  margin-bottom: 40px;
  position: sticky;
  top: 0;
  z-index: 100;

  /* Using background-color instead of background because Safari loses the blur effect when using the shorthand */
  /* stylelint-disable-next-line declaration-property-value-no-unknown */
  background-color: linear-gradient(135deg, #012A36 0%, #035D75 100%);
  backdrop-filter: blur(10px);
  padding: 15px 0;
}

header #page-logo {
  width: 120px;
  height: auto;
  border-radius: 50%; /* Ensures the logo appears circular */
}

/* Title Styling Using Cinzel */
#site-title {
  margin-top: 15px;
  font-family: Cinzel, serif;
  font-size: 2.8rem;
  letter-spacing: 1px;
  color: #0FF;
}

/* Main content styling */
main {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.15rem;
  line-height: 1.8;
  text-align: justify;
}

main p {
  margin-bottom: 20px;
}

/* Footer styling */
footer {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9rem;
  color: #058BAA;  /* Medium Blue-Cyan, another shade from your palette */
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;          /* Makes items appear in a row */
  flex-direction: row;     /* Explicitly sets direction */
  gap: 1rem;              /* Adds space between links */
  justify-content: center;
}

.resource-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 40px;
  max-width: 250px;
  margin-left: auto;
  margin-right: auto;
}

.resource-links a {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-size: 1.2rem;
  text-decoration: none;
  padding: 14px 0;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.09);
  font-weight: 600;
  background: #0992b3;
  color: #fff;
  border: none;
  outline: none;
  transition: none;
  cursor: pointer;
  letter-spacing: 0.03em;
  margin-bottom: 0;
}

/* === Improved nav link styling === */
nav a,
nav a:visited,
nav a:active {
    color: #16e0e0 !important;
    text-decoration: none;
    transition: color 0.2s;
}

nav a:hover,
nav a:focus {
    color: #0FF !important; /* Slightly brighter cyan for hover/focus */
}

.under-construction {
  text-align: center;
  margin-top: 60px;
  padding: 40px 30px;
  background: rgba(1, 42, 54, 0.7);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.under-construction h2 {
  font-family: Cinzel, serif;
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #0FF;
}

.under-construction p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #E0F7FA;
}

nav ul li a.current-page {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  font-weight: 500;
  padding: 6px 12px;
}