/* css/styles.css - Complete main styles file */
@font-face {
  font-family: 'VT323';
  src: url('https://fonts.googleapis.com/css2?family=VT323&display=swap');
  font-display: swap;
}
@font-face {
  font-family: 'PixelOperatorBold';
  src: url('../fonts/PixelOperator-Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'PixelOperator';
  src: url('../fonts/PixelOperator8.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Upheaval';
  src: url('../fonts/upheavtt.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Base styles */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'VT323', 'Courier New', monospace;
  background-color: #000;
  color: #B2AFAF;
  height: 100%;
  overflow: hidden;
}

/* Boot screen styles */
#boot-screen {
  padding: 40px;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

#header-container {
  display: none;
  align-items: center;
  margin-bottom: 40px;
}

#computer-icon {
  margin-right: 20px;
}

#computer-icon img {
  height: 80px;
}

.welcome-text {
  font-size: 20px;
}

.info-section {
  margin-top: 20px;
  font-size: 18px;
  display: none;
}

.info-row {
  display: flex;
  margin-bottom: 8px;
}

.info-label {
  width: 130px;
}

.info-value {
  flex: 1;
}

.enter-prompt {
  position: absolute;
  bottom: 40px;
  font-size: 18px;
  display: none;
  align-items: center;
}

.enter-text {
  margin-right: 8px;
}

.highlight {
  color: white;
  font-weight: bold;
}

#cursor {
  display: inline-block;
  width: 10px;
  height: 20px;
  background-color: #B2AFAF;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.visible {
  display: flex !important;
}

.info-section.visible {
  display: block !important;
}

.enter-prompt.visible {
  display: flex !important;
}

/* Login screen styles */
#login-screen {
  display: none;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #000;
  background-image: url('../imgs/space-background.png');
  background-size: cover;
}

#profile-picture {
  margin-bottom: 15px;
}

#profile-picture img {
  width: 150px;
  height: 150px;
  image-rendering: pixelated;
  border: 3px solid #eee;
  background-color: #eee;
  padding: 10px;
}

#login-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.password-label {
  color: #eee;
  font-size: 20px;
  margin-bottom: 10px;
  text-align: center;
}

#password-container {
  display: flex;
  background-color: #eee;
}

#password-field {
  background-color: #fff;
  padding: 10px;
  width: 200px;
  text-align: left;
  border: none;
  border-right: 2px solid #888888;
}

#password-display {
  color: #000;
  min-width: 200px;
  height: 25px;
  position: relative;
  font-family: monospace;
  font-size: 16px;
}

#confirm-button {
  background-color: #cacaca;
  color: #000;
  padding: 10px 10px;
  font-family: 'PixelOperator', 'VT323', monospace; 
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  border: none;
  border-top: 3px solid #ffffff;
  border-left: 3px solid #ffffff;
  border-right: 3px solid #888888;
  border-bottom: 3px solid #888888;
  box-shadow: 2px 2px 0px #000000;
  position: relative;
  top: 0;
  left: 0;
  transition: all 0.1s;
  border-left: 2px solid #ffffff;
  width: 130px; 
}

#confirm-button:hover {
  background-color: #d5d5d5;
}

#confirm-button:active {
  background-color: #aaaaaa;
  border-right: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  box-shadow: 0px 0px 0px #000000;
  top: 2px;
  left: 2px;
}

/* Main content styles */
#main-content {
  background-color: #000; 
  background-image: url('../imgs/background.png'); 
  background-size: cover; 
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh; 
  width: 100%;
  overflow: auto;
  position: relative;
  color: white;
  padding: 20px;
  box-sizing: border-box;
}

.name-container {
  text-align: center;
  margin-top: 8%;
  margin-bottom: 30px;
  position: relative;
  z-index: 1000;
}

.name-logo {
  max-width: 1000px;
  width: 60%;
  height: auto;
}

.subtitle {
  margin-top: -20px;
  font-size: 40px;
  letter-spacing: 1px;
  color: white;
  font-family: 'PixelOperatorBold', monospace; 
}

.header-title {
  text-align: center;
  margin-top: 5%;
  margin-bottom: 40px;
  position: relative;
  z-index: 1000;
}

.student-title {
  display: inline-block;
  padding: 15px 15px;
  background-color: transparent;
  border: 2px solid #D9D9D9;
  font-size: 40px;
  letter-spacing: 2px;
  color: #D9D9D9;
  font-family: 'PixelOperatorBold', monospace; 
}

/* Navigation */
.bottom-navbar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}

.navbar-container {
  display: flex;
  border: 2px solid #D9D9D9;
  padding: 10px 10px 4px 20px;
  justify-content: center;
  align-items: flex-end;
  gap: 32px;
}

.navbar-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.navbar-icon img {
  width: 65px; 
  height: 55px;
  image-rendering: pixelated; 
}

.navbar-label {
  margin-top: 8px;
  text-align: center;
  font-size: 0.95em;
  background: #686565;
  color: #fff;
  font-family: 'PixelOperatorBold', monospace;
  padding: 2px 2px 1px 7px;
  display: inline-block;
  min-width: 80px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

/* Overlay */
.blur-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 2000;
}

/* Image popup styles */
.image-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000 !important;
  cursor: pointer;
}

.image-popup-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10001 !important;
}

.image-popup-content img {
  max-width: 100%;
  max-height: 100%;
  border: 4px solid #D9D9D9;
  image-rendering: auto;
  z-index: 10002 !important;
}

.image-popup-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #D9D9D9;
  font-size: 30px;
  font-family: 'VT323', monospace;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 5px 10px;
  border: 2px solid #D9D9D9;
  z-index: 10003 !important;
}

.image-popup-close:hover {
  background-color: rgba(217, 217, 217, 0.2);
}

/* Global clickable image utility */
.clickable-image {
  cursor: zoom-in;
}

/* Additional base utility classes */
.highlight {
  color: white;
  font-weight: bold;
}

.cd-player {
  position: fixed;
  bottom: 150px;
  left: 100px; 
  z-index: 1000;
  cursor: pointer;
  text-align: center;
}

.cd-container {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 10px;
}

.cd-disc {
  width: 80px;
  height: 80px;
  image-rendering: pixelated;
  transition: transform 0.1s ease;
}

.cd-disc.spinning {
  animation: spin 2s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cd-label {
  font-family: 'PixelOperatorBold', monospace;
  font-size: 14px;
  color: #D9D9D9;
  text-transform: uppercase;
}

.cd-player:hover .cd-disc {
  transform: scale(1.05);
}

.cd-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.prev-btn, .next-btn {
  background-color: #D9D9D9;
  border: 2px solid #888888;
  color: #000;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-family: 'PixelOperator', monospace;
  font-size: 12px;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #888888;
  border-bottom: 2px solid #888888;
  box-shadow: 1px 1px 0px #000000;
}

.prev-btn:hover, .next-btn:hover {
  background-color: #e5e5e5;
}

.prev-btn:active, .next-btn:active {
  background-color: #aaaaaa;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  box-shadow: 0px 0px 0px #000000;
}

.song-title {
  font-family: 'PixelOperator', monospace;
  font-size: 12px;
  color: #D9D9D9;
  text-align: center;
  margin-top: 5px;
}

/* Profile Header */
.profile-header {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #333;
}

.profile-picture-section {
  text-align: center;
}

.profile-picture-frame {
  width: 120px;
  height: 120px;
  border: 4px solid #D9D9D9;
  background: #000;
  margin-bottom: 10px;
  image-rendering: pixelated;
}

.profile-picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
  filter: contrast(1.2) brightness(0.9);
}

.online-status {
  font-family: 'PixelOperator', monospace;
  font-size: 12px;
  color: #00ff00;
  background: #000;
  padding: 2px 8px;
  border: 1px solid #00ff00;
}

.profile-info {
  flex: 1;
}

.profile-name {
  font-family: 'Upheaval', monospace;
  font-size: 36px;
  margin: 0 0 5px 0;
  color: #D9D9D9;
  line-height: 1;
}

.profile-title {
  font-family: 'PixelOperatorBold', monospace;
  font-size: 16px;
  color: #00ff00;
  margin-bottom: 10px;
}

.profile-tagline {
  font-family: 'PixelOperator', monospace;
  font-size: 14px;
  color: #888;
  font-style: italic;
}

/* Stats Section */
.profile-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 30px;
  padding: 20px;
  border: 2px solid #333;
  background: rgba(217, 217, 217, 0.05);
}

.stat-item {
  text-align: center;
}

.stat-label {
  font-family: 'PixelOperator', monospace;
  font-size: 12px;
  color: #888;
  margin-bottom: 5px;
}

.stat-value {
  font-family: 'PixelOperatorBold', monospace;
  font-size: 16px;
  color: #D9D9D9;
}

/* Section Titles */
.section-title {
  font-family: 'PixelOperatorBold', monospace;
  font-size: 20px;
  color: #00ff00;
  margin: 30px 0 15px 0;
  border-left: 4px solid #00ff00;
  padding-left: 10px;
}

/* About Section */
.about-section {
  margin-bottom: 30px;
}

.about-section p {
  font-family: 'Space Mono', monospace;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 15px;
  color: #D9D9D9;
}

/* Skills Section */
.skills-section {
  margin-bottom: 30px;
}

.skills-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skill-category h3 {
  font-family: 'PixelOperatorBold', monospace;
  font-size: 14px;
  color: #D9D9D9;
  margin-bottom: 10px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  font-family: 'PixelOperator', monospace;
  font-size: 12px;
  background: #333;
  color: #D9D9D9;
  padding: 4px 8px;
  border: 1px solid #555;
  text-transform: uppercase;
}

.skill-tag:hover {
  background: #555;
  border-color: #D9D9D9;
}

/* Current Work Section */
.current-work-section {
  margin-bottom: 30px;
}

.work-item {
  margin-bottom: 15px;
  padding: 10px;
  border-left: 3px solid #00ff00;
  background: rgba(0, 255, 0, 0.05);
}

.work-title {
  font-family: 'PixelOperatorBold', monospace;
  font-size: 14px;
  color: #D9D9D9;
  margin-bottom: 5px;
}

.work-description {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  color: #888;
}

/* Contact Section */
.contact-section {
  margin-bottom: 20px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-item {
  font-family: 'PixelOperator', monospace;
  font-size: 14px;
  color: #D9D9D9;
  padding: 5px 0;
}

/* Contact Window Specific Styles */
.contact-header {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #333;
}

.contact-picture-section {
  text-align: center;
}

.contact-picture-frame {
  width: 120px;
  height: 120px;
  border: 4px solid #D9D9D9;
  background: #000;
  margin-bottom: 10px;
  image-rendering: pixelated;
}

.contact-picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
  filter: contrast(1.2) brightness(0.9);
}

.availability-status {
  font-family: 'PixelOperator', monospace;
  font-size: 12px;
  color: #00ff00;
  background: #000;
  padding: 2px 8px;
  border: 1px solid #00ff00;
}

.contact-info-header {
  flex: 1;
}

.contact-name {
  font-family: 'Upheaval', monospace;
  font-size: 32px;
  margin: 0 0 5px 0;
  color: #D9D9D9;
  line-height: 1;
}

.contact-subtitle {
  font-family: 'PixelOperatorBold', monospace;
  font-size: 16px;
  color: #00ff00;
  margin-bottom: 10px;
}

.contact-tagline {
  font-family: 'PixelOperator', monospace;
  font-size: 14px;
  color: #888;
  font-style: italic;
}

/* Contact Stats */
.contact-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 30px;
  padding: 20px;
  border: 2px solid #333;
  background: rgba(217, 217, 217, 0.05);
}

.contact-stat-item {
  text-align: center;
}

.contact-stat-label {
  font-family: 'PixelOperator', monospace;
  font-size: 12px;
  color: #888;
  margin-bottom: 5px;
}

.contact-stat-value {
  font-family: 'PixelOperatorBold', monospace;
  font-size: 16px;
  color: #D9D9D9;
}

/* Contact Section Titles */
.contact-section-title {
  font-family: 'PixelOperatorBold', monospace;
  font-size: 20px;
  color: #00ff00;
  margin: 30px 0 15px 0;
  border-left: 4px solid #00ff00;
  padding-left: 10px;
}

/* Contact About Section */
.contact-about-section {
  margin-bottom: 30px;
}

.contact-about-section p {
  font-family: 'Space Mono', monospace;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 15px;
  color: #D9D9D9;
}

/* Contact Methods */
.contact-methods-section {
  margin-bottom: 30px;
}

.contact-method {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 15px;
  margin-bottom: 15px;
  border: 2px solid #333;
  background: rgba(217, 217, 217, 0.02);
  transition: all 0.2s ease;
}

.contact-method:hover {
  border-color: #00ff00;
  background: rgba(0, 255, 0, 0.05);
}

.method-icon {
  font-size: 24px;
  width: 40px;
  text-align: center;
}

.method-info {
  flex: 1;
}

.method-title {
  font-family: 'PixelOperatorBold', monospace;
  font-size: 16px;
  color: #D9D9D9;
  margin-bottom: 3px;
}

.method-description {
  font-family: 'PixelOperator', monospace;
  font-size: 12px;
  color: #888;
  margin-bottom: 5px;
}

.method-action {
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  color: #00ff00;
  cursor: pointer;
}

/* Looking For Section */
.looking-for-section {
  margin-bottom: 30px;
}

.opportunity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.opportunity-item {
  padding: 15px;
  border: 2px solid #333;
  background: rgba(217, 217, 217, 0.02);
}

.opportunity-title {
  font-family: 'PixelOperatorBold', monospace;
  font-size: 14px;
  color: #D9D9D9;
  margin-bottom: 8px;
}

.opportunity-description {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: #888;
  line-height: 1.4;
}

/* CTA Section */
.contact-cta-section {
  margin-bottom: 20px;
}

.cta-content p {
  font-family: 'Space Mono', monospace;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #D9D9D9;
}

.cta-button-container {
  text-align: center;
}

.cta-button {
  background-color: #00ff00;
  color: #000;
  padding: 15px 30px;
  font-family: 'PixelOperatorBold', monospace;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  border: none;
  border-top: 3px solid #ffffff;
  border-left: 3px solid #ffffff;
  border-right: 3px solid #008800;
  border-bottom: 3px solid #008800;
  box-shadow: 2px 2px 0px #000000;
  position: relative;
  top: 0;
  left: 0;
  transition: all 0.1s;
}

.cta-button:hover {
  background-color: #00cc00;
}

.cta-button:active {
  background-color: #008800;
  border-right: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  box-shadow: 0px 0px 0px #000000;
  top: 2px;
  left: 2px;
}

.datetime-display {
  position: fixed;
  top: 60px;
  right: 30px;
  z-index: 3000;
  font-family: 'PixelOperatorBold', 'VT323', monospace;
  color: #D9D9D9;
  text-align: right;
  padding: 10px 15px;
  backdrop-filter: blur(5px);
}

.time-display {
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.date-display {
  font-size: 14px;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .datetime-display {
    top: 10px;
    right: 15px;
    padding: 8px 12px;
  }
  
  .time-display {
    font-size: 16px;
  }
  
  .date-display {
    font-size: 12px;
  }
}

.maple-icon {
  position: fixed;
  bottom: 160px;
  right: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  z-index: 1000;
  transition: transform 0.2s ease;
}

.maple-icon:hover {
  transform: scale(1.1);
}

.maple-icon:active {
  transform: scale(0.95);
}

.maple-container {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.maple-image {
  width: 50px;
  height: 50px;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

.maple-label {
  font-family: 'PixelOperatorBold', 'VT323', monospace;
  font-size: 16px;
  color: #D9D9D9;
  margin-top: 8px;
  text-align: center;
  font-weight: bold;
}

.falling-leaves-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9998;
  overflow: hidden;
}


.falling-leaves-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9998;
  overflow: hidden;
}

.falling-leaf {
  position: absolute;
  width: 80px;
  height: 80px;
}

.falling-leaf.small {
  width: 80px;
  height: 80px;
}

.falling-leaf.medium {
  width: 80px;
  height: 80px;
}

.falling-leaf.large {
  width: 80px;
  height: 80px;
}

@keyframes fall {
  0% {
    transform: translateY(0px) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

@keyframes sway {
  0%, 100% {
    transform: translateX(0px);
  }
  25% {
    transform: translateX(-20px);
  }
  75% {
    transform: translateX(20px);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .maple-icon {
    bottom: 120px;
    right: 80px;
  }
  
  .maple-container {
    width: 60px;
    height: 60px;
  }
  
  .maple-image {
    width: 35px;
    height: 35px;
  }
  
  .maple-label {
    font-size: 14px;
  }
}
