.section-title {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  color: var(--text-color);
  margin: 0 0 2rem 0;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.work-info {
  background-color: var(--card-bg);
  padding: 1.2rem;
  border-radius: 8px;
  margin-bottom: 0.8rem;
  text-align: left;
  transition: transform 0.2s, background-color 0.2s;
  cursor: pointer;
  position: relative;
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  -webkit-tap-highlight-color: transparent;
}

.work-info:hover {
  transform: translateY(-2px);
  background-color: var(--card-hover);
}

.work-info::after {
  content: '↗';
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.7;
}

.work-info:hover::after {
  opacity: 1;
}

.work-info.coming-soon::after {
  content: 'Coming Soon';
  font-size: 0.8rem;
  font-style: italic;
}

.work-info.coming-soon:hover::after {
  opacity: 0.7;
}

.work-title {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  font-weight: 500;
  margin: 0 0 0.4rem 0;
  color: var(--text-color);
  width: 100%;
}

.work-company {
  font-size: clamp(0.75rem, 2vw, 0.85rem);
  color: var(--text-secondary);
  margin: 0;
  width: 100%;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  width: 100%;
}

.project-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1.2rem;
  border-radius: 8px;
  transition: transform 0.2s, background-color 0.2s;
}

.project-card:hover {
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.15);
}

.project-title {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0 0 0.5rem 0;
  color: #ffffff;
}

.project-description {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.link {
  background-color: rgba(255, 255, 255, 0.1);
  padding: clamp(1rem, 2vw, 1.2rem);
  border-radius: 8px;
  text-decoration: none;
  color: #ffffff;
  transition: transform 0.2s, background-color 0.2s;
  font-size: clamp(0.9rem, 2vw, 1rem);
  text-align: left;
  width: 100%;
}

.link:hover {
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.2);
}

.social-links {
  display: flex;
  gap: clamp(1.2rem, 2.5vw, 2.5rem);
  justify-content: center;
  align-items: center;
  margin-top: 1.2rem;
  flex-wrap: wrap;
  width: 100%;
}

.social-link {
  color: var(--text-secondary);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  transition: all 0.2s ease;
}

.social-link:hover {
  color: var(--text-color);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .work-info {
    padding: 1rem;
    margin-bottom: 0.6rem;
  }

  .work-info::after {
    right: 1rem;
  }

  .section-title {
    margin: 0 0 1.2rem 0;
  }

  .social-links {
    gap: 1.5rem;
    margin-top: 1rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
  }

  .work-info {
    padding: 0.9rem;
  }

  .work-title {
    font-size: 1rem;
  }

  .work-company {
    font-size: 0.8rem;
  }

  .social-links {
    gap: 1.2rem;
    margin-top: 0.8rem;
  }

  .social-link {
    font-size: 1.3rem;
  }
}

@media (max-height: 600px) {
  .section-title {
    margin: 0 0 0.8rem 0;
  }

  .work-info {
    padding: 0.8rem;
    margin-bottom: 0.5rem;
  }

  .social-links {
    margin-top: 0.6rem;
  }
}

/* Touch-friendly tweaks */
@media (hover: none) {
  .work-info:hover {
    transform: none;
  }

  .work-info:active {
    background-color: var(--card-hover);
  }

  .social-link:hover {
    transform: none;
  }

  .social-link:active {
    color: var(--text-color);
  }
}

