@font-face {
  font-family: 'JetBrains Mono';
  src: url('./fonts/webfonts/JetBrainsMono-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('assets/fonts/webfonts/JetBrainsMono-Regular.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* Terminal Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #0a0e17; /* Darker blue background */
  font-family: 'JetBrains Mono', monospace;
  color: #e5e5e5;
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1 {
  margin: 15px 0 10px 0; /* top right bottom left */
}

/* Terminal Window */
.terminal-window {
  background-color: #0d1520; /* Darker blue */
  border-radius: 8px;
  border: 1px solid #30363d;
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 900px;
  margin: 20px auto;
  width: 100%;
  overflow: hidden;
}

.terminal-header {
  background-color: #1a2535; /* Darker blue header */
  padding: 10px 15px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #30363d;
  border-radius: 8px 8px 0 0;
}

.header-button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 8px;
}

.red { background-color: #ff5f56; }
.yellow { background-color: #ffbd2e; }
.green { background-color: #27c93f; }

.terminal-title {
  color: #8b949e;
  font-size: 14px;
  margin-left: 10px;
  flex-grow: 1;
}

.terminal-body {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
}

.prompt-line {
  display: flex;
  margin: 15px 0 5px;
}

.prompt {
  color: #79B8FF;
  margin-right: 10px;
  font-weight: bold;
}

.command {
  color: #79B8FF;
}

/* Content Styles */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 15px 0;
}

.contact-info a {
  color: #79B8FF;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-info a:hover {
  color: #f8a059; /* Soft orange instead of yellow */
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin: 15px 0;
}

.skill-card {
  background-color: #1a2535; /* Darker blue */
  padding: 10px;
  border-radius: 4px;
  text-align: center;
  font-size: 14px;
  border: 1px solid #30363d;
  color: #e5e5e5;
}

.skill-card:hover {
  background-color: #223045; /* Slightly lighter on hover */
  transform: translateY(-4px);
  color: #79B8FF;
}

.timeline {
  margin: 15px 0;
  padding-left: 20px;
  border-left: 2px solid #79B8FF;
}

.timeline-item {
  margin-bottom: 15px;
  display: flex;
}

.timeline-year {
  color: #f8a059; /* Soft orange for timeline years */
  font-weight: bold;
  min-width: 60px;
  margin-right: 15px;
}

.timeline-desc {
  color: #c9d1d9;
}

.cta-section {
  margin: 20px 0;
  text-align: center;
}

.cta-button {
  display: inline-block;
  background-color: #79B8FF;
  color: #0d1117;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #f8a059; /* Soft orange on hover */
  color: #0d1117;
}

/* Terminal Footer */
.terminal-footer {
    max-width: 900px;
    margin: 0 auto 20px;
    width: 100%;
}

.footer-content {
    background-color: #0d1520; /* Darker blue to match terminal */
    border-radius: 8px;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #30363d;
}

.footer-name {
    color: #e5e5e5;
    font-weight: bold;
    font-size: 16px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #79B8FF;
    font-size: 24px;
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #FFB380; /* Soft orange on hover */
}

/* Minimal Navigation Bar */
body {
  background-color: #0a0e17;
  font-family: 'JetBrains Mono', monospace; /* Changed to JetBrains Mono */
  color: #e5e5e5;
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Updated Navigation Bar */
.terminal-nav {
  padding: 2px;
  display: flex;
  justify-content: center; /* Center the navigation */
  gap: 25px;
  background-color: transparent; /* Transparent background */
}

.terminal-nav a {
  color: #79B8FF;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

.terminal-nav a:hover {
  color: #FFB380;
}

.footer-link {
    color: #79B8FF;
    text-decoration: none;
}

.footer-link:hover {
    color: #f8a059; /* Soft orange on hover */
}

.email-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.copy-notification {
    display: none;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1a2535;
    color: #79B8FF;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    border: 1px solid #30363d;
    white-space: nowrap;
    z-index: 100;
}

.copy-notification::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #1a2535 transparent transparent transparent;
}

.terminal-content ul {
  list-style: none;
  padding-left: 0;
  margin: 15px 0;
}

.terminal-content ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
  color: #c9d1d9;
}

.terminal-content ul li:before {
  content: "▶";
  color: #79B8FF;
  position: absolute;
  left: 0;
  top: 0;
}

.terminal-content h3 {
  color: #79B8FF;
  margin: 25px 0 10px 0;
}

.terminal-content h3:first-of-type {
  margin-top: 20px;
}

/* Project Section Redesign */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin: 25px 0;
}

.project-card {
  background-color: #1a2535;
  border-radius: 8px;
  padding: 20px;
  border: 1px solid #30363d;
  transition: border-color 0.3s ease;
  cursor: pointer;
}

.project-card:hover {
  border-color: #f8a059; /* Soft orange highlight on hover */
}

.project-thumbnail {
  width: 100%;
  height: 150px;
  background-color: #223045;
  border-radius: 6px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumbnail-placeholder {
  color: #8b949e;
  font-size: 14px;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.project-title {
  color: #79B8FF;
  font-size: 1.3rem;
  margin: 0;
}

.project-date {
  color: #8b949e;
  font-size: 0.9rem;
}

.project-description {
  color: #c9d1d9;
  margin: 15px 0;
  line-height: 1.5;
}

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

.tag {
  background-color: #2d333b;
  color: #79B8FF;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  border: 1px solid #30363d;
}

/* Inline image styling for about page */
.about-content {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.about-text {
  flex: 1;
}

.about-image-inline {
  flex-shrink: 0;
  width: 200px;
}

.about-image-inline img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid #30363d;
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
  }
  
  .about-image-inline {
    width: 100%;
    max-width: 300px;
    margin: 20px auto 0;
  }
}

/* Blockquote styling */
blockquote {
  margin: 25px 0;
  padding: 15px 20px;
  border-left: 4px solid #79B8FF; /* Blue accent border */
  background-color: #1a2535; /* Dark blue background */
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #c9d1d9;
  position: relative;
}

blockquote:before {
  content: "";
  font-size: 3rem;
  color: #79B8FF;
  opacity: 0.3;
  position: absolute;
  right: 20px;
  top: -10px;
}

blockquote:hover {
  border-left-color: #f8a059; /* Orange border on hover */
  transition: border-color 0.3s ease;
}

/* Fix for footer alignment on mobile */
@media (max-width: 768px) {
  .terminal-window {
    margin: 10px;
  }
  
  .skills-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
  
  .contact-info {
    flex-direction: column;
    gap: 10px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .footer-name {
    font-size: 14px;
  }
  
  .social-links {
    gap: 20px;
  }
  
  .social-links a {
    font-size: 24px;
  }
  
  /* Ensure footer width matches terminal window */
  .terminal-footer {
    margin: 0 10px 20px;
    width: calc(100% - 20px);
  }
}

/* Improved responsive adjustments for projects */
@media (max-width: 992px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* Fixed positioning for copy notification on mobile */
.email-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.copy-notification {
  display: none;
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #1a2535;
  color: #79B8FF;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
  border: 1px solid #30363d;
  white-space: nowrap;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.copy-notification::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #1a2535 transparent transparent transparent;
}

/* Additional fix for mobile touch targets */
.contact-info a {
  color: #79B8FF;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0; /* Better touch target */
}

/* Ensure terminal window and footer have consistent width */
.terminal-window, .terminal-footer {
  max-width: 900px;
  width: calc(100% - 40px); /* Account for body padding */
  margin-left: auto;
  margin-right: auto;
}

/* Mobile-specific width adjustment */
@media (max-width: 768px) {
  .terminal-window, .terminal-footer {
    width: calc(100% - 20px);
    margin: 10px;
  }
}
