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


body {
  font-family: 'Courier New', Courier, monospace;
  background-color: #fafafa;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navigation Bar */

.main-nav {
  background-color: #1E2A38;
  padding: 15px;
}

.main-nav a:hover {
  color: #94a3b8;
  transition: color 0.2s ease;
}

.main-nav a.active {
  border: 2px solid #94a3b8; /* change this color to whatever you want */
  border-radius: 6px;
  padding: 4px 10px;
}

.nav-container {
  font-family: 'Courier New', Courier, monospace;
  display: flex;
  align-items: center;         /* vertically centers logo + links */
  justify-content: space-between; /* logo on left, menu on right */
  max-width: 1400px;           /* optional: matches your .projects max-width */
  margin: 0 auto;              /* optional: centers the whole nav bar content */
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: rgb(255, 255, 255);
  text-decoration: none;
}

.logo {
  height: 40px;
  width: auto;
  display: block;
}

/* Home Page */

body.home-page {
  font-family: 'Kumbh Sans', sans-serif;
}

/* Project Page */

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

body.projects-page {
  font-family: 'Kumbh Sans', sans-serif;
}

.projects a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.projects__section{
  text-align: center;
  flex: 1;
}

.section__title {
  text-align: center;
  font-size: 2.5rem;
  padding-top: 3rem;
  letter-spacing: 2px;
  padding-bottom: 1rem; /* adds space between title and paragraph */
}

.projects__section p {
  font-size: .9rem;
  max-width: 650px;
  margin: 0.75rem auto 0;
  padding: 0 1.5rem;
  line-height: 1.7;
  color: #4a5568;
}

.projects__card {
  text-decoration: none;
  display: flex;
  flex-direction: column;      /* stacks title above tags */
  justify-content: center;     /* centers the group vertically */
  align-items: center;         /* centers the group horizontally */
  gap: 0.5rem;                 /* spacing between title and tags */
  min-height: 200px;
  width: 100%;
  border-radius: 15px;
  background-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(17, 17, 17, 0.6) 100%), var(--card-bg);
  background-position: center;
  background-size: cover;
  position: relative;
  color: #fff;
  padding: 1rem;
  transition: transform 0.2s ease-in, box-shadow 0.2s ease-in;
}

.projects__card:hover {
  cursor: pointer;
  background-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(17, 17, 17, 0.6) 100%), var(--card-hover-bg);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 30px rgba(10, 25, 40, 0.6);
}

.project__tags { 
  display: flex; 
  gap: 0.5rem; 
  flex-wrap: wrap; 
  justify-content: center;
}

.project__tag {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 0.75rem;
}

/* Individual Project Page */

.project-detail {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  padding: 4rem 4rem 1rem 4rem;
  flex: 1;
}

.project-text{
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  max-width: 50%;
  h1 {
    font-size: 3rem;
    color: #16222F;
    text-decoration: underline;
  }
  h2 {
  font-size: 1rem;
  color: #16222F;
  }  
}

.project-image{
  max-width: 500px;
  height: auto;
  position: relative;
  border-radius: 15px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  justify-content: space-between;
  background-color: #d1fae5;   /* light green background */
  color: #065f46;               /* dark green text */
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  max-width: fit-content;
  min-width: 150px;
}

.status-year {
  margin-left: auto;
  font-weight: 400;
  padding-left: 10px;
}

/* Green dot before the text */
.status-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  background-color: #10b981;    /* green dot */
  border-radius: 50%;
  display: inline-block;
}

.project-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0 4rem;      /* aligns with .project-detail's left padding */
  margin-top: -1rem;    /* pulls tags closer to the paragraph above */
  margin-bottom: 8rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  background-color: #eef2ff;
  color: #3a5bbf;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}


.github-btn {
    display: inline-block;
    background-color: #24292E;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-family: "Inter", sans-serif;
    max-width: fit-content;
        border: 2px solid #24292E;
}

.github-btn:hover {
    background-color: #555;
    transition: 0.2s ease-in;
}

.back-to-projects {
    display: inline-block;
    background-color: #ffffff;
    color: #2e2e2e;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-family: "Inter", sans-serif;
    max-width: fit-content;
    border: 2px solid #2e2e2e;
}

.back-to-projects:hover {
    background-color: #dedede;
    transition: 0.2s ease-in;
}

.button-group {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 4rem; /* matches your .project-detail padding so they align */
    margin-bottom: 10px;
}

/* About Page */

.about {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 4rem;
}



.about__text {
  font-family: 'Kumbh Sans', sans-serif;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  max-width: 50%;
  h1 {
    font-size: 150px;
    color: #16222F;
  }
  h2 {
  font-size: 2.5rem;
  color: #16222F;
  }
}

.about__image{
  max-width: 500px;
  height: auto;
  position: relative;
  border-radius: 15px;
}


.section__title {
  text-align: center;
  font-size: 2.5rem;
  padding-top: 3rem;
  letter-spacing: 2px;
}

/* Contact Page */

.contact {
  flex: 1;
  font-family: 'Kumbh Sans', sans-serif;
  margin-left: 10rem;
  margin-bottom: 3rem;
  h1 {
    margin-top: 3rem;
    justify-content: center;
  }
  p {
    margin-top: 1rem;
    color: #5c6170;
  }
}

.contact-cards {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    flex-wrap: wrap;       /* stacks them on smaller screens */
    margin-top: 2rem;
}

.contact-card {
  background: #ffffff;
  border: 1px solid #e2e6ec;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  padding: 1.75rem;
  max-width: fit-content;
  align-items: center;
}

.contact-card-title {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5c6170;
  margin-bottom: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid #e2e6ec;
  text-decoration: none;
  color: #1a1d23;
  transition: color 0.18s;
}

.contact-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #eef2ff;
  color: #4265bf;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-info { display: flex; flex-direction: column; }

.contact-card-label {
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.18s;
}

.contact-card-sublabel {
  font-size: 0.78rem;
  color: #5c6170;
  margin-top: 1px;
}

.contact-form {
  font-family: 'Inter', sans-serif;
  h1 {
    margin-bottom: 1rem;
    margin-top: -.5rem;
  }
}


.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.contact-form label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1a1d23;
}

.contact-form input,
.contact-form textarea {
    width: 40rem;
    padding: 0.6rem 0.75rem;
    border: 1px solid #e2e6ec;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    outline: none;
}

.submit-btn {
    background-color: #1E2A38;
    color: #fff;
    border: none;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    width: 100%;
}

.submit-btn:hover {
    background-color: #2e3d50;
    transition: background-color 0.2s ease;
}

.contact-item:last-child { border-bottom: none; }
.contact-item:hover .contact-label { color: #4f8ef7; }

/* Footer */

.site-footer {
  font-family: 'Courier New', Courier, monospace;
  background-color: #1E2A38; /* matches your nav bar */
  color: #fff;
  padding: 2rem;
  text-align: center; /* or left, but add padding so it's not flush to the edge */
  margin-top: auto;
}

.site-footer a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.social-links {
  margin-top: 0.75rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}