/* Reset and basics */
* {
  margin: 0; padding: 0; box-sizing: border-box;
}
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #E3E3E3;
  color: #1B3C53;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 1rem;
  font-size: 1.25rem;
}
.container {
  max-width: 900px;
  width: 100%;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 1rem 3rem;
}
.hero h1 {
  font-weight: 700;
  font-size: 3.75rem;
  color: #1B3C53;
  margin-bottom: 0.3rem;
}
.hero .subtitle {
  font-weight: 700;
  font-size: 1.625rem;
  color: #456882; /* subtle green accent */
  margin-bottom: 1rem;
}
.hero .intro {
  font-weight: 600;
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
  color: #1B3C53;
  margin-bottom: 2rem;
}

.hero-actions {
  margin-top: 1rem;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  flex-wrap: wrap;
}

.resume-btn {
  display: inline-block;
  background-color: #456882;
  color: #E3E3E3;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid #1B3C53;
}

.resume-btn:hover {
  background-color: transparent;
  color: #1B3C53;
  transform: translateY(-2px);
}
.tasky-img{
  width: 200px;
  position: fixed;
  top: 50%;
  right: 0;
  /* transform: translateY(-50%); */
}

/* Projects Section */
section {
  margin-top: 3rem;
}
h2.section-title {
  font-weight: 600;
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  color: #1B3C53;
  border-bottom: 2px solid #1B3C53;
  padding-bottom: 0.3rem;
}
.projects-list {
  display: grid;
  gap: 1.5rem;
}
.project-card {
  background-color: #456882;
  padding: 1.5rem;
  border-radius: 8px;
  border: 2px solid #1B3C53;
  transition: border-color 0.3s ease;
}

.project-title {
  color: #E3E3E3;
  font-weight: 600;
  font-size: 2rem;
}
.video-wrapper {
  position: relative;
  width: 100%;           /* full width of parent */
  max-width: 800px;      /* optional max width */
  padding-bottom: 56.25%; /* 16:9 aspect ratio (9/16 = 0.5625) */
  height: 0;
  margin: 0 auto;
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.project-description {
  font-weight: 300;
  font-size: 1.35rem;
  color: #E3E3E3;
  margin-bottom: 1rem;
}
.project-contributions {
  margin-bottom: 1rem;
}
.project-contributions ul {
  margin-top: 1rem;
  list-style: none;
  padding-left: 0;
}
.project-contributions li {
  font-weight: 300;
  font-size: 1.125rem;
  color: #E3E3E3;
  margin-bottom: 0.3rem;
  position: relative;
  padding-left: 1rem;
}
.project-contributions li::before {
  content: "•";
  color: #E3E3E3;
  position: absolute;
  left: 0;
  font-weight: bold;
}
.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.project-tech-tag {
  background-color: #E3E3E3;
  color: #1B3C53;
  padding: 0.2rem 0.6rem;
  border-radius: 10px;
  font-weight: 500;
  font-size: 1rem;
}
.project-links {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.project-link {
  color: #E3E3E3;
  background-color: #234C6A;
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 500;
  border: 1px solid #2a2e42;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  transition: border-color 0.3s ease;
}
.project-link:hover {
  border-color: #E3E3E3;
}
.project-link.placeholder {
  color: #6b7280;
  font-style: italic;
  cursor: not-allowed;
}

/* Skills Section */
.skills-list {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.skill-tag {
  background-color: #E3E3E3;
  color: #1B3C53;
  border: 1px solid #1B3C53;
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  font-weight: 500;
  font-size: 1.0625rem;
}

/* Contact Section */
.contact-section {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1rem;
}
.contact-links {
  margin-top: 1rem;
  margin-bottom: 5rem;
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.contact-link {
  color: #E3E3E3;
  border: 1px solid #1B3C53;
  background-color: #234C6A;
  padding: 0.7rem 1.3rem;
  border-radius: 20px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.contact-link:hover {
  border: 1px solid #1B3C53;
  background-color: #E3E3E3;
  color: #1B3C53;
}
.tasky-mobile {
    display: none;
  }

/* Responsive */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.75rem;
  }
  .hero .subtitle {
    font-size: 1.375rem;
  }
  .project-card {
    padding: 1rem;
  }
} 
@media (max-width: 768px) {
  .tasky-img {
    display: none;
  }
  .tasky-mobile {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto; /* keeps the image ratio */
    z-index: 1000; /* on top of other content */
  }
}