/* base.css — variables, reset, fonts */


:root {
  --font-main: "JetBrains Mono", monospace;

  /* Light theme */
  --text: #000000;
  --bg: #c1c8d0;
  --bg-card: #e9ecf1;        /* slightly darker than bg */
  --border: rgba(15, 23, 42, 0.06);
  --shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}

/* Dark modes */
body.dark {
  --text: #ffffff;
  --bg: #242832;
  --bg-card: #37404d;
  --border: rgba(255,255,255,0.06);
  --shadow: 0 0 0 rgba(0,0,0,0);
}

/* Blue Theme */
body.theme-blue {
  --bg: #8bbae3;
  --bg-card: #749bdf;
  --muted: #27455c;
  --accent: #2a5fba;
  --accent-dark: #3b82f6;
  --glass-bg: rgba(61, 165, 255, 0.09);
  --glass-border: rgba(61, 165, 255, 0.30);
  --glass-shadow:
    0 0 10px rgba(61, 165, 255, 0.25),
    0 0 26px rgba(61, 165, 255, 0.12);
  /* --glass-text: #d4eaff; */
  --bg-img: url('../images/technology.png');
  --bg-img-opacity: 0.28;
  --bg-overlay: rgba(0, 20, 40, 0.35);
}

/* Blue + Dark Mode */
body.theme-blue.dark {
  --bg-card: #4b6ca4;
  --muted:#cddef3;
  --glass-bg: rgba(82, 146, 218, 0.14);
  --glass-border: rgba(135, 206, 255, 0.17);
  --glass-shadow:
    0 0 14px rgba(61, 165, 255, 0.45),
    0 0 34px rgba(61, 165, 255, 0.20);
  --bg-overlay: rgba(0, 6, 14, 0.66);
  --bg-img-opacity: 0.38;
}

/* Cyberpunk Theme */
body.theme-neon {
  --bg: #e8bbe8;
  --bg-card: #ad59d1;
  --muted: #443546;
  --accent: #a162f4;
  --accent-dark: #fd8cff;
  --glass-bg: rgba(0, 255, 255, 0.07);
  --glass-border: rgba(0, 255, 255, 0.32);
  --glass-shadow:
    0 0 10px rgba(0, 255, 255, 0.26),
    0 0 28px rgba(255, 0, 255, 0.13);
  /* --glass-text: #c9faff; */
  --bg-img: url('../images/technology.png');
  --bg-img-opacity: 0.32;
  --bg-overlay: rgba(137, 25, 143, 0.35);
}

/* Neon + Dark Mode */
body.theme-neon.dark {
  --bg-card: #b941bdc3;
  --muted: #f1d8f5;
  --glass-bg: rgba(222, 71, 197, 0.521);
  --glass-border: rgba(251, 135, 255, 0.17);
  --glass-shadow:
    0 0 14px rgba(219, 61, 255, 0.45),
    0 0 34px rgba(229, 61, 255, 0.2);
  --bg-overlay: rgba(13, 0, 14, 0.66);
  --bg-img-opacity: 0.38;
}

/* Minimal Gray Theme */
body.theme-gray {
  --bg: #ae9898;
  --bg-card: #806e6e;
  --muted: #222;
  --accent: #4b5563;
  --accent-dark: #6b7280;
  --glass-bg: rgba(255, 255, 255, 0.25);
  --glass-border: rgba(0, 0, 0, 0.12);
  --glass-shadow:
    0 3px 8px rgba(0,0,0,0.05),
    0 8px 18px rgba(0,0,0,0.04);
  /* --glass-text: #d4eaff; */
  --bg-img: url('../images/technology.png');
  --bg-img-opacity: 0.18;
  --bg-overlay: rgba(42, 42, 42, 0.45);
}

/* Gray + Dark Mode */
body.theme-gray.dark {
  --bg-card: #a57f7193;
  --muted: #e8e2e2;
  --glass-bg: rgba(101, 84, 80, 0.586);
  --glass-border: rgba(255, 151, 135, 0.17);
  --glass-shadow:
    0 0 14px rgba(243, 207, 151, 0.45),
    0 0 34px rgba(255, 61, 61, 0.2);
  --bg-overlay: rgba(14, 0, 0, 0.66);
  --bg-img-opacity: 0.38;
}

/* Base reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

/* Body + Theme Base */
body {
  font-family: var(--font-main);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  padding: 28px;
  position: relative;
  overflow-x: hidden;
}

/* Background Image Layer */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--bg-img);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: var(--bg-img-opacity, 0.45);
  z-index: -2;
}

/* Color Overlay (Theme Blend) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--bg-overlay, transparent);
  z-index: -1;
  pointer-events: none;
}


/* layout */
.container { max-width: 1000px; margin: 0 auto; position: relative; }
.container-glass { max-width: 1000px; margin: 0 auto; position: relative; }

/* small components */
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.section { margin: 18px 0; flex-wrap: wrap;}
.muted { color: var(--muted); }
.small { font-size: 13px; }
.footer { text-align: center; margin: 40px 0; color: var(--muted); }
