/* style.css (root file) */

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.8;
  color: #2c3e50;
  background-color: #f7f9fa;
}

/* UNIFIED HEADER & MENU BUTTON */
header {
  background-color: #2c3e50;
  color: #ffffff;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
}

.menu-btn {
  background: transparent;
  border: 1px solid #f1c40f;
  color: #f1c40f;
  font-size: 1.3rem;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
  line-height: 1;
}

.header-title-block h1 {
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1.1;
  margin: 0;
}

.tagline {
  color: #ecf0f1;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  opacity: 0.95;
}

/* CENTERED LOGO */
.logo-container {
  flex: 1;
  display: flex;
  justify-content: center;
}

.header-logo {
  height: 65px;
  width: auto;
  border-radius: 50%;
  mix-blend-mode: screen;
}

/* RIGHT NAVIGATION */
.header-navigation {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
}

header a, footer a {
  color: #f1c40f;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

header a:hover, footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* SIDEBAR DRAWER STYLES */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100vh;
  background: #202d3a;
  color: #ffffff;
  z-index: 999;
  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.25);
  transition: left 0.3s ease;
  padding: 1.75rem 1.5rem;
}

.sidebar.open {
  left: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
}

.sidebar-header h3 {
  color: #f1c40f;
  font-family: 'Times New Roman', serif;
}

.close-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
}

.sidebar-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.sidebar-menu a {
  color: #ecf0f1;
  text-decoration: none;
  font-size: 1.05rem;
}

/* MAIN CONTAINERS */
.container {
  max-width: 860px;
  width: 90%;
  margin: 2.5rem auto;
  padding: 2.5rem 2rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  color: #34495e;
}

/* UNIFIED FOOTER */
footer {
  background-color: #2c3e50;
  color: #ffffff;
  text-align: center;
  padding: 2.5rem 1rem;
  margin-top: 4rem;
  font-size: 0.9rem;
}

footer p {
  color: #ecf0f1;
  margin-bottom: 0.5rem;
}

@media (max-width: 600px) {
  .header-navigation {
    display: none;
  }
}
.button-link {
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 600;
}

.button-link:hover {
  color: #f1c40f !important; /* Elegant gold pop on hover */
}/* Content links inside cards and paragraphs */
.content-box a:not(.button-link) {
  color: #1e5f8a;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.15s ease;
}

.content-box a:not(.button-link):hover {
  color: #b8860b;
}

.content-box a:not(.button-link):visited {
  color: #1e5f8a; /* Prevents purple tint on visited links */
}
.button-link,
.button-link:visited {
  color: #ffffff !important;
  text-decoration: none;
}

.button-link:hover {
  color: #f1c40f !important;
}