/* ═══ NOX Ventures - Complete Local Styles ═══ */

/* ── Font Faces (Inter) ── */
@font-face {
  font-family: 'Inter';
  font-weight: 400;
  font-style: normal;
  src: url('../fonts/inter-400.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  font-weight: 500;
  font-style: normal;
  src: url('../fonts/inter-500.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  font-weight: 700;
  font-style: normal;
  src: url('../fonts/inter-700.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  font-weight: 800;
  font-style: normal;
  src: url('../fonts/inter-800.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  font-weight: 900;
  font-style: normal;
  src: url('../fonts/inter-900.woff2') format('woff2');
  font-display: swap;
}

/* ── Material Symbols Outlined ── */
@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/material-symbols.woff2') format('woff2');
  font-display: block;
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -moz-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #008080;
  height: 100vh;
  overflow: hidden;
  cursor: default;
  user-select: none;
}

/* ── Bevels ── */
.bevel-out {
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #808080;
  border-bottom: 2px solid #808080;
}
.bevel-in {
  border-top: 2px solid #808080;
  border-left: 2px solid #808080;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
}
.bevel-btn {
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #5d5e5f;
  border-bottom: 2px solid #5d5e5f;
  background: #c0c0c0;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}
.bevel-btn:active {
  border-top: 2px solid #5d5e5f;
  border-left: 2px solid #5d5e5f;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
}

/* ── Title Bar ── */
.title-bar {
  background: linear-gradient(90deg, #00003c 0%, #000080 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 4px;
  cursor: move;
  flex-shrink: 0;
}
.title-bar-text {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.win-controls { display: flex; gap: 2px; flex-shrink: 0; }
.win-btn {
  width: 16px; height: 14px;
  font-size: 10px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; line-height: 1;
}

/* ── Windows ── */
.win {
  position: absolute;
  background: #c0c0c0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 32px rgba(26,28,28,0.22);
}
.win.hidden { display: none; }
.win-body { background: #eeeeee; flex: 1; overflow: auto; }

/* ── Menu bar / Status bar ── */
.win-menubar {
  background: #c0c0c0;
  border-bottom: 2px solid #808080;
  padding: 2px 6px;
  font-size: 10px; font-weight: 700;
  display: flex; gap: 14px; flex-shrink: 0;
}
.win-menubar span { padding: 1px 4px; cursor: pointer; }
.win-menubar span:hover { background: #000080; color: #fff; }
.win-statusbar {
  background: #c0c0c0;
  border-top: 2px solid #808080;
  padding: 2px 8px;
  font-size: 9px; font-weight: 700; color: #5d5e5f;
  display: flex; justify-content: space-between; flex-shrink: 0;
}

/* ── Taskbar ── */
#taskbar {
  position: fixed;
  bottom: 0; left: 0; right: 0; height: 32px;
  background: #c0c0c0;
  border-top: 2px solid #ffffff;
  display: flex; align-items: center; padding: 2px 4px; gap: 4px;
  z-index: 9999;
}
.tb-sep {
  width: 2px; height: 22px;
  border-left: 1px solid #808080;
  border-right: 1px solid #fff;
  flex-shrink: 0;
}
.ticker-label { color: #00003c; font-size: 9px; font-weight: 900; }
.ticker-val   { font-size: 10px; font-weight: 700; }
.ticker-up    { color: #006400; }
.ticker-dn    { color: #8b0000; }

/* ── Start Menu ── */
#start-menu {
  position: fixed; bottom: 32px; left: 0;
  width: 230px; background: #c0c0c0;
  border-top: 2px solid #fff; border-left: 2px solid #fff;
  border-right: 2px solid #808080; border-bottom: 2px solid #808080;
  z-index: 10000; display: none; flex-direction: column;
}
#start-menu.open { display: flex; }
.sm-strip {
  background: linear-gradient(180deg, #00003c 0%, #000080 100%);
  writing-mode: vertical-rl; transform: rotate(180deg);
  color: #fff; font-size: 15px; font-weight: 900; letter-spacing: .12em;
  position: absolute; left: 0; top: 0; bottom: 0; width: 26px;
  display: flex; align-items: center; justify-content: center;
}
.sm-body { margin-left: 26px; }
.sm-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px; font-size: 11px; font-weight: 700;
  cursor: pointer; color: #000;
}
.sm-item:hover { background: #000080; color: #fff; }
.sm-icon { font-size: 18px; color: #00003c; flex-shrink: 0; }
.sm-item:hover .sm-icon { color: #fff; }
.sm-divider { height: 2px; background: #808080; border-bottom: 1px solid #fff; margin: 2px 0; }

/* ── Typing cursor ── */
.cursor {
  display: inline-block; width: 8px; height: 14px;
  background: #00003c; margin-left: 2px;
  animation: blink 1s step-end infinite; vertical-align: middle;
}
@keyframes blink { from,to{opacity:1} 50%{opacity:0} }

/* ── Desktop icons ── */
.desk-icon {
  display: flex; flex-direction: column; align-items: center;
  gap: 3px; width: 68px; cursor: pointer; padding: 4px;
}
.desk-icon:hover .icon-label { background: #000080; color: #fff; }
.icon-label {
  font-size: 10px; font-weight: 700; color: #fff;
  text-align: center; padding: 1px 3px;
  text-shadow: 1px 1px 0 #000, -1px 0 0 #000;
  line-height: 1.3;
}

/* ── Portfolio icons ── */
.port-icon-wrap {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; padding: 10px 8px; cursor: pointer;
  text-decoration: none; color: #000;
}
.port-icon-wrap:hover .port-icon-bg { background: #000080; }
.port-icon-wrap:hover .port-name    { background: #000080; color: #fff; outline: 1px dotted #fff; }
.port-icon-bg {
  width: 48px; height: 48px;
  background: #eeeeee;
  border-top: 2px solid #fff; border-left: 2px solid #fff;
  border-right: 2px solid #808080; border-bottom: 2px solid #808080;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.port-icon-img { width: 38px; height: 38px; object-fit: contain; }
.port-name {
  font-size: 9px; font-weight: 700; text-align: center;
  max-width: 64px; word-break: break-word; padding: 1px 2px; line-height: 1.2;
}

/* ── Services ── */
.svc-row {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 16px;
}
.svc-row:nth-child(odd)  { background: #faf9f9; }
.svc-row:nth-child(even) { background: #eeeeee; }
.svc-icon { font-size: 20px; color: #00003c; flex-shrink: 0; margin-top: 1px; }
.svc-title { font-size: 11px; font-weight: 900; color: #00003c; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 3px; }
.svc-desc  { font-size: 10px; color: #464653; line-height: 1.6; }

/* ── Contact ── */
.contact-btn {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; text-decoration: none; color: #000; cursor: pointer;
}
.contact-btn:nth-child(odd)  { background: #faf9f9; }
.contact-btn:nth-child(even) { background: #eeeeee; }
.contact-btn:hover { background: #000080; color: #fff; }
.contact-label { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.contact-sub   { font-size: 10px; opacity: .7; margin-top: 3px; }

/* ── NOX ASCII art background ── */
#nox-ascii-bg {
  position: fixed; inset: 0; bottom: 32px;
  background: url('../images/nox-bg.jpeg') center center / cover no-repeat;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

/* ── Scrollbar Win98 ── */
::-webkit-scrollbar { width: 16px; height: 16px; }
::-webkit-scrollbar-track { background: #c0c0c0; }
::-webkit-scrollbar-thumb { background: #c0c0c0; border-top:2px solid #fff; border-left:2px solid #fff; border-right:2px solid #808080; border-bottom:2px solid #808080; }
