:root {
  --background: #0a0a0a;
  --text: #e6e6e6;
  --accent: #36454F; 
  --highlight: #4CAF50; 
}

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

body {
  background-color: var(--background);
  color: var(--text);
  font-family: 'VT323', monospace;
  line-height: 1.6;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  overflow-x: hidden;
}

.container {
  width: 100%;
  position: relative;
}


header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
  position: relative;
}

.header-text {
  position: relative;
  z-index: 2;
}

h1 {
  font-size: 5rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px var(--highlight);
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.terminal-effect {
  position: relative;
}

.terminal-effect::after {
  content: "|";
  position: absolute;
  right: -15px;
  top: 0;
  color: var(--highlight);
  animation: blink 1s infinite;
}

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

nav {
  margin-top: 3rem;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.5rem;
  transition: color 0.3s;
  position: relative;
}

nav a:hover {
  color: var(--highlight);
}

nav a::before {
  content: ">";
  margin-right: 5px;
  color: var(--highlight);
  opacity: 0;
  transition: opacity 0.3s;
}

nav a:hover::before {
  opacity: 1;
}


.grid-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(var(--accent) 1px, transparent 1px),
    linear-gradient(90deg, var(--accent) 1px, transparent 1px);
  background-size: 30px 30px;
  background-position: center center;
  opacity: 0.1;
  z-index: 1;
}


section {
  padding: 5rem 0;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--highlight);
  display: inline-block;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.about-text {
  flex: 1;
}

.profile-image {
  flex: 1;
  text-align: center;
}

.profile-image img {
  max-width: 100%;
  border-radius: 8px;
  border: 2px solid var(--accent);
  box-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.skill-tag {
  background-color: var(--accent);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 1.1rem;
}


.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.project-card {
  background-color: var(--accent);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s;
}

.project-card:hover {
  transform: translateY(-10px);
}

.project-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid var(--background);
}

.project-content {
  padding: 1.5rem;
}

.project-content a {
  display: inline-block;
  margin-top: 1rem;
  color: var(--highlight);
  text-decoration: none;
  font-size: 1.1rem;
  position: relative;
  transition: all 0.3s;
}

.project-content a:hover {
  transform: translateX(5px);
}

.project-content a::before {
  content: ">";
  margin-right: 5px;
  color: var(--highlight);
  opacity: 0;
  transition: opacity 0.3s;
}

.project-content a:hover::before {
  opacity: 1;
}

.project-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

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

.project-tag {
  background-color: var(--background);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.9rem;
}


.contact-form {
  max-width: 600px;
}

input, textarea {
  width: 100%;
  background-color: var(--accent);
  border: none;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 4px;
  color: var(--text);
  font-family: 'VT323', monospace;
  font-size: 1.2rem;
}

button {
  background-color: var(--highlight);
  color: var(--background);
  border: none;
  padding: 1rem 2rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'VT323', monospace;
  font-size: 1.2rem;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #3d8b40;
}


footer {
  text-align: center;
  padding: 2rem 0;
  font-size: 1.2rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 1rem 0;
}

.social-icons a {
  color: var(--text);
  font-size: 1.5rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: var(--highlight);
}


.terminal-window {
  background-color: var(--background);
  border: 2px solid var(--accent);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
  position: relative;
}

.terminal-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--accent);
  padding: 0.3rem 1rem;
  font-size: 1rem;
  border-radius: 6px 6px 0 0;
}

.terminal-content {
  margin-top: 1.5rem;
  font-size: 1.2rem;
}

.command {
  color: var(--highlight);
}


@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

section {
  animation: fadeIn 1s ease-out;
}

.glow {
  text-shadow: 0 0 10px var(--highlight), 0 0 20px var(--highlight);
}


.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 2px solid var(--accent);
  position: relative;
  z-index: 100;
}

.logo a {
  font-size: 1.8rem;
  color: var(--text);
  text-decoration: none;
  font-weight: bold;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--highlight);
}

.main-nav a::before {
  content: ">";
  margin-right: 5px;
  color: var(--highlight);
  opacity: 0;
  transition: opacity 0.3s;
}

.main-nav a:hover::before,
.main-nav a.active::before {
  opacity: 1;
}


.about-page {
  padding-top: 2rem;
}

.about-header {
  margin-bottom: 3rem;
}

.mission-statement {
  text-align: center;
  margin: 1rem 0;
}

.mission-statement h3 {
  font-size: 1.8rem;
  color: var(--highlight);
}

.about-intro {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 3rem;
}

.intro-text {
  flex: 1;
}

.intro-text h2 {
  margin-bottom: 1rem;
  font-size: 2.2rem;
}

.highlight {
  color: var(--highlight);
}

.journey-section,
.education-section,
.skills-section,
.languages-section {
  margin-bottom: 3rem;
}

.section-subtitle {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--highlight);
}

.education-list {
  list-style: none;
}

.education-item {
  margin-bottom: 1.5rem;
}

.education-item h4 {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.education-details {
  list-style: none;
  margin-top: 0.5rem;
  margin-left: 1rem;
}

.full-width {
  width: 100%;
}

.skills-container {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
}

.skills-category,
.tools-category {
  flex: 1;
}

.skill-groups,
.tools-groups {
  margin-top: 1rem;
}

.skill-group,
.tools-group {
  margin-bottom: 1rem;
}

.skill-group h4,
.tools-group h4 {
  font-size: 1.2rem;
  color: var(--highlight);
  margin-bottom: 0.3rem;
}

.languages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.language-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.language-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--highlight);
}


.projects-page {
  padding-top: 2rem;
}

.projects-header {
  margin-bottom: 3rem;
}

.featured-project {
  margin-bottom: 3rem;
}

.project-card.featured {
  display: flex;
  background-color: var(--accent);
  border-radius: 8px;
  overflow: hidden;
}

.project-card.featured .project-image {
  flex: 1;
}

.project-card.featured .project-content {
  flex: 1;
  padding: 2rem;
}

.feature-badge {
  display: inline-block;
  background-color: var(--highlight);
  color: var(--background);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.projects-grid.expanded {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.project-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  color: var(--highlight);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s;
}

.project-link:hover {
  transform: translateX(5px);
}

.project-link i {
  margin-right: 0.5rem;
}

.upcoming-list {
  list-style: none;
  margin-top: 1rem;
}

.upcoming-list li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.upcoming-list li::before {
  content: ">>";
  position: absolute;
  left: 0;
  color: var(--highlight);
}

/* Responsive Elements */
@media (max-width: 768px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  nav ul,
  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .main-nav {
    flex-direction: column;
    gap: 1rem;
  }
  
  .about-content,
  .about-intro {
    flex-direction: column;
  }
  
  .projects-grid,
  .projects-grid.expanded {
    grid-template-columns: 1fr;
  }
  
  .project-card.featured {
    flex-direction: column;
  }
  
  .skills-container {
    flex-direction: column;
  }
}
