/*----------------------------------------------------------------------------------------*
  TempikLabs CSS Stylesheet - Layout Styles
  Created by: Bobby H.
  Contact: admin@tempiklabs.com
  Created: 11/11/2025

  Description: Core CSS styles for TempikLabs Website defining layout containers and
               navigation styles.

  Change Log:
  Version 1.0.0 - 11/11/2025
                > Initial creation of stylesheet.
          1.0.1 - 11/15/2024
                > Adjusted scrollbar thumb position in main content area.
                > Fixed minor layout issues in main content area.
                > Improved responsiveness of layout containers.
                > Enhanced navigation bar styling for better user experience.
                > Updated footer layout for consistency across pages.
                > Minor tweaks to header layout for improved aesthetics.
                > Refined border radius and padding for layout containers.
                > Optimized z-index values for overlapping elements.
                > Standardized layout container widths and heights.
                > Improved alignment of navigation items within nav-bar.
          1.0.2 - 11/19/2025
                > Fixed scrollbar track border-radius property in main content area.
                > Adjusted comments for clarity.
                > Minor formatting improvements.
                > Removed Sticky Header and moved to footer grid layout.
          1.0.3 - 11/24/2025
                > Added disclaimer box styling for CIS 195 submission version.
          1.0.4 - 11/26/2025
                > Added credits table styling for credits section.
                > Added role badge styling for creator roles.
                
                

*-----------------------------------------------------------------------------------------*/

/* ──────────────── Links ──────────────── */
a {
  color: var(--links-color);
  text-decoration: none;
  font-weight: 500;
}
a:hover { color: var(--links-hover-color); }
a:visited { color: var(--links-visited-color); }
a:active { color: var(--links-active-color); }

/* ──────────────── Body ──────────────── */
body {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: system-ui, sans-serif;
  background-color: var(--oob-bg-color);
  color: var(--oob-txt-color);
  overflow: hidden;
  border: 2px solid var(--main-brd-color);
}

/* ──────────────── Header ──────────────── */
.header {
  position: relative;
  width: 100%;
  height: 150px;
  background-color: var(--header-bg-color);
  color: var(--header-txt-color);
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  z-index: 2;
  margin-bottom: 0.5rem;
  overflow: hidden;
}
.header-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ──────────────── Footer ──────────────── */
.footer-wrapper {
  position: absolute;
  bottom: 2px;
  left: 2.5vw;
  right: 0.25vw;
  width: calc(100vw - 3vw);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 30;
}
.footer-nav-bar {
  height: 2rem;
  background-color: var(--oob-bg-color);
  display: flex;
  align-items: center;
  justify-content: center;

}
.footer-nav-link-container {
  display: flex;
  gap: 1rem;
}
.footer {
  height: 2.3vh;
  background-color: var(--footer-bg-color);
  color: var(--footer-txt-color);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.footer-left {
  justify-self: start;
  text-align: left;
  max-width: 20vw;
  border: 2px solid white;
  background-color: var(--main-bg-color);
  border-radius: 0.5rem 0.5rem 0.5rem 0.5rem;
}
.footer-left:hover,.footer-right:hover {
  transform: scale(1.1);
}
.footer-center {
  grid-column: 2;
  justify-self: center;
  text-align: center;
}
.footer-right {
  justify-self: end;
  text-align: right;
  max-width: 20vw;
  display: flex;
  flex-direction: row-reverse;
  border: 2px solid white;
  background-color: var(--main-bg-color);
  border-radius: 0.5rem 0.5rem 0.5rem 0.5rem;
}

.footer-nav-link-container a.active,
.footer a.active {
  font-weight: bold;
  color: #cc0000; /* highlight color */
  text-decoration: underline;
}

/* ──────────────── Main Content Area ──────────────── */
.main {
  position: absolute;
  top: 0.5vh;
  left: 2.5vw;
  right: 0.25vw;
  bottom: 5.5vh;
  color: var(--main-txt-color);
  background: var(--main-bg-color);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 0;
  overflow-y: auto;
  z-index: 1;
  border: 3px solid var(--main-brd-color);
  border-right: 0px;
  background-clip: padding-box;
}

/* Scrollbar styling */
.main::-webkit-scrollbar {
  width: 5px;
}

.main::-webkit-scrollbar-thumb {
  background-color: rgb(81,81,81); /* solid black thumb */
}

.main::-webkit-scrollbar-track {
  background-color: black;
  border-top: 2px solid var(--main-brd-color);
  border-left: 2px solid black; 
  border-bottom: 2px solid var(--main-brd-color);
}
/* ──────────────── Desktop Sidebar Nav ──────────────── */
.nav-bar {
  position: absolute;
  top: 0.5vh;
  left: 0;
  width: 2.5vw;
  height: 99vh;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 1rem 0;
  gap: 1rem;
  z-index: 10;
  overflow: visible;
}

/* ──────────────── Nav Items & Labels ──────────────── */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.nav-icon {
  width: 1.8vw;
  height: auto;
  object-fit: contain;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1;
}
.nav-item:hover .nav-icon { transform: scale(1.1); }
.nav-label {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  height: 1.8vw;
  line-height: 1.8vw;
  background-color: var(--oob-bg-color);
  padding: 0 0.6rem;
  border-radius: 0 0.5rem 0.5rem 0;
  white-space: nowrap;
  opacity: 0;
  z-index: 15;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s ease, transform 0.3s ease;
  font-size: 0.8rem;
  color: var(--oob-text-color);
  pointer-events: none;
}
.nav-item:hover .nav-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}


/* ──────────────── Disclaimer Box ──────────────── */
.disclaimer-box {
  position: fixed;        
  bottom: 0.5vh;              
  left: 10.5vh;          
  width: 600px;           
  height: 100px;          
  background: rgba(0, 0, 0, 0.5); 
  pointer-events: none;   
  z-index: 9999;          
  border-radius: 8px;     
}

/* ──────────────── Credits Table ──────────────── */
.credits-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.credits-table th,
.credits-table td {
  border: 1px solid #333;
  padding: 8px 12px;
  text-align: left;
}

.credits-table thead {
  background-color: #f2f2f2;
}

.credits-table tbody tr:nth-child(even) {
  background-color: #fafafa;
}

.credits-table a {
  color: #0066cc;
  text-decoration: none;
}

.credits-table a:hover {
  text-decoration: underline;
}

.credits-footer {
  text-align: center;
  font-size: 13px;
  background-color: #f9f9f9;
  padding: 12px;
}

    .role-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.375rem;
      font-size: 0.825rem;
      line-height: 1;
      padding: 0.375rem 0.5rem;
      border-radius: 999px;
      background: var(--oob-bg-color);
      color: var(--oob-txt-color);
      border: 1px solid var(--main-brd-color);
    }

    .role-badge::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: var(--links-color);
    }
    /* Role-specific badge colors */
    .role-badge--lead::before   { background: #ffd166; }
    .role-badge--editor::before { background: #7bd389; }
    .role-badge--artist::before { background: #9a7bff; }
    .role-badge--dev::before    { background: #66d1ff; }