:root {
  --primary: #d35400; /* Richer Burnt Orange */
  --primary-light: #e67e22;
  --secondary: #1a252f; /* Deeper Midnight Blue */
  --accent: #f1c40f; /* Vibrant Gold/Yellow */
  --bg: #f8fafc;
  --text: #1e293b;
  --header-bg-start: #2c3e50;
  --header-bg-end: #1a252f;
  --footer-bg: #2c3e50;
  --text-muted: #64748b;
  --white: #ffffff;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --border: #e2e8f0;
  --max-width: 900px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  margin: 0 auto;
  max-width: var(--max-width);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
  grid-template-areas:
      "header"
      "main"
      "footer";
  min-height: 100vh;
}

/* Header & Nav */
header {
  grid-area: header;
  background: linear-gradient(135deg, var(--header-bg-start) 0%, var(--header-bg-end) 100%);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  width: 100%;
}

#hero {
  text-align: center;
  padding: 20px 10px;
  color: var(--white);
}

#hero h1 {
  color: var(--white);
  margin: 0;
  font-size: 2.2em;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

nav li {
  display: flex;
}

nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  font-size: 0.9em;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 15px 20px;
  position: relative;
}

nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

nav a:hover::after, nav a[aria-current="page"]::after {
  width: 100%;
}

nav a[aria-current="page"] {
  color: var(--accent);
}

/* Main Content Area */
main {
  grid-area: main;
  background-color: #f1f5f9; /* Soft background color for the main area */
  width: 100%;
  padding: 40px 20px;
}

main > * {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

h1, h2, h3, h4 {
    color: var(--secondary);
    font-weight: 700;
}

h1 {
    font-size: 2.8em;
    margin-bottom: .5em;
    text-align: center;
}

h2 {
    font-size: 2em;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    color: var(--primary);
    border-bottom: 2px solid var(--border);
    padding-bottom: 10px;
}

h3 {
    font-size: 1.4em;
    margin-top: 1.2em;
    color: var(--secondary);
}

/* Hero Section for Home Page */
.hero {
    padding: 30px 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    margin-bottom: 20px;
}

.home-info {
    margin-bottom: 15px;
}

.hero h2 {
    color: var(--secondary);
    font-size: 2.5em;
    border: none;
    padding: 0;
    margin: 0;
    line-height: 1.2;
}

article {
  background: var(--white);
  padding: 0;
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.content {
    padding: 0 30px;
}

/* Specific Content Styling */
.content ul {
    list-style: none;
    padding: 0;
}

.content li {
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.content li:last-child {
    border-bottom: none;
}

/* Footer */
footer {
  grid-area: footer;
  background-color: var(--footer-bg);
  color: var(--white);
  padding: 40px 20px;
  text-align: center;
  width: 100%;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  justify-content: center;
  gap: 30px;
}

footer a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  opacity: 0.8;
  transition: opacity 0.3s;
}

footer a:hover {
  opacity: 1;
  color: var(--accent);
}

footer p {
  margin: 10px 0;
  font-size: 0.9em;
  opacity: 0.7;
}

footer strong {
    color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2em; }
    h2 { font-size: 1.6em; }
    .hero h2 { font-size: 1.8em; }

    nav ul { flex-direction: column; gap: 0; }
    nav a { padding: 12px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.05); }
    nav a::after { display: none; }

    footer ul { flex-direction: column; gap: 15px; }
}
