:root {
    /* Glow Colors */
    --accent-primary-glow: rgba(255, 69, 0, 0.6); /* OrangeRed for primary glow - medium strength */
    --accent-primary-glow-strong: rgba(255, 69, 0, 0.8); /* Stronger orange glow */
    --secondary-glow: rgba(255, 255, 255, 0.3); /* Soft White/light glow for "About Me" prompt */
    --secondary-glow-strong: rgba(255, 255, 255, 0.5); /* Stronger white glow */

    /* Element Sizes & Offsets */
    --border-corner-size: 25px;
    --border-offset: -15px;
    --projects-button-glow-width: 340px; /* Width for the inner plaque glow, adjust based on button */


    /* Main Colors */
    --bg-color: #1E1E1E;
    --bg-color-hero: #0A0A0A; /* Darker background for Hero (landing page) */
    --bg-color-about-section: #1F1F1F; /* Brighter background for About Me section */
    --text-color: #FFFFFF;
    --accent-primary: #FF4500; /* OrangeRed */
    --accent-secondary: #D32F2F; /* Darker Red */
    --neutral-light: #B0B0B0;
    --plaque-bg: rgba(35, 35, 40, 0.9);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  margin: 0;
}

h1, h2, h3, h4, .nav-link, .tech-tag, .brutal-btn, .terminal-header {
    font-family: 'Kode Mono', monospace;
    font-weight: 600;
    letter-spacing: -0.5px;
}

#content {
  flex: 1;
}

/* --- Shared Brutalist Components --- */
.brutal-btn {
    display: inline-block;
    padding: 12px 24px;
    color: var(--accent-primary, #ff4500);
    background-color: transparent;
    border: 1px solid var(--accent-primary, #ff4500);
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Kode Mono', monospace;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.1s ease, color 0.1s ease;   
    cursor: pointer;
}

/* Desktop Hover */
@media (hover: hover) and (pointer: fine) {
    .brutal-btn:hover {
        background-color: var(--accent-primary, #ff4500);
        color: #111111;
        box-shadow: 4px 4px 0px rgba(255, 69, 0, 0.2);
        transform: translate(-2px, -2px);
    }
}

/* Mobile Touch & Desktop Click */
.brutal-btn:active {
    background-color: var(--accent-primary, #ff4500);
    color: #111111;
    box-shadow: none;
    transform: translate(2px, 2px);
}

footer {
  background: linear-gradient(90deg, #333333, #555555);
  color: white;
  text-align: center;
  padding: 15px 0;
  font-size: 0.9rem;
  font-family: 'Kode Mono', monospace;
  margin-top: auto;
}

.navbar {
  background: var(--bg-color);
  border-bottom: 1px solid var(--neutral-light);
  font-family: 'Kode Mono', monospace;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.navbar ul li a {
  color: var(--text-color);
  font-size: 1rem;
  text-transform: uppercase;
  padding: 5px 0;
  transition: color 0.3s ease, border-bottom 0.3s ease;
}

.navbar ul li a:hover {
  color: var(--accent-primary);
}

.navbar ul li a.active {
  color: var(--accent-secondary);
  border-bottom: 2px solid var(--accent-secondary);
}

.navbar-social {
  display: flex;
  gap: 15px;
}

.navbar-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: hsla(0, 0%, 100%, 0.1);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.navbar-social a img {
  width: 20px;
  height: 20px;
  filter: invert(100%);
}

.navbar-social a:hover {
  transform: scale(1.1);
  background: var(--accent-primary);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle div {
  background: var(--text-color);
  height: 3px;
  width: 25px;
  border-radius: 2px;
}

/* Hide navbar entirely on the homepage */
body.home .navbar {
    display: none !important;
}

@media (max-width: 768px) {
  .navbar ul {
      display: none;
      flex-direction: column;
      gap: 20px;
      background: var(--bg-color);
      position: absolute;
      top: 60px;
      right: 0;
      width: 200px;
      padding: 20px;
      border-radius: 5px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }

  .navbar ul.active {
      display: flex;
  }

  .menu-toggle {
      display: flex;
  }

  .navbar-social {
      display: none;
  }
}

#star-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background: var(--bg-color);
}
