/* Fallout Terminal CSS */
/* Header Styles */
.terminal-header {
  background-color: #001100;
  border-bottom: 2px solid #20C20E;
  padding: 1rem 0;
  margin-bottom: 2rem;
  box-shadow: 0 0 10px rgba(32, 194, 14, 0.3);
}

.terminal-header nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.terminal-header nav a {
  color: #20C20E;
  text-decoration: none;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

.terminal-header nav a:hover {
  text-shadow: 0 0 10px #20C20E;
  color: #eeff00;
}

/* Footer Styles */
.terminal-footer {
  background-color: #001100;
  border-top: 2px solid #20C20E;
  padding: 1rem 0;
  margin-top: 2rem;
  text-align: center;
  box-shadow: 0 0 10px rgba(32, 194, 14, 0.3);
}

.terminal-footer .footer-content {
  color: #20C20E;
}

.terminal-footer a {
  color: #20C20E;
  text-decoration: none;
  transition: all 0.3s ease;
}

.terminal-footer a:hover {
  color: #eeff00;
  text-shadow: 0 0 10px #20C20E;
}

body {
  background-color: #001100;
  color: #20C20E;
  font-family: 'Courier New', monospace;
  line-height: 1.4;
  margin: 0;
  padding: 20px;
  overflow-x: hidden;
}

.crt-screen {
  position: relative;
  animation: crt-flicker 0.15s infinite;
  text-shadow: 0 0 5px #20C20E;
}

.scanline {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.1) 10%,
    rgba(255,255,255,0) 100%
  );
  animation: scanline 6s linear infinite;
  pointer-events: none;
}

@keyframes crt-flicker {
  0% { opacity: 0.9; }
  50% { opacity: 1; }
  100% { opacity: 0.9; }
}

@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* Terminal text effects */
.typing {
  border-right: 2px solid #20C20E;
  animation: blink 2s step-end infinite;
}

@keyframes blink {
  50% { border-color: transparent; }
}

/* Blog styling */
.post-list li {
  margin: 1rem 0;
}

.post-list a {
  color: #20C20E;
  text-decoration: none;
}

.post-list a:hover {
  text-decoration: underline;
  text-shadow: 0 0 10px #20C20E;
}

a {
  color: #eeff00;
}

.container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem;
  position: relative;
}

.wrapper {
  flex: 1;
  padding: 1rem;
  position: relative;
}

.wrapper:first-child::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 0;
  height: 100%;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent,
    #20C20E,
    #20C20E,
    transparent
  );
  box-shadow: 0 0 15px #20C20E;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(0, 17, 0, 0.9), rgba(32, 194, 14, 0.1));
  border-radius: 10px;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(32, 194, 14, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(238, 255, 0, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.main-headline {
  font-size: 2.5rem;
  color: #20C20E;
  margin: 1rem 0;
  text-shadow: 0 0 20px rgba(32, 194, 14, 0.5);
  letter-spacing: 2px;
}

.hero-description {
  font-size: 1.2rem;
  color: #eeff00;
  margin: 1.5rem 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stat {
  background: rgba(32, 194, 14, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  border: 1px solid #20C20E;
  color: #eeff00;
}

/* Content Sections */
.content-section {
  margin: 4rem 0;
  padding: 2rem 0;
  position: relative;
}

.section-title {
  font-size: 2rem;
  color: #20C20E;
  margin-bottom: 2rem;
  text-align: center;
  text-shadow: 0 0 15px rgba(32, 194, 14, 0.5);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.highlight-item {
  text-align: center;
  padding: 1rem;
  background: rgba(32, 194, 14, 0.1);
  border: 1px solid #20C20E;
  border-radius: 10px;
}

.highlight-number {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: #eeff00;
  text-shadow: 0 0 10px #eeff00;
}

.highlight-text {
  font-size: 0.9rem;
  color: #20C20E;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.skill-category {
  background: rgba(0, 17, 0, 0.6);
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid #20C20E;
  position: relative;
}

.skill-category h3 {
  color: #eeff00;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.skill-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-badge {
  background: rgba(32, 194, 14, 0.2);
  color: #20C20E;
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  border: 1px solid #20C20E;
  transition: all 0.3s ease;
}

.skill-badge:hover {
  background: rgba(32, 194, 14, 0.4);
  text-shadow: 0 0 5px #20C20E;
  transform: translateY(-2px);
}

.skill-badge.azure {
  background: rgba(0, 120, 215, 0.3);
  border-color: #0078d7;
  color: #0078d7;
}

/* Timeline Section */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, #20C20E, #20C20E, transparent);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: 2rem;
  position: relative;
  margin: 2rem 0;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-left: 2rem;
  padding-right: 0;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 1rem;
  width: 12px;
  height: 12px;
  background: #20C20E;
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 15px rgba(32, 194, 14, 0.7);
  z-index: 2;
}

.timeline-content {
  background: rgba(0, 17, 0, 0.8);
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid #20C20E;
  max-width: 45%;
  position: relative;
}

.timeline-content h3 {
  color: #eeff00;
  margin-bottom: 0.5rem;
}

.timeline-content h4 {
  color: #20C20E;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.timeline-date {
  display: inline-block;
  background: rgba(32, 194, 14, 0.3);
  color: #20C20E;
  padding: 0.2rem 0.5rem;
  border-radius: 10px;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.project-card {
  background: rgba(0, 17, 0, 0.8);
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid #20C20E;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(32, 194, 14, 0.1), transparent);
  transition: left 0.5s ease;
}

.project-card:hover::before {
  left: 100%;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(32, 194, 14, 0.3);
}

.project-card.featured {
  border-color: #eeff00;
  background: rgba(238, 255, 0, 0.05);
}

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

.project-header h3 {
  color: #eeff00;
  margin: 0;
}

.project-status {
  background: rgba(32, 194, 14, 0.3);
  color: #20C20E;
  padding: 0.3rem 0.6rem;
  border-radius: 10px;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.project-tech {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  background: rgba(238, 255, 0, 0.2);
  color: #eeff00;
  padding: 0.3rem 0.6rem;
  border-radius: 10px;
  font-size: 0.7rem;
  border: 1px solid rgba(238, 255, 0, 0.5);
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(32, 194, 14, 0.1);
  border: 1px solid #20C20E;
  border-radius: 10px;
  color: #20C20E;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-link:hover {
  background: rgba(32, 194, 14, 0.2);
  transform: translateX(10px);
  text-shadow: 0 0 10px #20C20E;
}

.contact-icon {
  font-size: 1.5rem;
}

.contact-cta {
  text-align: center;
}

.terminal-command {
  background: #000;
  padding: 1rem;
  border-radius: 5px;
  font-family: 'Courier New', monospace;
  margin-bottom: 1rem;
  border: 1px solid #20C20E;
}

.prompt {
  color: #eeff00;
  margin-right: 0.5rem;
}

.command {
  color: #20C20E;
}

/* Smooth scrolling for navigation */
html {
  scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-headline {
    font-size: 2rem;
  }
  
  .hero-stats {
    gap: 1rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item,
  .timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: 3rem;
    padding-right: 0;
  }
  
  .timeline-dot {
    left: 20px;
    transform: none;
  }
  
  .timeline-content {
    max-width: 100%;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .terminal-header nav ul {
    flex-wrap: wrap;
    gap: 1rem;
  }
}
