/* === Fira Code Font Setup === */
@font-face {
  font-family: 'Fira Code';
  src: url('../fonts/Fira_Code_v6.2/woff2/FiraCode-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fira Code';
  src: url('../fonts/Fira_Code_v6.2/woff2/FiraCode-Regular.woff2') format('woff2'),
       url('../fonts/Fira_Code_v6.2/woff/FiraCode-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fira Code';
  src: url('../fonts/Fira_Code_v6.2/woff2/FiraCode-Bold.woff2') format('woff2'),
       url('../fonts/Fira_Code_v6.2/woff/FiraCode-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* === Basic Site Styling === */
body {
  font-family: 'Fira Code', monospace;
  font-weight: 300;
  background-color: rgb(27, 27, 27);
  color: rgb(203, 203, 203);
}

.content, .modular, .modular-row, .section {
  color: rgb(203, 203, 203);
}

#header {
  background: #000000d1;
}
#header a {
    color: #ccc;
}
/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: 300;
  font-family: 'Fira Code', monospace;
  color: rgb(203, 203, 203);
}

h1.major {
  font-size: 9rem;
  margin-top: 4rem;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  h1.major {
    font-size: 4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
  }
}

/* Links */
a {
  color: rgb(150, 180, 255);
}
a:hover {
  color: rgb(180, 220, 255);
}

/* Intro Container */
.intro-container {
  width: 100%;
  max-width: 66%;
  margin: 0;
  font-family: 'Fira Code', monospace;
  text-align: left;
}
.intro-container p {
  font-size: 1rem;
}
@media (max-width: 767px) {
  .intro-container {
    max-width: 100%;
  }
}
.mt-small { margin-top: 1rem; }
.mt-medium { margin-top: 2rem; }
.mt-large { margin-top: 6rem; }
.mt-xl { margin-top: 8rem; }

/* Code-style label and value appearance */
.code-label {
  color: #ff79c6; /* pinkish purple (like 'status:') */
  font-family: 'Fira Code', monospace;
  font-weight: 400;
  margin-right: 4px;
}

.code-value {
  color: #50fa7b; /* bright green (like string values) */
  font-family: 'Fira Code', monospace; 
  font-weight: 400;
}
.code-label,
.colon {
  display: inline;
  font-family: 'Fira Code', monospace;
  font-weight: 400;
  margin: 0;
  padding: 0;
}

.colon {
  color: #ffffff;
  margin-left: -1px; /* optional: pulls it closer if needed */
}
hr {
   margin-top: 2rem;
}

/* === Code Blocks === */
pre[class*="language-"], code[class*="language-"] {
  white-space: pre-wrap;
  word-break: break-word;
}

.code-wrapper {
  background: #1f1f2b;
  overflow: hidden;
  font-family: 'Fira Code', monospace;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.code-topbar {
  background: #2a2a3b;
  color: #ccc;
  padding: 10px;
  font-size: 14px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

pre[class*="language-"] {
  padding: 1em;
  margin: 0;
  overflow: auto;
  border-radius: 0;
}

/* === Tabs UI === */

/* Code Tabs (Frontpage) — using ui-theme-code */
.tabs-wrapper.ui-theme-code {
  background: #2e3440;
  font-family: 'Fira Code', monospace;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  overflow: hidden;
  margin: 20px 0;
}

/* Code Tabs Nav */
.tabs-wrapper.ui-theme-code .tabs-nav {
  background: #464662;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  list-style: none;
  margin: 0;
  padding: 0 !important;
  gap: 10px;
}

/* Hide scrollbar Webkit */
.tabs-wrapper.ui-theme-code .tabs-nav::-webkit-scrollbar {
  display: none;
}

/* Code Tabs individual tabs */
.tabs-wrapper.ui-theme-code .tabs-nav li a {
  display: inline-block;
  padding: 10px 12px;
  color: #ccc;
  background: transparent;
  font-size: 14px;
  font-weight: 300;
  border: none;
  border-radius: 0;
  transition: background 0.3s ease, color 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}
.tabs-wrapper.ui-theme-code .tabs-nav li {
  display: inline-block;
  white-space: nowrap;
  margin: 0;
}

/* Active code tab */
.tabs-wrapper.ui-theme-code .tabs-nav li.current a,
.tabs-wrapper.ui-theme-code .tabs-nav li a:hover {
  background: #2a2a3b;
  color: #ccc;
  font-weight: 600; 
}

/* Code Tabs content */
.tabs-wrapper.ui-theme-code .tabs {
  color: #ccc;
  font-size: 13px;
  padding: 15px 20px 0;
  white-space: normal;
  word-break: break-word;
}

.tabs-wrapper.ui-theme-code .tab {
  border: none;
}

.tabs-wrapper.ui-theme-code.ui-theme-lite .tab {
  border-top: none;
  background: none;
  padding: 1rem 0 0 !important;
}
.tabs-wrapper.ui-theme-code.ui-theme-lite .tabs-nav li.current a {
  font-weight: 600;
  border-bottom: none;
} 

/* Clean Tabs (Testimonies) — using ui-theme-clean */
.tabs-wrapper.ui-theme-clean .tabs-nav {
  border: none;
  background: none;
  margin-bottom: 1rem;
  padding: 0;
}
.tabs-wrapper .tab {
    margin-top: -1px;
    display: none;
    padding: 0;
}
.tabs-wrapper.ui-theme-clean .tabs-nav li a {
  background: none;
  border: none;
  font-size: 0.7rem;
  font-weight: 400;
  color: #444;
  padding: 0.5rem 1rem;
  text-transform: none;
}
.tabs-wrapper.ui-theme-clean .tabs-nav li.current a {
  border-bottom: 2px solid #333;
  color: #ccc;
}
.tabs-wrapper.ui-theme-clean .tabs {
  padding: 0;
  border: none;
  background: none;
}

/* === Buttons === */
.button-link {
  display: inline-block;
  color: #fff;
  padding: 10px 18px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: background 0.3s ease;
}
.button-link:hover {
  text-decoration: none;
}

/* === Voice Cards === */
.voice-card {
  border-radius: 10px;
  margin: 15px 0;
  background-color: #1f1f2b;
  transition: background 0.3s;
}
.voice-card:hover {
  background: #2a2a3b;
}
.voice-card a:hover {
  color: #2a2a3b;
}

.voice-link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 15px;
}

.voice-card-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

.voice-image {
  flex: 0 0 auto;
}

.voice-photo {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
}
.voice-image svg {
  border-radius: 50% !important;
}

.voice-text {
  flex: 1;
}

.voice-name {
  margin: 0 0 10px 0;
  font-size: 1.5em;
}
.voice-summary {
  margin: 0;
  font-size: 0.9em;
  color: #ccc;
}

.writer-page {
  display: flex;
  flex-direction: column-reverse; /* <- key fix for mobile */
  gap: 1rem;
}

.writer-photo {
  width: 100%;
}

@media (min-width: 768px) {
  .writer-page {
    flex-direction: row;
    align-items: flex-start;
  }

  .writer-content {
    width: 66%;
  }

  .writer-photo {
    width: 33%;
    padding-left: 3rem;
  }
}



/* === Project Cards === */
.project-card {
  margin: 15px 0;
  border-radius: 10px;
  background-color: #1f1f2b;
  transition: background 0.3s;
  width: 100%;
  max-width: 66%;
}

@media (max-width: 768px) {
  .project-card {
    max-width: 100%;
    padding: 0 10px;
  }
}
.project-card:hover {
  background: #2a2a3b;
}

.project-link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 15px;
}
.project-card a:hover {
    text-decoration: none;
}
.project-link hover {
  text-decoration: none;
}
.project-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.project-text {
  flex: 1;
}

.project-name {
  margin: 0 0 10px 0;
  font-size: 1.5em;
}

.project-summary {
  margin: 0 0 10px 0;
  font-size: 0.9em;
  color: #ccc;
}

.project-details {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 0.9em;
  color: #bbb;
}

.project-details li {
  margin-bottom: 5px;
}

.project-details li em {
  font-style: italic;
  color: #aaa;
  margin-right: 4px;
}



/* Notices */
.sc-notice.info > div:first-child {
  border-top: 30px solid #464662;
  background: #50596c;
}
.sc-notice > div {
  color: #ccc;
}
span.major a {
    font-size: 2rem;
    color: #ccc;
}
/* Footer */
#footer {
  padding: 1rem;
  text-align: center;
  color: #acb3c2;
}
.bg-gray {
  background: none !important;
}
.ghosttext-box {
  color: rgb(255, 255, 255);
  text-shadow: 0 0 4px #00f, 0 0 8px #00f, 0 0 12px #0ff;
}