/* Additional styles for proyectos.html */

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
  padding: 0.25rem 0;
}

.back-button:hover {
  color: var(--accent);
}

.back-arrow {
  font-weight: bold;
  transition: transform 0.2s ease;
}

.back-button:hover .back-arrow {
  transform: translateX(-4px);
}

.page-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  padding-bottom: 1px;
}

.tab-button {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.75rem 1.25rem;
  font-family: inherit;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  position: relative;
  bottom: -1px;
}

.tab-button:hover {
  color: var(--text);
  background: rgba(88, 166, 255, 0.05);
}

.tab-button.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Tab Content */
.tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

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

/* Responsive tabs */
@media (max-width: 640px) {
  .tabs {
    gap: 0.25rem;
  }
  
  .tab-button {
    padding: 0.6rem 0.9rem;
    font-size: 0.8rem;
  }
  
  .back-button {
    font-size: 0.8rem;
  }
}
